Home
last modified time | relevance | path

Searched full:heads (Results 1 – 25 of 629) sorted by relevance

12345678910>>...26

/external/python/pycparser/examples/c_files/
Dhash.c27 Node** heads; member
58 // Allocate space for the array of list heads in HashCreate()
60 if (((*hash)->heads = malloc(table_size*sizeof(*((*hash)->heads)))) == NULL) in HashCreate()
68 (*hash)->heads[i] = NULL; in HashCreate()
80 Node* temp = hash->heads[index]; in HashInsert()
84 if ((hash->heads[index] = malloc(sizeof(Node))) == NULL) in HashInsert()
87 hash->heads[index]->entry = malloc(sizeof(Entry)); in HashInsert()
88 hash->heads[index]->entry->key = malloc(strlen(entry->key)+1); in HashInsert()
89 hash->heads[index]->entry->value = malloc(strlen(entry->value)+1); in HashInsert()
90 strcpy(hash->heads[index]->entry->key, entry->key); in HashInsert()
[all …]
/external/mtools/
Dlba.c30 if(dev->heads && dev->sectors && dev->tracks) in compute_lba_geom_from_tot_sectors()
47 dev->heads = 1; in compute_lba_geom_from_tot_sectors()
52 if(dev->heads == 1) in compute_lba_geom_from_tot_sectors()
56 dev->heads = 2; in compute_lba_geom_from_tot_sectors()
62 dev->heads = 2; in compute_lba_geom_from_tot_sectors()
65 (uint16_t)(dev->tot_sectors / dev->heads / dev->tracks); in compute_lba_geom_from_tot_sectors()
69 /* Heads or sectors not known => fill them in both... */ in compute_lba_geom_from_tot_sectors()
70 if(!dev->sectors || !dev->heads) { in compute_lba_geom_from_tot_sectors()
74 dev->heads = 16; in compute_lba_geom_from_tot_sectors()
76 dev->heads = 32; in compute_lba_geom_from_tot_sectors()
[all …]
Dmpartition.c40 uint16_t heads, uint16_t sectors) in set_offset() argument
45 if(! heads || !sectors) in set_offset()
51 head = offset % heads; in set_offset()
52 offset = offset / heads; in set_offset()
72 uint8_t heads, sectors; in setBeginEnd() local
76 "Too many heads for partition: %d\n", in setBeginEnd()
80 heads=(uint8_t) iheads; in setBeginEnd()
89 set_offset(&partTable->start, begin, heads, sectors); in setBeginEnd()
90 set_offset(&partTable->end, end-1, heads, sectors); in setBeginEnd()
139 } else if (end < sectors * heads * 1024u) in setBeginEnd()
[all …]
Ddevices.c87 orig_dev->heads != dev->heads || in compare_geom()
184 #define HEADS(floppy) floppy.fg.heads macro
291 #define HEADS(floppy) (floppy).dp_heads macro
418 #define HEADS(floppy) floppy.fdchar.fdc_nhead macro
532 #define HEADS(floppy) floppy.dkbuf.nhead macro
762 #define HEADS(floppy) floppy.head macro
832 uint16_t heads=dev->heads; in get_block_geom() local
856 if(!heads) in get_block_geom()
857 heads = geom.heads; in get_block_geom()
861 sect_per_track = heads * sectors; in get_block_geom()
[all …]
Dold_dos.c31 old_dos[i].heads == size) in getOldDosBySize()
48 unsigned int heads, in getOldDosByParams() argument
56 heads == old_dos[i].heads && in getOldDosByParams()
70 dev->heads = params->heads; in setDeviceFromOldDos()
Dmpartition.136 \&\fR\&\f(CWmpartition\fR \fR\&\f(CW-c\fR [\fR\&\f(CW-s\fR \fIsectors\fR] [\fR\&\f(CW-h\fR \fIheads
76 \&\fR\&\f(CWh\ \fIheads\fR\&\f(CW\fR\
77 The number of heads of the partition (which is also the number of heads
79 sectors and heads) is figured out from neighboring partition table
95 sectors, heads and cylinders. If these are not given either, it gives
164 capacity which can be represented as CHS (63 sectors, 255 heads and
Dconfig.c139 unsigned short heads; member
174 { "HEADS", OFFS(heads), T_UINT16 },
486 devices[cur_dev].heads || in finish_drive_clause()
489 !devices[cur_dev].heads || in finish_drive_clause()
491 syntax("incomplete geometry: either indicate all of track/heads/sectors or none of them", 0); in finish_drive_clause()
595 if(!dev->heads) in set_def_format()
596 dev->heads = default_formats[i].heads; in set_def_format()
628 devices[cur_dev].heads = 0; in set_cmd_line_image()
675 int heads, sectors, tracks; in parse_old_device_line() local
687 &tracks,&heads,&sectors, &offset); in parse_old_device_line()
[all …]
/external/crosvm/docs/book/src/devices/
Dindex.md39 [device side]: https://chromium.googlesource.com/crosvm/crosvm/+/refs/heads/main/devices/src/virtio…
41 [vmm side]: https://chromium.googlesource.com/crosvm/crosvm/+/refs/heads/main/devices/src/virtio/vh…
44 [`cmos/rtc`]: https://chromium.googlesource.com/crosvm/crosvm/+/refs/heads/main/devices/src/cmos.rs
45 [`console`]: https://chromium.googlesource.com/crosvm/crosvm/+/refs/heads/main/devices/src/virtio/c…
46 [`fs`]: https://chromium.googlesource.com/crosvm/crosvm/+/refs/heads/main/devices/src/virtio/fs/
47 [`gpu`]: https://chromium.googlesource.com/crosvm/crosvm/+/refs/heads/main/devices/src/virtio/gpu/
48 [`i8042`]: https://chromium.googlesource.com/crosvm/crosvm/+/refs/heads/main/devices/src/i8042.rs
49 [`input`]: https://chromium.googlesource.com/crosvm/crosvm/+/refs/heads/main/devices/src/virtio/inp…
50 [`iommu`]: https://chromium.googlesource.com/crosvm/crosvm/+/refs/heads/main/devices/src/virtio/iom…
52 [`p9`]: https://chromium.googlesource.com/crosvm/crosvm/+/refs/heads/main/devices/src/virtio/p9.rs
[all …]
/external/crosvm/infra/config/generated/
Dcr-buildbucket.cfg26 cipd_version: "refs/heads/main"
39 cipd_version: "refs/heads/main"
52 cipd_version: "refs/heads/main"
69 cipd_version: "refs/heads/main"
89 cipd_version: "refs/heads/main"
109 cipd_version: "refs/heads/main"
129 cipd_version: "refs/heads/main"
149 cipd_version: "refs/heads/main"
169 cipd_version: "refs/heads/main"
182 cipd_version: "refs/heads/main"
[all …]
/external/libyuv/files/infra/config/
Dcr-buildbucket.cfg27 cipd_version: "refs/heads/main"
58 cipd_version: "refs/heads/main"
89 cipd_version: "refs/heads/main"
118 cipd_version: "refs/heads/main"
146 cipd_version: "refs/heads/main"
174 cipd_version: "refs/heads/main"
204 cipd_version: "refs/heads/main"
235 cipd_version: "refs/heads/main"
266 cipd_version: "refs/heads/main"
297 cipd_version: "refs/heads/main"
[all …]
/external/openscreen/docs/
Ddiscovery.md11 [DNS-SD public interfaces](https://chromium.googlesource.com/openscreen/+/refs/heads/master/discove…
13 [public discovery layer](https://chromium.googlesource.com/openscreen/+/refs/heads/master/discovery…
24 [public](https://chromium.googlesource.com/openscreen/+/refs/heads/master/discovery/public)
26 [common](https://chromium.googlesource.com/openscreen/+/refs/heads/master/discovery/common)
28 [DNS-SD](https://chromium.googlesource.com/openscreen/+/refs/heads/master/discovery/dnssd)
30 [mDNS](https://chromium.googlesource.com/openscreen/+/refs/heads/master/discovery/mdns)
38 [openscreen::discovery::Config struct](https://chromium.googlesource.com/openscreen/+/refs/heads/ma…
43 [openscreen::discovery::ReportingClient](https://chromium.googlesource.com/openscreen/+/refs/heads/…
51 …nsSdServicePublisher](https://chromium.googlesource.com/openscreen/+/refs/heads/master/discovery/p…
55 …:DnsSdServiceWatcher](https://chromium.googlesource.com/openscreen/+/refs/heads/master/discovery/p…
[all …]
/external/angle/infra/config/generated/
Dcr-buildbucket.cfg23 cipd_version: "refs/heads/main"
72 cipd_version: "refs/heads/main"
121 cipd_version: "refs/heads/main"
170 cipd_version: "refs/heads/main"
219 cipd_version: "refs/heads/main"
268 cipd_version: "refs/heads/main"
317 cipd_version: "refs/heads/main"
367 cipd_version: "refs/heads/main"
418 cipd_version: "refs/heads/main"
469 cipd_version: "refs/heads/main"
[all …]
/external/webrtc/infra/config/
Dcr-buildbucket.cfg26 cipd_version: "refs/heads/main"
76 cipd_version: "refs/heads/main"
126 cipd_version: "refs/heads/main"
176 cipd_version: "refs/heads/main"
226 cipd_version: "refs/heads/main"
276 cipd_version: "refs/heads/main"
326 cipd_version: "refs/heads/main"
377 cipd_version: "refs/heads/main"
428 cipd_version: "refs/heads/main"
479 cipd_version: "refs/heads/main"
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DAutomaton.h78 /// Heads of each tracked path. These are not ordered.
79 std::deque<PathSegment *> Heads; variable
94 // Iterate over all existing heads. We will mutate the Heads deque during in transition()
96 unsigned NumHeads = Heads.size(); in transition()
98 PathSegment *Head = Heads[I]; in transition()
107 Heads.push_back(makePathSegment(PI->ToDfaState, Head)); in transition()
109 // Now we've iterated over all the initial heads and added new ones, in transition()
110 // dispose of the original heads. in transition()
111 Heads.erase(Heads.begin(), std::next(Heads.begin(), NumHeads)); in transition()
126 Heads.clear(); in reset()
[all …]
/external/perfetto/infra/git_mirror_bot/
Dmirror_aosp_to_ghub_repo.py17 Mirrors all the branches (refs/heads/foo) from Gerrit to Github as-is, taking
22 (refs/heads/cl_number). This use case was dropped as we moved away from Travis.
73 '+refs/heads/*:refs/remotes/upstream/heads/*')
87 # 1. Keep track of all branch heads refnames and sha1s from the (github)
89 # 2. Keep track of all upstream (AOSP) branch heads into |future_heads|. Note:
91 # stored in a hidden ref (refs/changes) which is NOT under refs/heads.
97 FILTER_REGEX = r'(heads/master|heads/releases/.*|tags/v\d+\.\d+)$'
/external/angle/doc/
DExtensionSupport.md204 | [GL_ANGLE_base_vertex_base_instance](https://chromium.googlesource.com/angle/angle/+/refs/heads/m…
205 …ance_shader_builtin](https://chromium.googlesource.com/angle/angle/+/refs/heads/main/extensions/AN…
206 | [GL_CHROMIUM_bind_generates_resource](https://chromium.googlesource.com/angle/angle/+/refs/heads/…
207 | [GL_CHROMIUM_bind_uniform_location](https://chromium.googlesource.com/angle/angle/+/refs/heads/ma…
208 | [GL_ANGLE_client_arrays](https://chromium.googlesource.com/angle/angle/+/refs/heads/main/extensio…
209 | [GL_ANGLE_clip_cull_distance](https://chromium.googlesource.com/angle/angle/+/refs/heads/main/ext…
210 | [GL_CHROMIUM_color_buffer_float_rgb](https://chromium.googlesource.com/angle/angle/+/refs/heads/m…
211 | [GL_CHROMIUM_color_buffer_float_rgba](https://chromium.googlesource.com/angle/angle/+/refs/heads/…
212 | [GL_ANGLE_compressed_texture_etc](https://chromium.googlesource.com/angle/angle/+/refs/heads/main…
213 | [GL_CHROMIUM_copy_compressed_texture](https://chromium.googlesource.com/angle/angle/+/refs/heads/…
[all …]
/external/mtools/scripts/
DamuFormat.sh57 cylinders=245 heads=2 cluster_size=8
62 cylinders=489 heads=4 cluster_size=4
67 cylinders=245 heads=2 cluster_size=8
73 cylinders=2327 heads=16 cluster_size=64
78 cylinders=489 heads=8 cluster_size=4
95 mpartition -c -t$cylinders -h$heads -s32 -b32 "$drive"
/external/dokka/core/src/main/kotlin/Utilities/
DSamplesPathsToURLs.kt21 …" to "https://android.googlesource.com/platform/development/+archive/refs/heads/master/samples/Api…
22 …" to "https://android.googlesource.com/platform/development/+archive/refs/heads/master/samples/Not…
23 … to "https://android.googlesource.com/platform/external/icu/+archive/refs/heads/master/android_icu…
24 … "https://android.googlesource.com/platform/frameworks/base/+archive/refs/heads/master/core/java/a…
25 … "https://android.googlesource.com/platform/frameworks/base/+archive/refs/heads/master/tests/appwi…
/external/toolchain-utils/pgo_tools/
Dmerge_profdata_and_upload.py358 heads = set()
368 heads.add(llvm_metadata.head_sha)
377 assert heads, "Didn't fetch anything?"
380 extra = " (HEADs found: %s)" % sorted(heads)
385 if len(heads) != 1:
387 "%d LLVM HEADs were found, which is more than one. You probably "
388 "want a consistent set of HEADs for a profile. If you know you "
391 "reported HEAD." % len(heads)
393 (llvm_hash,) = heads
395 if llvm_hash not in heads:
/external/mesa3d/src/util/
Ddag.c67 list_addtail(&child->link, &dag->heads); in dag_remove_edge()
74 * Removes a DAG head from the graph, and moves any new dag heads into the
75 * heads list.
97 list_addtail(&node->link, &dag->heads); in dag_init_node()
135 list_for_each_entry(struct dag_node, node, &dag->heads, link) { in dag_traverse_bottom_up()
150 list_inithead(&dag->heads); in dag_create()
/external/cronet/third_party/brotli/enc/
Dcompound_dictionary.c34 uint16_t* heads = NULL; in CreatePreparedDictionaryWithParams() local
108 heads = (uint16_t*)(&slot_offsets[num_slots]); in CreatePreparedDictionaryWithParams()
109 items = (uint32_t*)(&heads[num_buckets]); in CreatePreparedDictionaryWithParams()
133 heads[i] = 0xFFFF; in CreatePreparedDictionaryWithParams()
136 heads[i] = (uint16_t)cursor; in CreatePreparedDictionaryWithParams()
193 uint16_t* heads = (uint16_t*)(&slot_offsets[1u << dictionary->slot_bits]); in AttachPreparedDictionary() local
194 uint32_t* items = (uint32_t*)(&heads[1u << dictionary->bucket_bits]); in AttachPreparedDictionary()
/external/perfetto/infra/luci/generated/
Dcr-buildbucket.cfg29 cipd_version: "refs/heads/master"
46 cipd_version: "refs/heads/master"
63 cipd_version: "refs/heads/master"
84 cipd_version: "refs/heads/master"
/external/curl/tests/data/
Dtest302926 -D log/heads%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER -…
31 <file name="log/heads%TESTNUMBER">
/external/newfs_msdos/
Dnewfs_msdos.852 .Op Fl h Ar heads
152 .It Fl h Ar heads
153 Number of drive heads.
184 When the geometry is not available, it is assumed to be 63 sectors, 255 heads.
204 uint16_t bpbHeads; /* [-h] drive heads */
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dexponential_biased_test.cc125 int heads = 0; in TEST() local
127 ++heads; in TEST()
129 printf("Heads = %d (%f%%)\n", heads, 100.0 * heads / 10000000); in TEST()

12345678910>>...26