Home
last modified time | relevance | path

Searched refs:nibbles (Results 1 – 21 of 21) sorted by relevance

/external/grpc-grpc/test/core/util/
Dparse_hexstring.cc23 size_t nibbles = 0; in parse_hexstring() local
30 nibbles += (*p >= '0' && *p <= '9') || (*p >= 'a' && *p <= 'f'); in parse_hexstring()
33 GPR_ASSERT((nibbles & 1) == 0); in parse_hexstring()
35 slice = grpc_slice_malloc(nibbles / 2); in parse_hexstring()
38 nibbles = 0; in parse_hexstring()
43 nibbles++; in parse_hexstring()
47 nibbles++; in parse_hexstring()
49 if (nibbles == 2) { in parse_hexstring()
51 nibbles = 0; in parse_hexstring()
/external/libevent/
Devent_tagging.c118 int off = 1, nibbles = 0; \
132 nibbles = off - 2; \
135 data[0] = (data[0] & 0x0f) | ((nibbles & 0x0f) << 4); \
319 int nibbles = 0; \
329 nibbles = ((data[0] & 0xf0) >> 4) + 1; \
330 if (nibbles > maxnibbles || (nibbles >> 1) + 1 > len) \
332 len = (nibbles >> 1) + 1; \
338 while (nibbles > 0) { \
340 if (nibbles & 0x1) \
341 number |= data[nibbles >> 1] & 0x0f; \
[all …]
/external/skia/src/pdf/
DSkPDFConvertType1FontStream.cpp97 int nibbles = 0; in parsePFA() local
106 nibbles++; in parsePFA()
108 *dataLen = (nibbles + 1) / 2; in parsePFA()
/external/skqp/src/pdf/
DSkPDFConvertType1FontStream.cpp97 int nibbles = 0; in parsePFA() local
106 nibbles++; in parsePFA()
108 *dataLen = (nibbles + 1) / 2; in parsePFA()
/external/python/cpython2/Lib/
Dpickle.py1302 nibbles = len(ashex) - njunkchars
1303 if nibbles & 1:
1316 nibbles = len(ashex) - njunkchars
1317 if nibbles & 1:
1319 nibbles += 1
1320 nbits = nibbles * 4
1326 if newnibbles < nibbles:
1327 ashex = "0x" + "0" * (nibbles - newnibbles) + ashex[2:]
/external/brotli/c/enc/
Dcompress_fragment_two_pass.c225 size_t nibbles = 6; in BrotliStoreMetaBlockHeader() local
229 nibbles = 4; in BrotliStoreMetaBlockHeader()
231 nibbles = 5; in BrotliStoreMetaBlockHeader()
233 BrotliWriteBits(2, nibbles - 4, storage_ix, storage); in BrotliStoreMetaBlockHeader()
234 BrotliWriteBits(nibbles * 4, len - 1, storage_ix, storage); in BrotliStoreMetaBlockHeader()
Dcompress_fragment.c331 size_t nibbles = 6; in BrotliStoreMetaBlockHeader() local
335 nibbles = 4; in BrotliStoreMetaBlockHeader()
337 nibbles = 5; in BrotliStoreMetaBlockHeader()
339 BrotliWriteBits(2, nibbles - 4, storage_ix, storage); in BrotliStoreMetaBlockHeader()
340 BrotliWriteBits(nibbles * 4, len - 1, storage_ix, storage); in BrotliStoreMetaBlockHeader()
Dencode.c1411 uint32_t nibbles = 0; in MakeUncompressedStream() local
1415 if (chunk_size > (1u << 16)) nibbles = (chunk_size > (1u << 20)) ? 2 : 1; in MakeUncompressedStream()
1417 (nibbles << 1) | ((chunk_size - 1) << 3) | (1u << (19 + 4 * nibbles)); in MakeUncompressedStream()
1421 if (nibbles == 2) output[result++] = (uint8_t)(bits >> 24); in MakeUncompressedStream()
/external/fonttools/Lib/fontTools/misc/
DpsCharStrings.py239 nibbles = []
250 nibbles.append(realNibblesDict[c])
251 nibbles.append(0xf)
252 if len(nibbles) % 2:
253 nibbles.append(0xf)
255 for i in range(0, len(nibbles), 2):
256 d = d + bytechr(nibbles[i] << 4 | nibbles[i+1])
/external/freetype/src/bdf/
Dbdflib.c1279 unsigned long i, slen, nibbles; in _bdf_parse_glyphs() local
1587 nibbles = glyph->bpr << 1; in _bdf_parse_glyphs()
1590 for ( i = 0; i < nibbles; i++ ) in _bdf_parse_glyphs()
1596 if ( i + 1 < nibbles && ( i & 1 ) ) in _bdf_parse_glyphs()
1602 if ( i < nibbles && in _bdf_parse_glyphs()
1616 if ( i == nibbles && in _bdf_parse_glyphs()
1617 sbitset( hdigits, line[nibbles] ) && in _bdf_parse_glyphs()
/external/flatbuffers/src/
Didl_parser.cpp222 CheckedError Parser::ParseHexNum(int nibbles, uint64_t *val) { in ParseHexNum() argument
223 FLATBUFFERS_ASSERT(nibbles > 0); in ParseHexNum()
224 for (int i = 0; i < nibbles; i++) in ParseHexNum()
226 return Error("escape code must be followed by " + NumToString(nibbles) + in ParseHexNum()
228 std::string target(cursor_, cursor_ + nibbles); in ParseHexNum()
230 cursor_ += nibbles; in ParseHexNum()
/external/u-boot/arch/arm/lib/
Dlib1funcs.S42 @ at the left end of each 4 bit nibbles in the division loop
/external/flatbuffers/include/flatbuffers/
Didl.h702 FLATBUFFERS_CHECKED_ERROR ParseHexNum(int nibbles, uint64_t *val);
/external/python/cpython2/Mac/scripts/
Derrors.txt1718 -73 badDBtSlp bad data mark bit slip nibbles
1721 -70 badBtSlpErr bad addr mark bit slip nibbles
/external/llvm/lib/Target/AVR/
DAVRInstrInfo.td1602 // Swaps the high and low nibbles in a register.
/external/ImageMagick/coders/
Dpng.c1793 nibbles; in Magick_png_read_raw_profile() local
1853 nibbles=length*2; in Magick_png_read_raw_profile()
1855 for (i=0; i < (ssize_t) nibbles; i++) in Magick_png_read_raw_profile()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/
DAVRInstrInfo.td1701 // Swaps the high and low nibbles in a register.
/external/freetype/
DChangeLog.26912 signed nibbles.
/external/jline/src/src/test/resources/jline/example/
Denglish.gz
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA.txt114579 nibbles %26795 nˈɪbəlz
Dinternal_raw_IPA-old.txt136349 nibbles %15115 nˈɪbəlz