Home
last modified time | relevance | path

Searched refs:entry_len (Results 1 – 12 of 12) sorted by relevance

/third_party/selinux/libselinux/src/
Dregex.c115 uint32_t entry_len; in regex_load_mmap() local
118 rc = next_entry(&entry_len, mmap_area, sizeof(uint32_t)); in regex_load_mmap()
122 if (entry_len && do_load_precompregex) { in regex_load_mmap()
150 rc = next_entry(NULL, mmap_area, entry_len); in regex_load_mmap()
325 uint32_t entry_len; in regex_load_mmap() local
328 rc = next_entry(&entry_len, mmap_area, sizeof(uint32_t)); in regex_load_mmap()
329 if (rc < 0 || !entry_len) in regex_load_mmap()
338 rc = next_entry(NULL, mmap_area, entry_len); in regex_load_mmap()
347 if (rc < 0 || info_len != entry_len) in regex_load_mmap()
350 rc = next_entry(&entry_len, mmap_area, sizeof(uint32_t)); in regex_load_mmap()
[all …]
Dlabel_file.c125 uint32_t entry_len, stem_map_len, regex_array_len; in load_mmap() local
170 rc = next_entry(&entry_len, mmap_area, sizeof(uint32_t)); in load_mmap()
175 if (len != entry_len) in load_mmap()
179 str_buf = malloc(entry_len + 1); in load_mmap()
183 rc = next_entry(str_buf, mmap_area, entry_len); in load_mmap()
189 str_buf[entry_len] = '\0'; in load_mmap()
202 rc = next_entry(&entry_len, mmap_area, in load_mmap()
208 if (len != entry_len) { in load_mmap()
213 next_entry(NULL, mmap_area, entry_len); in load_mmap()
218 str_buf = malloc(entry_len + 1); in load_mmap()
[all …]
Dlabel_support.c69 int len, rc, items, entry_len = 0; in read_spec_entries() local
103 rc = read_spec_entry(spec_entry, &buf_p, &entry_len, errbuf); in read_spec_entries()
108 if (entry_len) in read_spec_entries()
/third_party/ntfs-3g/libntfs-3g/
Dattrlist.c114 int entry_len, entry_offset, err; in ntfs_attrlist_entry_add() local
138 entry_len = (sizeof(ATTR_LIST_ENTRY) + sizeof(ntfschar) * in ntfs_attrlist_entry_add()
140 new_al = ntfs_calloc(ni->attr_list_size + entry_len); in ntfs_attrlist_entry_add()
187 memset(ale, 0, entry_len); in ntfs_attrlist_entry_add()
190 ale->length = cpu_to_le16(entry_len); in ntfs_attrlist_entry_add()
209 if (ntfs_attr_truncate(na, ni->attr_list_size + entry_len)) { in ntfs_attrlist_entry_add()
217 memcpy(new_al + entry_offset + entry_len, ni->attr_list + in ntfs_attrlist_entry_add()
223 ni->attr_list_size = ni->attr_list_size + entry_len; in ntfs_attrlist_entry_add()
/third_party/curl/lib/
Dhostip.c266 size_t entry_len; in fetch_addr() local
271 entry_len = strlen(entry_id); in fetch_addr()
274 dns = Curl_hash_pick(data->dns.hostcache, entry_id, entry_len + 1); in fetch_addr()
279 entry_len = strlen(entry_id); in fetch_addr()
282 dns = Curl_hash_pick(data->dns.hostcache, entry_id, entry_len + 1); in fetch_addr()
295 Curl_hash_delete(data->dns.hostcache, entry_id, entry_len + 1); in fetch_addr()
422 size_t entry_len; in Curl_cache_addr() local
443 entry_len = strlen(entry_id); in Curl_cache_addr()
452 dns2 = Curl_hash_add(data->dns.hostcache, entry_id, entry_len + 1, in Curl_cache_addr()
991 size_t entry_len; in Curl_loadhostpairs() local
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/cid/
Dcidgload.c108 FT_UInt entry_len = (FT_UInt)( cid->fd_bytes + cid->gd_bytes ); in cid_load_glyph() local
113 glyph_index * entry_len ) || in cid_load_glyph()
114 FT_FRAME_ENTER( 2 * entry_len ) ) in cid_load_glyph()
Dcidload.c778 FT_ULong entry_len; in cid_face_open() local
854 entry_len = (FT_ULong)( cid->fd_bytes + cid->gd_bytes ); in cid_face_open()
923 if ( entry_len && in cid_face_open()
925 ( binary_length - cid->cidmap_offset ) / entry_len ) in cid_face_open()
/third_party/skia/third_party/externals/freetype/src/cid/
Dcidgload.c104 FT_UInt entry_len = cid->fd_bytes + cid->gd_bytes; in cid_load_glyph() local
109 glyph_index * entry_len ) || in cid_load_glyph()
110 FT_FRAME_ENTER( 2 * entry_len ) ) in cid_load_glyph()
/third_party/freetype/src/cid/
Dcidgload.c107 FT_UInt entry_len = (FT_UInt)( cid->fd_bytes + cid->gd_bytes ); in cid_load_glyph() local
112 glyph_index * entry_len ) || in cid_load_glyph()
113 FT_FRAME_ENTER( 2 * entry_len ) ) in cid_load_glyph()
Dcidload.c778 FT_ULong entry_len; in cid_face_open() local
854 entry_len = (FT_ULong)( cid->fd_bytes + cid->gd_bytes ); in cid_face_open()
923 if ( entry_len && in cid_face_open()
925 ( binary_length - cid->cidmap_offset ) / entry_len ) in cid_face_open()
/third_party/mbedtls/library/
Dx509_crl.c234 size_t entry_len; in x509_get_entries() local
240 if( ( ret = mbedtls_asn1_get_tag( p, end, &entry_len, in x509_get_entries()
249 end = *p + entry_len; in x509_get_entries()
/third_party/flatbuffers/src/
Didl_gen_text.cpp67 const auto entry_len = text.length(); in PrintScalar() local
85 text.resize(entry_len); // restore in PrintScalar()