Home
last modified time | relevance | path

Searched refs:byte_len (Results 1 – 17 of 17) sorted by relevance

/external/rust/crates/idna/src/
Duts46_mapping_table.rs1902 Mapped(StringTableSlice { byte_start_lo: 0, byte_start_hi: 0, byte_len: 1 }),
1903 Mapped(StringTableSlice { byte_start_lo: 1, byte_start_hi: 0, byte_len: 1 }),
1904 Mapped(StringTableSlice { byte_start_lo: 2, byte_start_hi: 0, byte_len: 1 }),
1905 Mapped(StringTableSlice { byte_start_lo: 3, byte_start_hi: 0, byte_len: 1 }),
1906 Mapped(StringTableSlice { byte_start_lo: 4, byte_start_hi: 0, byte_len: 1 }),
1907 Mapped(StringTableSlice { byte_start_lo: 5, byte_start_hi: 0, byte_len: 1 }),
1908 Mapped(StringTableSlice { byte_start_lo: 6, byte_start_hi: 0, byte_len: 1 }),
1909 Mapped(StringTableSlice { byte_start_lo: 7, byte_start_hi: 0, byte_len: 1 }),
1910 Mapped(StringTableSlice { byte_start_lo: 8, byte_start_hi: 0, byte_len: 1 }),
1911 Mapped(StringTableSlice { byte_start_lo: 9, byte_start_hi: 0, byte_len: 1 }),
[all …]
Duts46.rs29 byte_len: u8, field
36 let len = slice.byte_len as usize; in decode_slice()
/external/webrtc/rtc_base/third_party/base64/
Dbase64.cc143 size_t byte_len = 0, pad_len = 0, pad_start = 0; in GetNextQuantum() local
144 for (; (byte_len < 4) && (*dpos < len); ++*dpos) { in GetNextQuantum()
145 qbuf[byte_len] = DecodeTable[static_cast<unsigned char>(data[*dpos])]; in GetNextQuantum()
146 if ((il == qbuf[byte_len]) || (illegal_pads && (pd == qbuf[byte_len]))) { in GetNextQuantum()
150 } else if (sp == qbuf[byte_len]) { in GetNextQuantum()
154 } else if (pd == qbuf[byte_len]) { in GetNextQuantum()
155 if (byte_len < 2) { in GetNextQuantum()
159 } else if (byte_len + pad_len >= 4) { in GetNextQuantum()
175 ++byte_len; in GetNextQuantum()
178 for (size_t i = byte_len; i < 4; ++i) { in GetNextQuantum()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dsubstr_op.cc83 T byte_len = len; in Compute() local
87 context, UpdatePosAndLenForUtf8(in, &byte_pos, &byte_len), in Compute()
98 StringPiece sub_in = in.substr(byte_pos, byte_len); in Compute()
110 T byte_len = len; in Compute() local
114 context, UpdatePosAndLenForUtf8(in, &byte_pos, &byte_len), in Compute()
125 StringPiece sub_in = in.substr(byte_pos, byte_len); in Compute()
180 T byte_len = len; in Compute() local
184 context, UpdatePosAndLenForUtf8(in, &byte_pos, &byte_len), in Compute()
195 StringPiece sub_in = in.substr(byte_pos, byte_len); in Compute()
237 T byte_len = len; in Compute() local
[all …]
/external/python/asn1crypto/asn1crypto/
Dkeys.py877 byte_len = math.log(self['private_key_algorithm']['parameters']['q'].native, 2) / 8
879 return 'sha1' if byte_len <= 20 else 'sha2'
1195 byte_len = math.log(parameters['q'].native, 2) / 8
1197 return 'sha1' if byte_len <= 20 else 'sha2'
Dx509.py391 byte_len = len(byte_string)
394 if byte_len in set([32, 16]):
396 if byte_len > 16:
398 elif byte_len in set([8, 4]):
400 if byte_len > 4:
/external/libtextclassifier/native/utils/
Dwordpiece_tokenizer.cc31 int byte_len = byte_end - byte_start; in Lookup() local
32 absl::string_view substr(token.data() + byte_start, byte_len); in Lookup()
/external/freetype/src/truetype/
Dttgload.c1394 if ( (FT_Int)n_ins > loader->byte_len ) in TT_Process_Composite_Glyph()
1398 n_ins, loader->byte_len )); in TT_Process_Composite_Glyph()
1675 loader->byte_len = glyph_data.length; in load_truetype_glyph()
1689 (FT_UInt*)&loader->byte_len ); in load_truetype_glyph()
1691 if ( loader->byte_len > 0 ) in load_truetype_glyph()
1708 (FT_UInt)loader->byte_len ); in load_truetype_glyph()
1722 if ( loader->byte_len == 0 || loader->n_contours == 0 ) in load_truetype_glyph()
1740 if ( loader->byte_len == 0 || loader->n_contours == 0 ) in load_truetype_glyph()
1847 (FT_UInt)loader->byte_len - 10 ); in load_truetype_glyph()
2103 FT_Int old_byte_len = loader->byte_len; in load_truetype_glyph()
[all …]
/external/kernel-headers/original/uapi/rdma/
Dvmw_pvrdma-abi.h295 __u32 byte_len; member
Dib_user_verbs.h476 __u32 byte_len; member
/external/freetype/src/cff/
Dcffload.c623 FT_ULong byte_len; in cff_index_get_name() local
633 error = cff_index_access_element( idx, element, &bytes, &byte_len ); in cff_index_get_name()
637 if ( !FT_ALLOC( name, byte_len + 1 ) ) in cff_index_get_name()
639 if ( byte_len ) in cff_index_get_name()
640 FT_MEM_COPY( name, bytes, byte_len ); in cff_index_get_name()
641 name[byte_len] = 0; in cff_index_get_name()
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dtensor_jni.cc296 const int byte_len = env->GetStringUTFLength(str) + 1; in AddStringDynamicBuffer() local
297 dst_buffer->AddString(chars, byte_len); in AddStringDynamicBuffer()
/external/freetype/include/freetype/internal/
Dtttypes.h1737 FT_Int byte_len; member
/external/libpcap/
Dpcap-rdmasniff.c152 pkth.len = wc.byte_len; in rdmasniff_read()
/external/scapy/scapy/contrib/
Dhttp2.py1108 byte_len = bit_len // 8
1112 byte_len += 1
1118 while i < byte_len:
/external/freetype/
DChangeLog.271640 * src/cff/cffload.c (cff_index_get_name): Check `byte_len'.
DChangeLog.246140 (load_truetype_glyph): Save `loader->byte_len' before recursive