Home
last modified time | relevance | path

Searched refs:byte_pos (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dsubstr_op.cc82 T byte_pos = pos; in Compute() local
87 context, UpdatePosAndLenForUtf8(in, &byte_pos, &byte_len), in Compute()
92 byte_pos = AdjustedPosIndex(byte_pos, in); in Compute()
94 context, FastBoundsCheck(byte_pos, in.size() + 1), in Compute()
98 StringPiece sub_in = in.substr(byte_pos, byte_len); in Compute()
109 T byte_pos = pos; in Compute() local
114 context, UpdatePosAndLenForUtf8(in, &byte_pos, &byte_len), in Compute()
119 byte_pos = AdjustedPosIndex(byte_pos, in); in Compute()
121 context, FastBoundsCheck(byte_pos, in.size() + 1), in Compute()
125 StringPiece sub_in = in.substr(byte_pos, byte_len); in Compute()
[all …]
/external/pdfium/core/fxcrt/
Dcfx_bitstream.cpp32 uint32_t byte_pos = m_BitPos / 8; in GetBits() local
34 uint8_t current_byte = data[byte_pos]; in GetBits()
53 ++byte_pos; in GetBits()
57 result |= data[byte_pos++] << bit_left; in GetBits()
60 result |= data[byte_pos] >> (8 - bit_left); in GetBits()
/external/pdfium/core/fxcodec/fax/
Dfaxmodule.cpp55 const int byte_pos = start_pos / 8; in FindBit() local
56 uint8_t data = (data_buf[byte_pos] ^ bit_xor) & (0xff >> bit_offset); in FindBit()
58 return byte_pos * 8 + OneLeadPos[data]; in FindBit()
64 int byte_pos = start_pos / 8; in FindBit() local
68 if (max_byte >= kBulkReadSize && byte_pos < max_byte - kBulkReadSize) { in FindBit()
74 while (byte_pos < max_byte - kBulkReadSize && in FindBit()
75 memcmp(data_buf + byte_pos, skip_block, kBulkReadSize) == 0) { in FindBit()
76 byte_pos += kBulkReadSize; in FindBit()
80 while (byte_pos < max_byte) { in FindBit()
81 uint8_t data = data_buf[byte_pos] ^ bit_xor; in FindBit()
[all …]
/external/pdfium/core/fpdfapi/font/
Dcpdf_tounicodemap.cpp99 int byte_pos = 0; in StringToWideString() local
106 byte_pos++; in StringToWideString()
107 if (byte_pos == 4) { in StringToWideString()
109 byte_pos = 0; in StringToWideString()
Dcpdf_cidfont.cpp724 uint32_t byte_pos = cid * 2; in GlyphFromCharCode() local
725 if (byte_pos + 2 > m_pStreamAcc->GetSize()) in GlyphFromCharCode()
728 const uint8_t* pdata = m_pStreamAcc->GetData() + byte_pos; in GlyphFromCharCode()
/external/llvm-project/lldb/examples/summaries/cocoa/
DCFBitVector.py109 byte_pos = byte_index(i)
111 if byte_pos != cur_byte_pos:
112 cur_byte_pos = byte_pos
/external/xz-embedded/linux/lib/xz/
Dxz_dec_bcj.c207 uint32_t byte_pos; in bcj_ia64() local
228 byte_pos = bit_pos >> 3; in bcj_ia64()
232 instr |= (uint64_t)(buf[i + j + byte_pos]) in bcj_ia64()
254 buf[i + j + byte_pos] in bcj_ia64()
/external/pdfium/core/fxcodec/flate/
Dflatemodule.cpp199 int byte_pos = src_bit_pos_ / 8; in Decode() local
205 code = (src_span_[byte_pos++] & ((1 << (8 - bit_pos)) - 1)) << bit_left; in Decode()
208 code |= src_span_[byte_pos] >> (8 - bit_left); in Decode()
211 code |= src_span_[byte_pos++] << bit_left; in Decode()
213 code |= src_span_[byte_pos] >> (8 - bit_left); in Decode()
/external/crosvm/devices/src/virtio/input/
Dmod.rs210 let byte_pos = (idx / 8) as usize; in from_bits() localVariable
212 if byte_pos < ret.len() { in from_bits()
213 ret.bitmap[byte_pos] |= bit_byte; in from_bits()
/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dtensor_bundle_test.cc917 int byte_pos = 0; in TEST() local
921 byte_pos = dist(rng); in TEST()
923 byte_pos = pos_lhs; in TEST()
925 data[byte_pos] = ~data[byte_pos]; in TEST()
/external/brotli/c/enc/
Dcompress_fragment.c348 size_t byte_pos = pos >> 3; in UpdateBits() local
354 uint32_t unchanged_bits = array[byte_pos] & mask; in UpdateBits()
356 array[byte_pos] = in UpdateBits()
/external/pdfium/core/fxge/dib/
Dcfx_dibitmap.cpp154 int byte_pos = 0; in Clear() local
156 pBuffer[byte_pos++] = b; in Clear()
157 pBuffer[byte_pos++] = g; in Clear()
158 pBuffer[byte_pos++] = r; in Clear()
/external/toybox/toys/pending/
Dxzcat.c618 uint32_t byte_pos; in bcj_ia64() local
639 byte_pos = bit_pos >> 3; in bcj_ia64()
643 instr |= (uint64_t)(buf[i + j + byte_pos]) in bcj_ia64()
665 buf[i + j + byte_pos] in bcj_ia64()