Home
last modified time | relevance | path

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

/external/u-boot/fs/
Dfs_internal.c14 lbaint_t sector, int byte_offset, int byte_len, char *buf) in fs_devread() argument
26 if ((sector + ((byte_offset + byte_len - 1) >> log2blksz)) in fs_devread()
37 debug(" <" LBAFU ", %d, %d>\n", sector, byte_offset, byte_len); in fs_devread()
48 byte_len); in fs_devread()
51 byte_len -= readlen; in fs_devread()
55 if (byte_len == 0) in fs_devread()
59 block_len = byte_len & ~(blk->blksz - 1); in fs_devread()
67 memcpy(buf, p, byte_len); in fs_devread()
77 block_len = byte_len & ~(blk->blksz - 1); in fs_devread()
79 byte_len -= block_len; in fs_devread()
[all …]
/external/webrtc/webrtc/base/
Dbase64.cc142 size_t byte_len = 0, pad_len = 0, pad_start = 0; in GetNextQuantum() local
143 for (; (byte_len < 4) && (*dpos < len); ++*dpos) { in GetNextQuantum()
144 qbuf[byte_len] = DecodeTable[static_cast<unsigned char>(data[*dpos])]; in GetNextQuantum()
145 if ((il == qbuf[byte_len]) || (illegal_pads && (pd == qbuf[byte_len]))) { in GetNextQuantum()
149 } else if (sp == qbuf[byte_len]) { in GetNextQuantum()
153 } else if (pd == qbuf[byte_len]) { in GetNextQuantum()
154 if (byte_len < 2) { in GetNextQuantum()
158 } else if (byte_len + pad_len >= 4) { in GetNextQuantum()
174 ++byte_len; in GetNextQuantum()
177 for (size_t i = byte_len; i < 4; ++i) { in GetNextQuantum()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dsubstr_op.cc78 T byte_len = len; in Compute() local
82 context, UpdatePosAndLenForUtf8(in, &byte_pos, &byte_len), in Compute()
93 StringPiece sub_in = in.substr(byte_pos, byte_len); in Compute()
105 T byte_len = len; in Compute() local
109 context, UpdatePosAndLenForUtf8(in, &byte_pos, &byte_len), in Compute()
120 StringPiece sub_in = in.substr(byte_pos, byte_len); in Compute()
184 T byte_len = len; in Compute() local
188 context, UpdatePosAndLenForUtf8(in, &byte_pos, &byte_len), in Compute()
200 StringPiece sub_in = in.substr(byte_pos, byte_len); in Compute()
250 T byte_len = len; in Compute() local
[all …]
/external/u-boot/fs/reiserfs/
Ddev.c24 int reiserfs_devread(int sector, int byte_offset, int byte_len, char *buf) in reiserfs_devread() argument
27 byte_len, buf); in reiserfs_devread()
Dreiserfs_private.h507 extern int reiserfs_devread (int sector, int byte_offset, int byte_len, char *buf);
/external/u-boot/fs/zfs/
Ddev.c26 int zfs_devread(int sector, int byte_offset, int byte_len, char *buf) in zfs_devread() argument
29 byte_len, buf); in zfs_devread()
/external/u-boot/fs/btrfs/
Ddev.c15 int btrfs_devread(u64 address, int byte_len, void *buf) in btrfs_devread() argument
24 byte_len, buf); in btrfs_devread()
/external/u-boot/fs/ext4/
Ddev.c49 int ext4fs_devread(lbaint_t sector, int byte_offset, int byte_len, in ext4fs_devread() argument
53 byte_len, buffer); in ext4fs_devread()
/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/u-boot/include/
Dzfs_common.h100 int zfs_devread(int sector, int byte_offset, int byte_len, char *buf);
Dext4fs.h154 int ext4fs_devread(lbaint_t sector, int byte_offset, int byte_len, char *buf);
/external/freetype/src/truetype/
Dttgload.c1370 if ( (FT_Int)n_ins > loader->byte_len ) in TT_Process_Composite_Glyph()
1374 n_ins, loader->byte_len )); in TT_Process_Composite_Glyph()
1651 loader->byte_len = glyph_data.length; in load_truetype_glyph()
1665 (FT_UInt*)&loader->byte_len ); in load_truetype_glyph()
1667 if ( loader->byte_len > 0 ) in load_truetype_glyph()
1684 (FT_UInt)loader->byte_len ); in load_truetype_glyph()
1698 if ( loader->byte_len == 0 || loader->n_contours == 0 ) in load_truetype_glyph()
1716 if ( loader->byte_len == 0 || loader->n_contours == 0 ) in load_truetype_glyph()
1823 (FT_UInt)loader->byte_len - 10 ); in load_truetype_glyph()
2079 FT_Int old_byte_len = loader->byte_len; in load_truetype_glyph()
[all …]
/external/freetype/src/cff/
Dcffload.c617 FT_ULong byte_len; in cff_index_get_name() local
627 error = cff_index_access_element( idx, element, &bytes, &byte_len ); in cff_index_get_name()
631 if ( !FT_ALLOC( name, byte_len + 1 ) ) in cff_index_get_name()
633 if ( byte_len ) in cff_index_get_name()
634 FT_MEM_COPY( name, bytes, byte_len ); in cff_index_get_name()
635 name[byte_len] = 0; in cff_index_get_name()
/external/kernel-headers/original/uapi/rdma/
Dvmw_pvrdma-abi.h288 __u32 byte_len; member
Dib_user_verbs.h465 __u32 byte_len; member
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dtensor_jni.cc280 const int byte_len = env->GetStringUTFLength(string_obj) + 1; in PopulateStringDynamicBuffer() local
281 dst_buffer->AddString(chars, byte_len); in PopulateStringDynamicBuffer()
/external/freetype/include/freetype/internal/
Dtttypes.h1738 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