/third_party/musl/src/exit/ |
H A D | atexit.c | 20 } builtin, *head; variable 30 for (; head; head=head->next, slot=COUNT) while(slot-->0) { in __funcs_on_exit() 31 func = head->f[slot]; in __funcs_on_exit() 32 arg = head->a[slot]; in __funcs_on_exit() 47 /* Defer initialization of head so it can be in BSS */ in __cxa_atexit() 48 if (!head) head = &builtin; in __cxa_atexit() 57 new_fl->next = head; in __cxa_atexit() [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares_freeaddrinfo.c | 37 void ares__freeaddrinfo_cnames(struct ares_addrinfo_cname *head) in ares__freeaddrinfo_cnames() argument 40 while (head) { in ares__freeaddrinfo_cnames() 41 current = head; in ares__freeaddrinfo_cnames() 42 head = head->next; in ares__freeaddrinfo_cnames() 49 void ares__freeaddrinfo_nodes(struct ares_addrinfo_node *head) in ares__freeaddrinfo_nodes() argument 52 while (head) { in ares__freeaddrinfo_nodes() 53 current = head; in ares__freeaddrinfo_nodes() 54 head = head in ares__freeaddrinfo_nodes() [all...] |
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_util.cpp | 29 for (Item *next, *item = head.next; item != &head; item = next) { in clear() 33 head.next = head.prev = &head; in clear() 53 assert(term != &dest.head); in moveToList() 59 DLLIST_ADDHEAD(&dest.head, item); in moveToList() 91 Interval::Interval(const Interval& that) : head(NULL), tail(NULL) in Interval() 104 for (Range *next, *r = head; r; r = next) { in clear() 108 head in clear() [all...] |
/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-lwsac.h | 87 * \param head: pointer to the lwsac list object 94 * This also serves to init the lwsac if *head is NULL. Basically it does 104 lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size); 109 * \param head: pointer to the lwsac list object 116 * This also serves to init the lwsac if *head is NULL. Basically it does 126 lwsac_use_backfill(struct lwsac **head, size_t ensure, size_t chunk_size); 131 * \param head: pointer to the lwsac list object 144 lwsac_use_zero(struct lwsac **head, size_t ensure, size_t chunk_size); 149 * lwsac_free - deallocate all chunks in the lwsac and set head NULL 151 * \param head [all...] |
/third_party/mbedtls/scripts/mbedtls_dev/ |
H A D | crypto_knowledge.py | 109 self.head = re.sub(r'_(?:PUBLIC_KEY|KEY_PAIR)\Z', r'', m.group(1)) 214 if self.head == 'HMAC' and alg.head == 'HMAC': 216 if self.head == 'DES': 218 return alg.head in [ 222 if self.head in BLOCK_CIPHERS and \ 223 alg.head in frozenset.union(BLOCK_MAC_MODES, 226 if alg.head in ['CMAC', 'OFB'] and \ 227 self.head in ['ARIA', 'CAMELLIA']: 230 if self.head [all...] |
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
H A D | hud_driver_query.c | 52 unsigned head, pending, results; member 62 if (bq->query[bq->head]) in hud_batch_query_update() 63 pipe->end_query(pipe, bq->query[bq->head]); in hud_batch_query_update() 68 unsigned idx = (bq->head - bq->pending + 1) % NUM_QUERIES; in hud_batch_query_update() 87 bq->head = (bq->head + 1) % NUM_QUERIES; in hud_batch_query_update() 94 assert(bq->query[bq->head]); in hud_batch_query_update() 96 pipe->destroy_query(pipe, bq->query[bq->head]); in hud_batch_query_update() 97 bq->query[bq->head] = NULL; in hud_batch_query_update() 102 if (!bq->query[bq->head]) { in hud_batch_query_update() 208 unsigned head, tail; global() member [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | lib.h | 174 static inline void free_instruction_list(struct instruction_list **head) in free_instruction_list() argument 176 free_ptr_list(head); in free_instruction_list() 179 static inline struct instruction * delete_last_instruction(struct instruction_list **head) in delete_last_instruction() argument 181 return undo_ptr_list_last((struct ptr_list **)head); in delete_last_instruction() 184 static inline struct basic_block *first_basic_block(struct basic_block_list *head) in first_basic_block() argument 186 return first_ptr_list((struct ptr_list *)head); in first_basic_block() 188 static inline struct instruction *last_instruction(struct instruction_list *head) in last_instruction() argument 190 return last_ptr_list((struct ptr_list *)head); in last_instruction() 193 static inline struct instruction *first_instruction(struct instruction_list *head) in first_instruction() argument 195 return first_ptr_list((struct ptr_list *)head); in first_instruction() 198 first_expression(struct expression_list *head) first_expression() argument 203 first_pseudo(struct pseudo_list *head) first_pseudo() argument 208 first_symbol(struct symbol_list *head) first_symbol() argument [all...] |
/third_party/jerryscript/jerry-core/api/ |
H A D | generate-bytecode.c | 209 void free_link(dir_node* head) { in free_link() argument 211 while (head != NULL) { in free_link() 212 tmp = head; in free_link() 213 head = head->next; in free_link() 273 EXECRES init_directory_list(char* filefolder, char* start_folder, dir_node **head, dir_node **end) { in init_directory_list() argument 287 if ((*head = (dir_node*)OhosMalloc(MEM_TYPE_JERRY, sizeof(dir_node))) == NULL) { in init_directory_list() 295 OhosFree(*head); in init_directory_list() 296 *head = NULL; in init_directory_list() 299 (*head) in init_directory_list() 436 visit_pending_directories(dir_node **head, dir_node **end, EXECRES (*call_back)(char*, char*)) visit_pending_directories() argument 466 dir_node* head = NULL; generate_snapshots() local 485 dir_node* head = NULL; validate_snapshots() local 525 dir_node *head, *curr, *end, *new_node; walk_del_bytecode() local [all...] |
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/ |
H A D | rk_list.cpp | 76 static inline void rk_list_add(rk_list_node *_new, rk_list_node *head) in rk_list_add() argument 78 _rk_list_add(_new, head, head->next); in rk_list_add() 81 static inline void rk_list_add_tail(rk_list_node *_new, rk_list_node *head) in rk_list_add_tail() argument 83 _rk_list_add(_new, head->prev, head); in rk_list_add_tail() 90 if (head) { in add_at_head() 93 rk_list_add(node, head); in add_at_head() 108 if (head) { in add_at_tail() 111 rk_list_add_tail(node, head); in add_at_tail() [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | hnd_pktq.c | 76 if (q->head) in pktq_penq() 79 q->head = p; in pktq_penq() 114 if (q->head) in spktq_enq() 117 q->head = p; in spktq_enq() 146 if (q->head == NULL) in pktq_penq_head() 149 PKTSETLINK(p, q->head); in pktq_penq_head() 150 q->head = p; in pktq_penq_head() 180 if (q->head == NULL) in spktq_enq_head() 183 PKTSETLINK(p, q->head); in spktq_enq_head() 184 q->head in spktq_enq_head() [all...] |
/third_party/libinput/src/ |
H A D | util-list.h | 40 * nodes and the list head. Use like this: 45 * struct list list_of_bars; // the list head 66 * Initialize a list head. This function *must* be called once for each list 67 * head. This function *must not* be called for a node to be added to a 90 * Returns true if the given list head is an empty list. 116 * Given a list 'head', return the first entry of type 'pos' that has a 137 #define list_first_entry(head, pointer_of_type, member) \ 138 container_of((head)->next, __typeof__(*pointer_of_type), member) 141 * Given a list 'head', return the first entry of type 'container_type' that 157 #define list_first_entry_by_type(head, container_typ [all...] |
/third_party/mesa3d/src/util/ |
H A D | list.h | 209 #define LIST_FOR_EACH_ENTRY(pos, head, member) \ 210 for (pos = NULL, pos = list_container_of((head)->next, pos, member); \ 211 &pos->member != (head); \ 214 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \ 215 for (pos = NULL, pos = list_container_of((head)->next, pos, member), \ 217 &pos->member != (head); \ 220 #define LIST_FOR_EACH_ENTRY_SAFE_REV(pos, storage, head, member) \ 221 for (pos = NULL, pos = list_container_of((head)->prev, pos, member), \ 223 &pos->member != (head); \ 226 #define LIST_FOR_EACH_ENTRY_FROM(pos, start, head, membe [all...] |
/third_party/ffmpeg/libavfilter/dnn/ |
H A D | queue.c | 34 QueueEntry *head; member 53 q->head = create_entry(q); in ff_queue_create() 56 if (!q->head || !q->tail) { in ff_queue_create() 57 av_freep(&q->head); in ff_queue_create() 63 q->head->next = q->tail; in ff_queue_create() 64 q->tail->prev = q->head; in ff_queue_create() 65 q->head->prev = NULL; in ff_queue_create() 78 entry = q->head; in ff_queue_destroy() 98 return q->head->next->value; in ff_queue_peek_front() 119 original_next = q->head in ff_queue_push_front() [all...] |
/third_party/backends/backend/ |
H A D | hp-hpmem.c | 63 static Alloc head[] = {{ head, head, {0} }}; variable 65 #define DATA_OFFSET (head->buf - (hp_byte_t *)head) 77 (new->next = head->next)->prev = new; in sanei_hp_alloc() 78 (new->prev = head)->next = new; in sanei_hp_alloc() 131 assert(old && old != head); in sanei_hp_free() 143 for (ptr = head->next; ptr != head; pt in sanei_hp_free_all() [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_ring.c | 18 /* the renderer is expected to store the head with memory_order_release, in vn_ring_load_head() 21 return atomic_load_explicit(ring->shared.head, memory_order_acquire); in vn_ring_load_head() 77 head) { in vn_ring_retire_submits() 84 list_del(&submit->head); in vn_ring_retire_submits() 85 list_add(&submit->head, &ring->free_submits); in vn_ring_retire_submits() 97 const uint32_t head = vn_ring_load_head(ring); in vn_ring_wait_seqno() local 98 if (vn_ring_ge_seqno(ring, head, seqno)) in vn_ring_wait_seqno() 99 return head; in vn_ring_wait_seqno() 109 const uint32_t head = vn_ring_load_head(ring); in vn_ring_has_space() local 110 if (likely(ring->cur + size - head < in vn_ring_has_space() 123 uint32_t head; vn_ring_wait_space() local 147 uint32_t head __attribute__((aligned(64))); vn_ring_get_layout() member [all...] |
/third_party/FreeBSD/sbin/fsck_msdosfs/ |
H A D | dir.c | 256 rootDir->head = boot->bpbRootClust; in resetDosDirSection() 398 if (dir->head == CLUST_FREE) { in checksize() 401 if (!fat_is_valid_cl(fat, dir->head)) in checksize() 403 ret = checkchain(fat, dir->head, &chainsize); in checksize() 441 for (cl = dir->head, len = sz = 0; in checksize() 474 cl = dir->head; in check_subdirectory() 553 cl = dir->head; in readDosDirSection() 579 mod |= checkchain(fat, dir->head, &dirclusters); in readDosDirSection() 782 dirent.head = p[26] | (p[27] << 8); in readDosDirSection() 784 dirent.head | in readDosDirSection() 1073 reconnect(struct fat_descriptor *fat, cl_t head, size_t length) reconnect() argument [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | llist.h | 27 /* The head of the linked list. Use this in the structure that shall 28 * contain the head of the linked list */ 36 /* Initialize the list's head */ 51 #define PA_LLIST_PREPEND(t,head,item) \ 53 t **_head = &(head), *_item = (item); \ 62 #define PA_LLIST_REMOVE(t,head,item) \ 64 t **_head = &(head), *_item = (item); \ 77 /* Find the head of the list */ 78 #define PA_LLIST_FIND_HEAD(t,item,head) \ 80 t **_head = (head), *_ite [all...] |
/third_party/lame/mpglib/ |
H A D | interface.c | 76 mp->head = mp->tail = NULL; in InitMP3() 127 nbuf->prev = mp->head; in addbuf() 134 mp->head->next = nbuf; in addbuf() 137 mp->head = nbuf; in addbuf() 152 mp->tail = mp->head = NULL; in remove_buf() 191 unsigned long head; in read_head() local 193 head = read_buf_byte(mp); in read_head() 194 head <<= 8; in read_head() 195 head |= read_buf_byte(mp); in read_head() 196 head << in read_head() 333 unsigned long head; sync_buffer() local [all...] |
/third_party/curl/lib/ |
H A D | llist.c | 43 l->head = NULL; in Curl_llist_init() 65 list->head = ne; in Curl_llist_insert_next() 66 list->head->prev = NULL; in Curl_llist_insert_next() 67 list->head->next = NULL; in Curl_llist_insert_next() 72 ne->next = e?e->next:list->head; in Curl_llist_insert_next() 75 list->head->prev = ne; in Curl_llist_insert_next() 76 list->head = ne; in Curl_llist_insert_next() 102 if(e == list->head) { in Curl_llist_remove() 103 list->head = e->next; in Curl_llist_remove() 105 if(!list->head) in Curl_llist_remove() [all...] |
/third_party/node/deps/openssl/openssl/util/ |
H A D | check-format.pl | 452 my ($head, $tail) = (substr($str, 0, $i).$1, $3); 463 $hanging_offset -= INDENT_LEVEL if $hanging_offset > 0 && $head =~ m/[^\s\@]/; 484 # $head =~ m/^([\s@]*)(case\W.*$|\w+$)/ || # this matching would not work for 598 my ($head, $any_symbol, $cmt_text) = m/^(\s*)(.?)(.*)$/; 608 if ((my ($head, $tail) = m|^(.*?)\*/(.*)$|) && $1 ne '/') { # ending comment: '*/' 609 report("missing space or '*' before '*/'") if $head =~ m/[^*\s]$/; 611 if (!($head =~ m|/\*|)) { # not begin of comment '/*', which is is handled below 614 $_ = "$head@@".$tail; # blind the "*/" 616 report("text before '*/' in multi-line comment") if ($head =~ m/[^*\s]/); # non-SPC before '*/' 620 $head [all...] |
/third_party/openssl/util/ |
H A D | check-format.pl | 452 my ($head, $tail) = (substr($str, 0, $i).$1, $3); 463 $hanging_offset -= INDENT_LEVEL if $hanging_offset > 0 && $head =~ m/[^\s\@]/; 484 # $head =~ m/^([\s@]*)(case\W.*$|\w+$)/ || # this matching would not work for 598 my ($head, $any_symbol, $cmt_text) = m/^(\s*)(.?)(.*)$/; 608 if ((my ($head, $tail) = m|^(.*?)\*/(.*)$|) && $1 ne '/') { # ending comment: '*/' 609 report("missing space or '*' before '*/'") if $head =~ m/[^*\s]$/; 611 if (!($head =~ m|/\*|)) { # not begin of comment '/*', which is is handled below 614 $_ = "$head@@".$tail; # blind the "*/" 616 report("text before '*/' in multi-line comment") if ($head =~ m/[^*\s]/); # non-SPC before '*/' 620 $head [all...] |
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
H A D | internal.h | 967 * used connection at the head). MHD can just look at the tail of 1311 * Insert an element at the head of a DLL. Assumes that head, tail and 1314 * @param head pointer to the head of the DLL 1318 #define DLL_insert(head,tail,element) do { \ 1321 (element)->next = (head); \ 1326 (head)->prev = element; \ 1327 (head) = (element); } while (0) 1332 * that head, tai [all...] |
/third_party/selinux/libsepol/src/ |
H A D | nodes.c | 152 ocontext_t *c, *head; in sepol_node_count() local 155 head = policydb->ocontexts[OCON_NODE]; in sepol_node_count() 156 for (c = head; c != NULL; c = c->next) in sepol_node_count() 159 head = policydb->ocontexts[OCON_NODE6]; in sepol_node_count() 160 for (c = head; c != NULL; c = c->next) in sepol_node_count() 175 ocontext_t *c, *head; in sepol_node_exists() local 185 head = policydb->ocontexts[OCON_NODE]; in sepol_node_exists() 186 for (c = head; c; c = c->next) { in sepol_node_exists() 201 head = policydb->ocontexts[OCON_NODE6]; in sepol_node_exists() 202 for (c = head; in sepol_node_exists() 235 ocontext_t *c, *head; sepol_node_query() local 352 ocontext_t *c, *head; sepol_node_iterate() local [all...] |
/third_party/nghttp2/src/ |
H A D | memchunk.h | 117 head(nullptr), in Memchunks() 126 head{std::exchange(other.head, nullptr)}, 141 head = std::exchange(other.head, nullptr); 154 for (auto m = head; m;) { in ~Memchunks() 162 head = tail = pool->get(); in append() 180 head = tail = pool->get(); in append() 207 auto m = head; in copy() 224 auto m = head; in remove() 419 Memchunk *head, *tail; global() member [all...] |
/third_party/node/lib/internal/streams/ |
H A D | compose.js | 98 const head = streams[0]; 102 isWritable(head) || 103 isWritableStream(head) || 104 isTransformStream(head) 117 writableObjectMode: !!head?.writableObjectMode, 124 if (isNodeStream(head)) { 126 if (head.write(chunk, encoding)) { 134 head.end(); 138 head.on('drain', function() { 145 } else if (isWebStream(head)) { [all...] |