Home
last modified time | relevance | path

Searched refs:num_entries (Results 1 – 25 of 58) sorted by relevance

123

/external/grub/stage2/
Dstage2.c239 run_menu (char *menu_entries, char *config_entries, int num_entries, in run_menu() argument
311 print_entries_raw (num_entries, first_entry, menu_entries); in run_menu()
438 && first_entry + entryno + 1 < num_entries) in run_menu()
456 else if (num_entries > 12 + first_entry) in run_menu()
480 if (first_entry + entryno + 1 >= num_entries) in run_menu()
482 first_entry = num_entries - 12; in run_menu()
485 entryno = num_entries - first_entry - 1; in run_menu()
532 num_entries++; in run_menu()
534 else if (num_entries > 0) in run_menu()
544 num_entries--; in run_menu()
[all …]
/external/qemu/
Dpath.c27 unsigned int num_entries; member
57 new->num_entries = 0; in new_entry()
94 root->num_entries++; in add_entry()
97 + sizeof(root->entries[0])*root->num_entries); in add_entry()
98 e = &root->entries[root->num_entries-1]; in add_entry()
114 for (i = 0; i < child->num_entries; i++) in set_parents()
136 for (i = 0; i < cursor->num_entries; i++) in follow_path()
167 if (base->num_entries == 0) { in init_paths()
/external/openssh/
Dhostfile.c63 u_int num_entries; member
310 hostkeys->num_entries + 1, sizeof(*hostkeys->entries)); in load_hostkeys()
311 hostkeys->entries[hostkeys->num_entries].host = xstrdup(host); in load_hostkeys()
312 hostkeys->entries[hostkeys->num_entries].file = xstrdup(path); in load_hostkeys()
313 hostkeys->entries[hostkeys->num_entries].line = linenum; in load_hostkeys()
314 hostkeys->entries[hostkeys->num_entries].key = key; in load_hostkeys()
315 hostkeys->entries[hostkeys->num_entries].marker = marker; in load_hostkeys()
316 hostkeys->num_entries++; in load_hostkeys()
329 for (i = 0; i < hostkeys->num_entries; i++) { in free_hostkeys()
338 hostkeys->num_entries = 0; in free_hostkeys()
[all …]
/external/chromium/net/disk_cache/
Ddisk_cache_perftest.cc44 int TimeWrite(int num_entries, disk_cache::Backend* cache, in TimeWrite() argument
62 for (int i = 0; i < num_entries; i++) { in TimeWrite()
95 int TimeRead(int num_entries, disk_cache::Backend* cache, in TimeRead() argument
115 for (int i = 0; i < num_entries; i++) { in TimeRead()
180 int num_entries = 1000; in TEST_F() local
182 int ret = TimeWrite(num_entries, cache, &entries); in TEST_F()
204 ret = TimeRead(num_entries, cache, entries, true); in TEST_F()
207 ret = TimeRead(num_entries, cache, entries, false); in TEST_F()
Dbackend_impl.cc1082 static_cast<int>(data_->header.num_entries / use_time)); in FirstEviction()
1096 data_->header.lru.sizes[0] * 100 / data_->header.num_entries); in FirstEviction()
1098 data_->header.lru.sizes[1] * 100 / data_->header.num_entries); in FirstEviction()
1100 data_->header.lru.sizes[2] * 100 / data_->header.num_entries); in FirstEviction()
1240 int num_entries = rankings_.SelfCheck(); in SelfCheck() local
1241 if (num_entries < 0) { in SelfCheck()
1242 LOG(ERROR) << "Invalid rankings list, error " << num_entries; in SelfCheck()
1243 return num_entries; in SelfCheck()
1246 if (num_entries != data_->header.num_entries) { in SelfCheck()
1260 int32 not_deleted = data_->header.num_entries - in GetEntryCount()
[all …]
Dblock_files.cc70 header->num_entries++; in CreateMapBlock()
120 header->num_entries--; in DeleteMapBlock()
121 DCHECK(header->num_entries >= 0); in DeleteMapBlock()
299 if (!header->num_entries) { in DeleteBlock()
538 if (!next_header->num_entries) { in RemoveEmptyFile()
580 int num_entries = (file_size - sizeof(*header)) / header->entry_size; in FixBlockFileHeader() local
581 header->max_entries = num_entries; in FixBlockFileHeader()
Ddisk_format.h87 int32 num_entries; // Number of entries currently stored. member
184 int32 num_entries; // Number of stored entries. member
Deviction.cc353 } else if (header_->lru.sizes[Rankings::DELETED] > header_->num_entries / 4 && in TrimCacheV2()
487 int max_length = in_experiment_ ? header_->num_entries * 2 / 5 : in TrimDeleted()
488 header_->num_entries / 4; in TrimDeleted()
527 int data_entries = header_->num_entries - in SelectListByLength()
/external/qemu/android/
Dcharmap.c561 char_map->num_entries = 0; in parse_kcm_file()
575 char_map->num_entries = 0; in parse_kcm_file()
590 if (map_size == char_map->num_entries) { in parse_kcm_file()
597 entries[char_map->num_entries] = key_entry; in parse_kcm_file()
598 char_map->num_entries++; in parse_kcm_file()
622 char_map->num_entries = 0; in parse_kcm_file()
675 for (n = 0; n < cmap->num_entries; n++) { in android_charmap_reverse_map_unicode()
683 for (n = 0; n < cmap->num_entries; n++) { in android_charmap_reverse_map_unicode()
697 for (n = 0; n < cmap->num_entries; n++) { in android_charmap_reverse_map_unicode()
711 for (n = 0; n < cmap->num_entries; n++) { in android_charmap_reverse_map_unicode()
Dcharmap.h33 int num_entries; member
/external/chromium/chrome/browser/
Dglobal_keyboard_shortcuts_mac.h76 const KeyboardShortcutData* GetWindowKeyboardShortcutTable(size_t* num_entries);
78 GetDelayedWindowKeyboardShortcutTable(size_t* num_entries);
80 GetBrowserKeyboardShortcutTable(size_t* num_entries);
Dglobal_keyboard_shortcuts_mac.mm23 size_t* num_entries) {
56 *num_entries = arraysize(keyboard_shortcuts);
62 size_t* num_entries) {
69 *num_entries = arraysize(keyboard_shortcuts);
75 size_t* num_entries) {
86 *num_entries = arraysize(keyboard_shortcuts);
/external/chromium/chrome/browser/visitedlink/
Dvisitedlink_master.cc550 int32 num_entries, used_count; in InitFromFile() local
551 if (!ReadFileHeader(file_closer.get(), &num_entries, &used_count, salt_)) in InitFromFile()
555 if (!CreateURLTable(num_entries, false)) in InitFromFile()
558 hash_table_, num_entries * sizeof(Fingerprint))) { in InitFromFile()
602 int32* num_entries, in ReadFileHeader() argument
635 memcpy(num_entries, &header[kFileHeaderLengthOffset], sizeof(*num_entries)); in ReadFileHeader()
636 if (*num_entries * sizeof(Fingerprint) + kFileHeaderSize != file_size) in ReadFileHeader()
641 if (*used_count > *num_entries) in ReadFileHeader()
668 bool VisitedLinkMaster::CreateURLTable(int32 num_entries, bool init_to_empty) { in CreateURLTable() argument
670 uint32 alloc_size = num_entries * sizeof(Fingerprint) + sizeof(SharedHeader); in CreateURLTable()
[all …]
Dvisitedlink_master.h180 bool ReadFileHeader(FILE* hfile, int32* num_entries, int32* used_count,
236 bool CreateURLTable(int32 num_entries, bool init_to_empty);
247 bool BeginReplaceURLTable(int32 num_entries);
/external/protobuf/src/google/protobuf/compiler/
Dzip_writer.cc140 uint16 num_entries = files_.size(); in WriteDirectory() local
145 for (int i = 0; i < num_entries; ++i) { in WriteDirectory()
177 WriteShort(&output, num_entries); // central directory entries (this disk) in WriteDirectory()
178 WriteShort(&output, num_entries); // central directory entries (total) in WriteDirectory()
/external/qemu/hw/
Dsmbios.c56 uint16_t *num_entries = (uint16_t *)smbios_entries; in smbios_check_collision() local
61 if (!num_entries) in smbios_check_collision()
64 p = (char *)(num_entries + 1); in smbios_check_collision()
66 for (i = 0; i < *num_entries; i++) { in smbios_check_collision()
/external/llvm/test/CodeGen/ARM/
Dlsr-unfolded-offset.ll19 define i32 @partition_overlap_check(%struct.partition_entry* nocapture %part, i32 %num_entries) nou…
21 %cmp79 = icmp sgt i32 %num_entries, 0
65 %exitcond = icmp eq i32 %inc, %num_entries
70 %exitcond83 = icmp eq i32 %inc71, %num_entries
/external/openfst/src/include/fst/extensions/far/
Dsttable.h145 int64 num_entries; in STTableReader() local
147 ReadType(*streams_[i], &num_entries); in STTableReader()
149 (num_entries + 1), ios_base::end); in STTableReader()
150 positions_[i].resize(num_entries); in STTableReader()
151 for (size_t j = 0; (j < num_entries) && (*streams_[i]); ++j) in STTableReader()
/external/iptables/include/linux/netfilter_ipv4/
Dip_tables.h156 unsigned int num_entries; member
172 unsigned int num_entries; member
/external/iproute2/include/linux/netfilter_ipv4/
Dip_tables.h156 unsigned int num_entries; member
172 unsigned int num_entries; member
/external/llvm/unittests/ExecutionEngine/JIT/
DOProfileJITEventListenerTest.cpp81 size_t num_entries, in write_debug_line_info() argument
91 NativeDebugList NativeInfo(info, info + num_entries); in write_debug_line_info()
/external/iptables/include/linux/netfilter_ipv6/
Dip6_tables.h213 unsigned int num_entries; member
229 unsigned int num_entries; member
/external/kernel-headers/original/linux/netfilter_arp/
Darp_tables.h152 unsigned int num_entries; member
169 unsigned int num_entries; member
/external/kernel-headers/original/linux/netfilter_ipv4/
Dip_tables.h162 unsigned int num_entries; member
179 unsigned int num_entries; member
/external/kernel-headers/original/linux/netfilter_ipv6/
Dip6_tables.h175 unsigned int num_entries; member
192 unsigned int num_entries; member

123