Home
last modified time | relevance | path

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

/bionic/tests/
Ddirent_test.cpp41 void ScanEntries(DirEntT** entries, int entry_count, in ScanEntries() argument
44 name_set.insert(entries[i]->d_name); in ScanEntries()
45 name_list.push_back(entries[i]->d_name); in ScanEntries()
46 free(entries[i]); in ScanEntries()
48 free(entries); in ScanEntries()
53 dirent** entries; in TEST() local
54 int entry_count = scandir("/proc/self", &entries, NULL, alphasort); in TEST()
64 ScanEntries(entries, entry_count, name_set, unsorted_name_list); in TEST()
86 dirent** entries; in TEST() local
87 int entry_count = scandir("/proc/self", &entries, NULL, alphasort); in TEST()
[all …]
Dstdlib_test.cpp206 s entries[3]; in TEST() local
207 strcpy(entries[0].name, "charlie"); in TEST()
208 strcpy(entries[1].name, "bravo"); in TEST()
209 strcpy(entries[2].name, "alpha"); in TEST()
211 qsort(entries, 3, sizeof(s), s::comparator); in TEST()
212 ASSERT_STREQ("alpha", entries[0].name); in TEST()
213 ASSERT_STREQ("bravo", entries[1].name); in TEST()
214 ASSERT_STREQ("charlie", entries[2].name); in TEST()
216 qsort(entries, 3, sizeof(s), s::comparator); in TEST()
217 ASSERT_STREQ("alpha", entries[0].name); in TEST()
[all …]
/bionic/tests/libs/
Dbionic_tests_zipalign.cpp41 static bool GetEntries(ZipArchiveHandle handle, std::vector<ZipData>* entries) { in GetEntries() argument
52 entries->push_back(std::make_pair(new ZipEntry(entry), new ZipString(name))); in GetEntries()
58 std::sort(entries->begin(), entries->end(), in GetEntries()
67 std::vector<ZipData> entries; in CreateAlignedZip() local
70 if (!GetEntries(handle, &entries)) { in CreateAlignedZip()
77 for (auto& entry : entries) { in CreateAlignedZip()
/bionic/libc/kernel/uapi/linux/
Dnet_dropmon.h42 __u32 entries; member
47 __u32 entries; member
Dvirtio_net.h122 __virtio32 entries; member
Dkd.h84 struct unipair __user * entries; member
Dkvm.h862 struct kvm_irq_routing_entry entries[0]; member
Dvideodev2.h1184 __u32 entries; member
/bionic/libc/kernel/uapi/linux/netfilter_arp/
Darp_tables.h40 #define ARPT_ENTRY_ITERATE(entries,size,fn,args...) XT_ENTRY_ITERATE(struct arpt_entry, entries, si… argument
121 struct arpt_entry entries[0]; member
/bionic/libc/kernel/uapi/linux/netfilter/
Dx_tables.h114 #define XT_ENTRY_ITERATE_CONTINUE(type,entries,size,n,fn,args...) \ argument
115 …__i < (size); __i += __entry->next_offset, __n ++) { __entry = (void *) (entries) + __i; if(__n < …
117 #define XT_ENTRY_ITERATE(type,entries,size,fn,args...) XT_ENTRY_ITERATE_CONTINUE(type, entries, siz… argument
/bionic/libc/kernel/uapi/linux/netfilter_ipv4/
Dip_tables.h61 #define IPT_ENTRY_ITERATE(entries,size,fn,args...) XT_ENTRY_ITERATE(struct ipt_entry, entries, size… argument
139 struct ipt_entry entries[0]; member
/bionic/libc/kernel/uapi/linux/netfilter_bridge/
Debtables.h51 char __user * entries; member
64 char * entries; member
169 #define EBT_ENTRY_ITERATE(entries,size,fn,args...) \ argument
170 …t ebt_entry * __entry; for(__i = 0; __i < (size);) { __entry = (void *) (entries) + __i; __ret = f…
/bionic/libc/kernel/uapi/linux/netfilter_ipv6/
Dip6_tables.h61 #define IP6T_ENTRY_ITERATE(entries,size,fn,args...) XT_ENTRY_ITERATE(struct ip6t_entry, entries, si… argument
162 struct ip6t_entry entries[0]; member
/bionic/libc/kernel/uapi/asm-x86/asm/
Dkvm.h202 struct kvm_msr_entry entries[0]; member
224 struct kvm_cpuid_entry entries[0]; member
246 struct kvm_cpuid_entry2 entries[0]; member
/bionic/libc/dns/resolv/
Dres_cache.c1228 Entry* entries; member
1378 Entry** pnode = (Entry**) &cache->entries[nn]; in _cache_flush_locked()
1422 cache->entries = calloc(sizeof(*cache->entries), cache->max_entries); in _resolv_cache_create()
1423 if (cache->entries) { in _resolv_cache_create()
1522 Entry** pnode = (Entry**) &cache->entries[ index ]; in _cache_lookup_p()
1885 free(cache_info->cache->entries); in _resolv_delete_cache_for_net()
/bionic/libc/malloc_debug/
DREADME_api.md24 <i>backtrace\_size</i> is set to the maximum number of backtrace entries
/bionic/
DREADME.md147 1. Add entries to SYSCALLS.TXT.