/openbsd/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/ |
H A D | inflate.c | 135 state->head = Z_NULL; in inflateResetKeep() 676 if (state->head != Z_NULL) in inflate() 677 state->head->done = -1; in inflate() 722 if (state->head != Z_NULL) in inflate() 731 if (state->head != Z_NULL) in inflate() 740 if (state->head != Z_NULL) { in inflate() 840 if (state->head != Z_NULL) { in inflate() 842 state->head->done = 1; in inflate() 1378 gz_headerp head) in inflateGetHeader() argument 1388 state->head = head; in inflateGetHeader() [all …]
|
/openbsd/regress/usr.bin/mandoc/mdoc/Bl/ |
H A D | emptyhead.out_lint | 1 mandoc: emptyhead.in:13:2: WARNING: empty head in list item: Bl -hang It 2 mandoc: emptyhead.in:22:2: WARNING: empty head in list item: Bl -ohang It 3 mandoc: emptyhead.in:31:2: WARNING: empty head in list item: Bl -inset It 4 mandoc: emptyhead.in:40:2: WARNING: empty head in list item: Bl -diag It
|
/openbsd/usr.sbin/makefs/cd9660/ |
H A D | iso9660_rrip.c | 62 TAILQ_INIT(&(node->head)); in cd9660_susp_initialize() 64 TAILQ_INIT(&(node->dot_record->head)); in cd9660_susp_initialize() 66 TAILQ_INIT(&(node->dot_dot_record->head)); in cd9660_susp_initialize() 144 TAILQ_FOREACH(t, &node->head, rr_ll) { in cd9660_susp_finalize_node() 171 TAILQ_FOREACH(t, &node->head, rr_ll) { in cd9660_rrip_finalize_node() 215 TAILQ_FOREACH(temp, &node->head, rr_ll) { in cd9660_susp_handle_continuation_common() 246 TAILQ_INSERT_HEAD(&node->head, CE, rr_ll); in cd9660_susp_handle_continuation_common() 264 TAILQ_INSERT_HEAD(&node->head, ST, rr_ll); in cd9660_susp_handle_continuation_common() 338 TAILQ_INSERT_TAIL(&node->head, attr, rr_ll); in cd9660_rrip_initialize_inode() 774 TAILQ_INSERT_TAIL(&node->head, r, rr_ll); in cd9660_rrip_add_NM() [all …]
|
/openbsd/usr.sbin/relayd/ |
H A D | check_tcp.c | 346 char *head; in check_http_code() local 358 head = ibuf_data(cte->buf); in check_http_code() 363 if (strncmp(head, "HTTP/1.1 ", strlen("HTTP/1.1 ")) && in check_http_code() 370 head += strlen("HTTP/1.1 "); in check_http_code() 371 if (strlen(head) < 5) /* code + \r\n */ { in check_http_code() 375 (void)strlcpy(scode, head, sizeof(scode)); in check_http_code() 399 char *head; in check_http_digest() local 409 head = ibuf_data(cte->buf); in check_http_digest() 413 if ((head = strstr(head, "\r\n\r\n")) == NULL) { in check_http_digest() 419 head += strlen("\r\n\r\n"); in check_http_digest() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Win32API-File/inc/ExtUtils/ |
H A D | Myconst2perl.pm | 290 my( $head, $tail )= ( "/*", "\n" ); 292 $head= ' printf( "#'; 294 print $head, " Generated by $outfile.", $tail; 296 print $head, " Package $pkg with options:", $tail; 297 $head= " *" if ! $writeperl; 302 print $head, " $key => ", $val, $tail; 304 print $head, " Perl files eval'd:", $tail; 310 print $head, " $key => ", $code, $tail; 313 print $head, " C files included:", $tail; 319 print $head, " $key => ", $code, $tail;
|
/openbsd/usr.bin/tee/ |
H A D | tee.c | 53 SLIST_HEAD(, list) head; 64 SLIST_INSERT_HEAD(&head, p, next); in add() 79 SLIST_INIT(&head); in main() 118 SLIST_FOREACH(p, &head, next) { in main() 135 SLIST_FOREACH(p, &head, next) { in main()
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | sched-rgn.c | 992 if (head < 0) 993 head = tail; 1012 --head; 2049 rtx tail, head; local 2053 src_head = head; 2136 b1->head = note; 2324 rtx head, tail; in add_branch_dependences() 2558 rtx head, tail; local 2604 rtx head, tail; in debug_dependencies() local 2733 rtx head, tail; local [all …]
|
H A D | cfgcleanup.c | 546 insn = PREV_INSN (target->head); 734 if (squeeze_notes (&a->head, &a->end)) 738 if (a->end != PREV_INSN (b->head)) 739 reorder_insns_nobb (a->head, a->end, PREV_INSN (b->head)); 793 if (squeeze_notes (&b->head, &b->end)) 1065 if (i1 == bb1->head || i2 == bb2->head) 1400 if (newpos2 == src2->head) 1651 && GET_CODE (b->head) == CODE_LABEL 1665 rtx label = b->head; 1667 b->head = NEXT_INSN (b->head); [all …]
|
/openbsd/lib/libcurses/base/ |
H A D | lib_ungetch.c | 57 T(("head = %d, tail = %d, peek = %d", head, tail, peek)); in NCURSES_EXPORT() 71 if (head < 0) { in safe_ungetch() 72 head = 0; in safe_ungetch() 79 sp->_fifo[head] = ch; in safe_ungetch()
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/ |
H A D | p2746.C | 30 Link *head(); 45 IListBase::IListBase(Link *head) : head_(head) in IListBase() argument 57 Link *IListBase::head() in head() function 87 T *head() { return (T *)IListBase::head(); } in head() function
|
/openbsd/sys/dev/pci/drm/ |
H A D | drm_debugfs_crc.c | 181 return CIRC_CNT(crc->head, crc->tail, DRM_CRC_ENTRIES_NR); in crtc_crc_data_count() 189 crc->head = 0; in crtc_crc_cleanup() 398 int head, tail; in drm_crtc_add_crc_entry() local 409 head = crc->head; in drm_crtc_add_crc_entry() 412 if (CIRC_SPACE(head, tail, DRM_CRC_ENTRIES_NR) < 1) { in drm_crtc_add_crc_entry() 424 entry = &crc->entries[head]; in drm_crtc_add_crc_entry() 429 head = (head + 1) & (DRM_CRC_ENTRIES_NR - 1); in drm_crtc_add_crc_entry() 430 crc->head = head; in drm_crtc_add_crc_entry()
|
H A D | drm_context.c | 41 struct list_head head; member 141 list_for_each_entry_safe(pos, tmp, &dev->ctxlist, head) { in drm_legacy_ctxbitmap_flush() 148 list_del(&pos->head); in drm_legacy_ctxbitmap_flush() 193 list_for_each_entry(_entry, &dev->maplist, head) { in drm_legacy_getsareactx() 232 list_for_each_entry(r_list, &dev->maplist, head) { in drm_legacy_setsareactx() 389 INIT_LIST_HEAD(&ctx_entry->head); in drm_legacy_addctx() 394 list_add(&ctx_entry->head, &dev->ctxlist); in drm_legacy_addctx() 501 list_for_each_entry_safe(pos, n, &dev->ctxlist, head) { in drm_legacy_rmctx() 503 list_del(&pos->head); in drm_legacy_rmctx()
|
/openbsd/usr.bin/patch/ |
H A D | ed.c | 53 LIST_HEAD(ed_head, ed_line) head; 127 LIST_INSERT_HEAD(&head, nline, entries); in do_ed_script() 238 LIST_FOREACH(line, &head, entries) { in write_lines() 275 LIST_INIT(&head); in init_lines() 283 LIST_INSERT_HEAD(&head, line, entries); in init_lines() 293 while (!LIST_EMPTY(&head)) { in free_lines() 294 line = LIST_FIRST(&head); in free_lines() 310 LIST_FOREACH(line, &head, entries) in get_line()
|
/openbsd/usr.bin/cvs/ |
H A D | status.c | 123 RCSNUM *head, *brev; in cvs_status_local() local 146 head = cf->file_rcsrev; in cvs_status_local() 148 head = NULL; in cvs_status_local() 152 if (cf->file_rcs != NULL && head == NULL) in cvs_status_local() 208 } else if (head == NULL) { in cvs_status_local() 213 rcsnum_tostr(head, revbuf, sizeof(revbuf)); in cvs_status_local() 220 if (cf->file_rcs != NULL && head != NULL) { in cvs_status_local() 221 rdp = rcs_findrev(cf->file_rcs, head); in cvs_status_local()
|
/openbsd/usr.bin/nm/ |
H A D | elf.c | 151 elf_load_shdrs(const char *name, FILE *fp, off_t foff, Elf_Ehdr *head) in elf_load_shdrs() argument 155 elf_fix_header(head); in elf_load_shdrs() 157 if (head->e_shnum == 0) { in elf_load_shdrs() 162 if (head->e_shstrndx >= head->e_shnum) { in elf_load_shdrs() 167 if (head->e_shentsize < sizeof(Elf_Shdr)) { in elf_load_shdrs() 172 if ((shdr = calloc(head->e_shnum, head->e_shentsize)) == NULL) { in elf_load_shdrs() 177 if (fseeko(fp, foff + head->e_shoff, SEEK_SET)) { in elf_load_shdrs() 183 if (fread(shdr, head->e_shentsize, head->e_shnum, fp) != head->e_shnum) { in elf_load_shdrs() 189 elf_fix_shdrs(head, shdr); in elf_load_shdrs() 398 elf_size(Elf_Ehdr *head, Elf_Shdr *shdr, in elf_size() argument [all …]
|
/openbsd/gnu/llvm/llvm/lib/Support/ |
H A D | CrashRecoveryContext.cpp | 109 CrashRecoveryContextCleanup *i = head; in ~CrashRecoveryContext() 161 if (head) in registerCleanup() 162 head->prev = cleanup; in registerCleanup() 163 cleanup->next = head; in registerCleanup() 164 head = cleanup; in registerCleanup() 171 if (cleanup == head) { in unregisterCleanup() 172 head = cleanup->next; in unregisterCleanup() 173 if (head) in unregisterCleanup() 174 head->prev = nullptr; in unregisterCleanup()
|
/openbsd/lib/libc/gen/ |
H A D | fts.c | 550 FTSENT *p, *head; in fts_build() local 668 fts_lfree(head); in fts_build() 694 fts_lfree(head); in fts_build() 737 if (head == NULL) in fts_build() 738 head = tail = p; in fts_build() 789 head = fts_sort(sp, head, nitems); in fts_build() 790 return (head); in fts_build() 889 return (head); in fts_sort() 900 return (head); in fts_sort() 939 while ((p = head)) { in fts_lfree() [all …]
|
/openbsd/gnu/gcc/gcc/ |
H A D | genrecog.c | 1645 head->last = first; in factor_tests() 1664 merge_trees (head, &h); in factor_tests() 1674 head->last = old_last; in factor_tests() 1756 p = head->first; in find_afterward() 1783 p = head->first; in find_afterward() 2343 write_afterward (head->last, head->last->afterward, " "); in write_tree_1() 2409 int subfunction = head->first ? head->first->subroutine_number : 0; in write_subroutine() 2450 if (head->first) in write_subroutine() 2590 memset(&head, 0, sizeof(head)); in make_insn_sequence() 2702 return head; in make_insn_sequence() [all …]
|
/openbsd/gnu/usr.bin/binutils/gas/config/ |
H A D | xtensa-relax.c | 125 opname_map_e *head; member 150 precond_e *head; member 194 insn_repl_e *head; member 842 m->head = NULL; 843 m->tail = &m->head; 855 e = m->head; 859 m->tail = &m->head; 911 l->head = NULL; 924 e = l->head; 971 r->head = NULL; [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/gas/config/ |
H A D | xtensa-relax.c | 144 opname_map_e *head; member 169 precond_e *head; member 214 insn_repl_e *head; member 812 m->head = NULL; in init_opname_map() 813 m->tail = &m->head; in init_opname_map() 824 e = m->head; in clear_opname_map() 828 m->tail = &m->head; in clear_opname_map() 873 l->head = NULL; in init_precond_list() 885 e = l->head; in clear_precond_list() 928 r->head = NULL; in init_insn_repl() [all …]
|
H A D | tc-bfin.c | 941 conscode (INSTR_T head, INSTR_T tail) in conscode() argument 943 if (!head) in conscode() 945 head->next = tail; in conscode() 946 return head; in conscode() 952 INSTR_T temp = (head); in conctcode() 953 if (!head) in conctcode() 959 return head; in conctcode() 1053 value = head->value.i_value; in Expr_Node_Gen_Reloc() 1126 switch (head->type) in Expr_Node_Gen_Reloc_R() 1136 switch (head->value.op_value) in Expr_Node_Gen_Reloc_R() [all …]
|
/openbsd/sys/arch/m88k/m88k/ |
H A D | pmap.c | 1004 pv_entry_t pv_e, head; in pmap_enter() local 1059 head->pv_va = va; in pmap_enter() 1231 head = pg_to_pvh(pg); in pmap_remove_pte() 1259 *head = *cur; in pmap_remove_pte() 1398 pv_entry_t head, pvep; in pmap_remove_page() local 1420 pvep = head; in pmap_remove_page() 1549 pv_entry_t head, pvep; in pmap_changebit() local 1564 head = pg_to_pvh(pg); in pmap_changebit() 1632 head = pg_to_pvh(pg); in pmap_testbit() 1691 head = pg_to_pvh(pg); in pmap_unsetbit() [all …]
|
/openbsd/sys/dev/pci/drm/i915/display/ |
H A D | intel_panel.c | 59 struct drm_display_mode, head); in intel_panel_preferred_fixed_mode() 101 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) { in intel_panel_fixed_mode() 142 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) { in intel_panel_downclock_mode() 192 list_for_each_entry(mode1, &connector->panel.fixed_modes, head) { in has_drrs_modes() 275 list_move_tail(&mode->head, &connector->panel.fixed_modes); in intel_panel_add_edid_alt_fixed_modes() 288 list_for_each_entry(scan, &connector->base.probed_modes, head) { in intel_panel_add_edid_preferred_mode() 297 typeof(*fixed_mode), head); in intel_panel_add_edid_preferred_mode() 307 list_move_tail(&fixed_mode->head, &connector->panel.fixed_modes); in intel_panel_add_edid_preferred_mode() 320 list_del(&mode->head); in intel_panel_destroy_probed_modes() 353 list_add_tail(&fixed_mode->head, &connector->panel.fixed_modes); in intel_panel_add_fixed_mode() [all …]
|
/openbsd/gnu/usr.bin/binutils/ld/ |
H A D | ldlang.c | 340 list->head = NULL; in lang_list_init() 341 list->tail = &list->head; in lang_list_init() 1296 if (list.head != NULL) in output_section_callback() 1306 *pp = list.head; in output_section_callback() 1891 if (add.head != NULL) in open_input_bfds() 1894 s->header.next = add.head; in open_input_bfds() 3012 lang_size_sections_1 (os->children.head, os, &os->children.head, in lang_size_sections_1() 5074 expr = head->remaining; in lang_vers_match() 5228 head->mask |= e->mask; in lang_finalize_version_expr_head() 5235 list_loc = &head->list; in lang_finalize_version_expr_head() [all …]
|
/openbsd/games/monop/ |
H A D | prop.c | 56 add_list(int plr, OWN **head, int op_sqr) in add_list() argument 67 for (tp = *head; tp && value(tp->sqr) < val; tp = tp->next) in add_list() 78 *head = op; in add_list() 86 del_list(int plr, OWN **head, shrt op_sqr) in del_list() argument 102 for (op = *head; op; op = op->next) in del_list() 108 *head = op->next; in del_list()
|