Home
last modified time | relevance | path

Searched refs:hexdigit (Results 1 – 25 of 25) sorted by relevance

/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/
H A Dwrite-properties.c59 static const char hexdigit[] = "0123456789abcdef"; in conv_to_java() local
100 hexdigit[(uc >> 12) & 0x0f], hexdigit[(uc >> 8) & 0x0f], in conv_to_java()
101 hexdigit[(uc >> 4) & 0x0f], hexdigit[uc & 0x0f]); in conv_to_java()
110 hexdigit[(uc1 >> 12) & 0x0f], hexdigit[(uc1 >> 8) & 0x0f], in conv_to_java()
111 hexdigit[(uc1 >> 4) & 0x0f], hexdigit[uc1 & 0x0f]); in conv_to_java()
114 hexdigit[(uc2 >> 12) & 0x0f], hexdigit[(uc2 >> 8) & 0x0f], in conv_to_java()
115 hexdigit[(uc2 >> 4) & 0x0f], hexdigit[uc2 & 0x0f]); in conv_to_java()
129 static const char hexdigit[] = "0123456789abcdef"; in write_escaped_string() local
185 hexdigit[(uc >> 12) & 0x0f], hexdigit[(uc >> 8) & 0x0f], in write_escaped_string()
186 hexdigit[(uc >> 4) & 0x0f], hexdigit[uc & 0x0f]); in write_escaped_string()
[all …]
H A Dwrite-csharp.c133 static const char hexdigit[] = "0123456789abcdef"; in construct_class_name() local
149 *b++ = hexdigit[(uc >> 28) & 0x0f]; in construct_class_name()
150 *b++ = hexdigit[(uc >> 24) & 0x0f]; in construct_class_name()
151 *b++ = hexdigit[(uc >> 20) & 0x0f]; in construct_class_name()
152 *b++ = hexdigit[(uc >> 16) & 0x0f]; in construct_class_name()
153 *b++ = hexdigit[(uc >> 12) & 0x0f]; in construct_class_name()
154 *b++ = hexdigit[(uc >> 8) & 0x0f]; in construct_class_name()
155 *b++ = hexdigit[(uc >> 4) & 0x0f]; in construct_class_name()
156 *b++ = hexdigit[uc & 0x0f]; in construct_class_name()
163 *b++ = hexdigit[(uc >> 12) & 0x0f]; in construct_class_name()
[all …]
H A Dmsgunfmt.cs127 String hexdigit = "0123456789abcdef"; in ConstructClassName()
140 b.Append(hexdigit[(uc >> 28) & 0x0f]); in ConstructClassName()
141 b.Append(hexdigit[(uc >> 24) & 0x0f]); in ConstructClassName()
142 b.Append(hexdigit[(uc >> 20) & 0x0f]); in ConstructClassName()
143 b.Append(hexdigit[(uc >> 16) & 0x0f]); in ConstructClassName()
144 b.Append(hexdigit[(uc >> 12) & 0x0f]); in ConstructClassName()
145 b.Append(hexdigit[(uc >> 8) & 0x0f]); in ConstructClassName()
146 b.Append(hexdigit[(uc >> 4) & 0x0f]); in ConstructClassName()
147 b.Append(hexdigit[uc & 0x0f]); in ConstructClassName()
154 b.Append(hexdigit[(uc >> 12) & 0x0f]); in ConstructClassName()
[all …]
H A Dwrite-tcl.c57 static const char hexdigit[] = "0123456789abcdef"; in write_tcl_string() local
95 hexdigit[(uc >> 12) & 0x0f], hexdigit[(uc >> 8) & 0x0f], in write_tcl_string()
96 hexdigit[(uc >> 4) & 0x0f], hexdigit[uc & 0x0f]); in write_tcl_string()
H A Dwrite-java.c338 static const char hexdigit[] = "0123456789abcdef"; in write_java_string() local
361 hexdigit[(uc >> 12) & 0x0f], hexdigit[(uc >> 8) & 0x0f], in write_java_string()
362 hexdigit[(uc >> 4) & 0x0f], hexdigit[uc & 0x0f]); in write_java_string()
370 hexdigit[(uc1 >> 12) & 0x0f], hexdigit[(uc1 >> 8) & 0x0f], in write_java_string()
371 hexdigit[(uc1 >> 4) & 0x0f], hexdigit[uc1 & 0x0f]); in write_java_string()
373 hexdigit[(uc2 >> 12) & 0x0f], hexdigit[(uc2 >> 8) & 0x0f], in write_java_string()
374 hexdigit[(uc2 >> 4) & 0x0f], hexdigit[uc2 & 0x0f]); in write_java_string()
H A DChangeLog.01625 * write-java.c (write_java_string): Drop hexdigit[] size.
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/intl-csharp/
H A Dintl.cs129 String hexdigit = "0123456789abcdef"; in ConstructClassName()
142 b.Append(hexdigit[(uc >> 28) & 0x0f]); in ConstructClassName()
143 b.Append(hexdigit[(uc >> 24) & 0x0f]); in ConstructClassName()
144 b.Append(hexdigit[(uc >> 20) & 0x0f]); in ConstructClassName()
145 b.Append(hexdigit[(uc >> 16) & 0x0f]); in ConstructClassName()
146 b.Append(hexdigit[(uc >> 12) & 0x0f]); in ConstructClassName()
147 b.Append(hexdigit[(uc >> 8) & 0x0f]); in ConstructClassName()
148 b.Append(hexdigit[(uc >> 4) & 0x0f]); in ConstructClassName()
149 b.Append(hexdigit[uc & 0x0f]); in ConstructClassName()
156 b.Append(hexdigit[(uc >> 12) & 0x0f]); in ConstructClassName()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DYAML.cpp63 OS << hexdigit(Byte >> 4) << hexdigit(Byte & 0xf); in writeAsHex()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCFragment.cpp387 OS << hexdigit((Contents[i] >> 4) & 0xF) << hexdigit(Contents[i] & 0xF); in dump()
411 OS << hexdigit((Contents[i] >> 4) & 0xF) << hexdigit(Contents[i] & 0xF); in dump()
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-diff/
H A DClangDiff.cpp114 static char hexdigit(int N) { return N &= 0xf, N + (N < 10 ? '0' : 'a' - 10); } in hexdigit() function
336 OS << R"(\u00)" << hexdigit(C >> 4) << hexdigit(C); in printJsonString()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DStringExtras.cpp70 Out << '\\' << hexdigit(C >> 4) << hexdigit(C & 0x0F); in printEscapedString()
H A DNativeFormatting.cpp155 *--CurPtr = hexdigit(x, !Upper); in write_hex()
H A Draw_ostream.cpp188 *this << hexdigit((c >> 4 & 0xF)); in write_escaped()
189 *this << hexdigit((c >> 0) & 0xF); in write_escaped()
/netbsd-src/external/bsd/ipf/dist/
H A DBNF73 hexstring = hexdigit [ hexstring ] .
79 hexdigit = digit | "a" | "b" | "c" | "d" | "e" | "f" .
/netbsd-src/external/bsd/ipf/dist/tools/
H A DBNF.ipf72 hexstring = hexdigit [ hexstring ] .
78 hexdigit = digit | "a" | "b" | "c" | "d" | "e" | "f" .
/netbsd-src/crypto/dist/ipsec-tools/src/libipsec/
H A Dpolicy_token.l73 hexdigit [0-9A-Fa-f]
/netbsd-src/crypto/dist/ipsec-tools/src/setkey/
H A Dtoken.l96 hexdigit [0-9A-Fa-f]
/netbsd-src/external/bsd/nvi/dist/common/
H A Dkey.c244 static const char hexdigit[] = "0123456789abcdef"; in v_key_name() local
306 sp->cname[2] = hexdigit[(ch & 0xf0) >> 4]; in v_key_name()
307 sp->cname[3] = hexdigit[ ch & 0x0f ]; in v_key_name()
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dcftoken.l114 hexdigit [0-9A-Fa-f]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DStringExtras.h36 inline char hexdigit(unsigned X, bool LowerCase = false) {
152 *--BufPtr = hexdigit(Mod, LowerCase);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DTextDiagnostic.cpp140 expandedCP.insert(expandedCP.begin()+3, llvm::hexdigit(c%16)); in printableTextForNextCharacter()
144 expandedCP.insert(expandedCP.begin()+3, llvm::hexdigit(0)); in printableTextForNextCharacter()
156 expandedByte[1] = llvm::hexdigit(byte / 16); in printableTextForNextCharacter()
157 expandedByte[2] = llvm::hexdigit(byte % 16); in printableTextForNextCharacter()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugFrame.cpp927 OS << ' ' << hexdigit(Byte >> 4) << hexdigit(Byte & 0xf); in dump()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DAsmWriter.cpp3442 Out << '\\' << hexdigit(Name[0] >> 4) << hexdigit(Name[0] & 0x0F); in printMetadataIdentifier()
3449 Out << '\\' << hexdigit(C >> 4) << hexdigit(C & 0x0F); in printMetadataIdentifier()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp1816 outs() << hexdigit((Contents[Addr + I] >> 4) & 0xF, true) in printSectionContents()
1817 << hexdigit(Contents[Addr + I] & 0xF, true); in printSectionContents()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/
H A DObject.cpp201 *(It + I) = hexdigit(Mod, false); in utohexstr()