Searched refs:hex (Results 1 - 24 of 24) sorted by relevance

/haiku/headers/cpp/
H A Dstream.h43 extern char* hex(long, int=0);
44 extern char* hex(int, int=0);
45 extern char* hex(unsigned long, int=0);
46 extern char* hex(unsigned int, int=0);
H A Diostream.h277 { i.setf(ios::dec, ios::dec|ios::hex|ios::oct); return i; }
278 inline ios& hex(ios& i) function
279 { i.setf(ios::hex, ios::dec|ios::hex|ios::oct); return i; }
281 { i.setf(ios::oct, ios::dec|ios::hex|ios::oct); return i; }
H A Dstreambuf.h154 dec=_IO_DEC, oct=_IO_OCT, hex=_IO_HEX, enumerator in enum:ios::__anon71
164 basefield=dec+oct+hex,
/haiku/build/scripts/
H A Dgenerate_kernel_fonts.sh4 # Convert the font to hex bytes that can be added to the corresponding .cpp files
13 xxd -g 2 -c 16 kdlbig > kdlbig.hex
16 xxd -g 1 -c 12 kdlsmall > kdlsmall.hex
/haiku/src/add-ons/kernel/file_systems/websearchfs/
H A Dstring_utils.c28 const char *hex = "0123456789ABCDEF"; local
41 /* use hex value */
43 *d++ = hex[(*(unsigned char *)p >> 4) & 0x0F];
44 *d++ = hex[(*(unsigned char *)p) & 0x0F];
84 const char *hex = "0123456789abcdef"; local
115 strchr(hex, tolower(p[3])) &&
116 strchr(hex, tolower(p[4]))) {
118 char c = (strchr(hex, tolower(p[3])) - hex) << 4 |
119 (strchr(hex, tolowe
[all...]
/haiku/src/bin/pcmcia-cs/
H A Dlex_cis.l58 hex 0x[0-9a-fA-F]+
145 {hex} return lex_number(yytext);
/haiku/src/system/libroot/posix/crypt/
H A Dcrypt.cpp71 fromHex(const char* hex, uint8* outBuffer, size_t outBufferLength)
76 if (hex[0] == '\0' || outBufferLength == 0)
79 while (hex[i] != '\0' && hex[i + 1] != '\0') {
80 const uint8 char1 = hex[i];
81 const uint8 char2 = hex[i + 1];
/haiku/src/bin/network/ftpd/
H A Dmd5hl.c28 static const char hex[]="0123456789abcdef"; local
36 buf[i+i] = hex[digest[i] >> 4];
37 buf[i+i+1] = hex[digest[i] & 0x0f];
/haiku/src/libs/stdc++/legacy/
H A Dstream.cc113 char* hex(long i, int len /* = 0 */) function
117 char* hex(int i, int len /* = 0 */) function
121 char* hex(unsigned long i, int len /* = 0 */) function
125 char* hex(unsigned int i, int len /* = 0 */) function
H A Diomanip.cc45 b = ios::hex; break;
H A Dioextend.cc36 | ios::dec | ios::oct | ios::hex | ios::showbase | ios::showpoint
H A Diostream.cc313 else if ((stream.flags() & ios::basefield) == ios::hex)
516 // Note that we use separate code for decimal, octal, and hex,
526 else if ((stream.flags() & ios::basefield) == ios::hex) { // Hex
608 if (n < 0 && (flags() & (ios::oct|ios::hex)) == 0)
635 if (n < 0 && (flags() & (ios::oct|ios::hex)) == 0)
662 if (n < 0 && (flags() & (ios::oct|ios::hex)) == 0)
/haiku/src/bin/package/
H A Dcommand_checksum.cpp52 BString hex; local
54 char* buffer = hex.LockBuffer(length * 2);
63 hex.UnlockBuffer();
64 return hex;
/haiku/src/apps/diskprobe/
H A DFindWindow.cpp180 // filter out invalid (for hex mode) characters
279 // convert hex-text to real data
336 char* hex; local
338 if (_GetHexFromData(data, dataSize, &hex, &hexSize) < B_OK)
341 Insert(hex, hexSize);
342 free(hex);
356 char* hex = (char*)malloc(inSize * 3 + 1); local
357 if (hex == NULL)
360 char* out = hex;
366 *_hex = hex;
420 char* hex; local
458 char* hex; local
[all...]
/haiku/src/tools/cppunit/
H A DTestUtils.cpp13 using std::hex;
189 cout << endl << "DecodeResult() -- " "0x" << hex << result << " (" << dec << result << ") == " << str << endl;
/haiku/src/bin/debug/strace/
H A DTypeHandler.cpp245 char hex[20]; local
246 snprintf(hex, sizeof(hex), "0x%x", value);
247 rendered += hex;
/haiku/src/kits/storage/sniffer/
H A DParser.cpp29 char hexToChar(char hex);
400 charStr = ""; // Reinit, since we actually have a hex string
426 throw new Err(std::string("Sniffer pattern error: incomplete hex code"), pos);
440 throw new Err(std::string("Sniffer pattern error: bad hex literal"), pos); // Same as R5
582 throw new Err(std::string("Sniffer pattern error: incomplete escaped hex code"), pos);
645 throw new Err(std::string("Sniffer pattern error: incomplete escaped hex code"), pos);
816 hexToChar(char hex) { argument
817 if ('0' <= hex && hex <= '9')
818 return hex
[all...]
/haiku/src/kits/debugger/source_language/c_family/
H A DCLanguageTokenizer.cpp446 throw ParseException("expected hex digit", _CurrentPos());
/haiku/src/add-ons/input_server/filters/shortcut_catcher/
H A DKeyInfos.cpp191 sstream << std::hex << keyCode;
/haiku/src/apps/devices/
H A DDevicePCI.cpp49 ss.flags(std::ios::hex | std::ios::showbase);
H A DDeviceUSB.cpp44 ss.flags(std::ios::hex | std::ios::showbase);
/haiku/src/add-ons/print/transports/ipp/
H A DIppContent.cpp87 os << "Tag: " << hex << (int)tag << '\n';
962 os << "version: " << hex << version << '\n';
963 os << "operation_id: " << hex << operation_id << '\n';
964 os << "request_id: " << hex << request_id << '\n';
/haiku/src/kits/network/libnetapi/
H A DNetworkAddress.cpp42 from_hex(char hex) argument
44 if (isdigit(hex))
45 return hex - '0';
47 return tolower(hex) - 'a' + 10;
/haiku/src/bin/
H A Dsetmime.cpp46 "# [ -miniIcon <256 hex bytes> ]\n"
47 "# [ -largeIcon <1024 hex bytes> ]\n"
48 "# [ -vectorIcon <icon hex bytes> ] ... )\n"
413 cout << "0x" << hex << type;
747 cout << hex << setfill('0') << setw(2) << (uint16) iconData[i];

Completed in 133 milliseconds