/netbsd/usr.bin/indent/ |
H A D | parse.c | 64 ps.ind_level_follow = ps.psyms.ind_level[ps.psyms.len - 1]; in psyms_reduce_stmt() 87 ps.ind_level_follow = ps.psyms.ind_level[ps.psyms.len - 1]; in psyms_reduce_stmt() 108 if (ps.psyms.len == ps.psyms.cap) { in ps_push() 116 ps.psyms.sym[ps.psyms.len - 1] = psym; in ps_push() 117 ps.psyms.ind_level[ps.psyms.len - 1] = in ps_push() 129 if (ps.psyms.len >= 2 && ps.psyms.sym[ps.psyms.len - 1] == psym_stmt in psyms_reduce() 198 ps.ind_level = ps.psyms.ind_level[ps.psyms.len - 1]; in parse() 199 ps.ind_level_follow = ps.ind_level; in parse() 231 ps.ind_level = ps.ind_level_follow; in parse() 241 ps.ind_level = ps.psyms.ind_level[ps.psyms.len - 1]; in parse() [all …]
|
H A D | indent.c | 617 if (ps.in_var_decl && ps.psyms.len <= 3 && !ps.in_init) { in process_lparen() 640 if (ps.line_has_decl && !ps.in_init) in rparen_is_cast() 747 ps.ind_level = ps.ind_level_follow; in process_lbrace() 753 if (ps.in_decl && ps.in_var_decl) { in process_lbrace() 754 ps.di_stack[ps.decl_level] = ps.decl_ind; in process_lbrace() 800 ps.decl_ind = ps.di_stack[--ps.decl_level]; in process_rbrace() 803 ps.decl_ind = ps.ind_level == 0 in process_rbrace() 859 && !ps.line_has_func_def && !ps.in_init && !ps.decl_indent_done) { in process_comma() 887 ps.want_newline = ps.seen_case; in process_label_colon() 896 ps.want_blank = ps.decl_level == 0; in process_other_colon() [all …]
|
H A D | io.c | 174 if (((ps.blank_line_after_decl && ps.declaration == decl_no) in want_blank_line() 308 if (ps.comment_cont) in output_comment() 383 && ps.psyms.sym[ps.psyms.len - 2] == psym_lbrace_enum in is_stmt_cont() 388 && (!ps.in_decl || ps.in_init) in is_stmt_cont() 395 ps.line_has_decl = ps.in_decl; in prepare_next_line() 401 if (!(ps.psyms.sym[ps.psyms.len - 1] == psym_if_expr_stmt_else in prepare_next_line() 403 ps.ind_level = ps.ind_level_follow; in prepare_next_line() 404 ps.ind_paren_level = (int)ps.paren.len; in prepare_next_line() 406 if ((ps.badp == badp_seen_lbrace || ps.badp == badp_seen_decl) in prepare_next_line() 407 && !ps.in_decl) in prepare_next_line() [all …]
|
H A D | lexi.c | 260 if (ps.in_init) in probably_typename() 403 ps.next_unary = ps.prev_lsym == lsym_tag in lexi_alnum() 407 if (ps.prev_lsym == lsym_tag && ps.paren.len == 0) in lexi_alnum() 410 && ps.prev_lsym == lsym_lparen && ps.paren.len == 1 in lexi_alnum() 445 if (*p == '(' && ps.psyms.len < 3 && ps.ind_level == 0 && in lexi_alnum() 446 !ps.in_func_def_params && !ps.in_init) { in lexi_alnum() 449 ? ps.paren.len == 1 && ps.prev_lsym != lsym_unary_op in lexi_alnum() 454 if (ps.in_decl) in lexi_alnum() 495 if (ps.next_unary || ps.in_func_def_params) in is_asterisk_unary() 501 return ps.in_decl && ps.paren.len > 0; in is_asterisk_unary() [all …]
|
/netbsd/sys/miscfs/procfs/ |
H A D | procfs_status.c | 127 ps += snprintf(ps, sizeof(psbuf) - (ps - psbuf), "%d ", in procfs_status_netbsd() 129 ps += snprintf(ps, sizeof(psbuf) - (ps - psbuf), "\n"); in procfs_status_netbsd() 131 ps += snprintf(ps, sizeof(psbuf) - (ps - psbuf), in procfs_status_netbsd() 133 ps += snprintf(ps, sizeof(psbuf) - (ps - psbuf), in procfs_status_netbsd() 135 ps += snprintf(ps, sizeof(psbuf) - (ps - psbuf), in procfs_status_netbsd() 143 ps += strlen(ps); in procfs_status_netbsd() 175 ps += snprintf(ps, sizeof(psbuf) - (ps - psbuf), in procfs_status_netbsd() 232 ps += snprintf(ps, sizeof(psbuf) - (ps - psbuf), "\n"); in procfs_status_linux() 234 ps += snprintf(ps, sizeof(psbuf) - (ps - psbuf), in procfs_status_linux() 236 ps += snprintf(ps, sizeof(psbuf) - (ps - psbuf), in procfs_status_linux() [all …]
|
/netbsd/external/gpl2/lvm2/dist/libdm/regex/ |
H A D | parse_rx.c | 33 ps->type = 0; in _single_char() 49 ps->type = -1; in _rx_get_token() 125 ps->type = -1; in _rx_get_token() 129 ps->type = 0; in _rx_get_token() 156 ps->type = 0; in _rx_get_token() 170 ps->type = -1; in _rx_get_token() 174 ps->type = 0; in _rx_get_token() 194 ps->type = 0; in _rx_get_token() 338 struct parse_sp *ps = dm_pool_zalloc(mem, sizeof(*ps)); in rx_parse_tok() local 340 if (!ps) { in rx_parse_tok() [all …]
|
/netbsd/external/bsd/mdocml/dist/ |
H A D | term_ps.c | 775 p->ps->psrow = p->ps->top; in ps_closepage() 866 p->ps->pscol = p->ps->left; in ps_begin() 867 p->ps->psrow = p->ps->header; in ps_begin() 875 p->ps->pscol = p->ps->left; in ps_begin() 876 p->ps->psrow = p->ps->footer; in ps_begin() 950 p->ps->pscol = p->ps->left; in ps_begin() 951 p->ps->psrow = p->ps->top; in ps_begin() 1055 p->ps->lastrow = p->ps->psrow; in ps_pclose() 1086 p->ps->pscol = (p->ps->pscol + in ps_plast() 1236 p->ps->pscol = p->ps->left; in ps_endline() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/libgcc/config/libbid/ |
H A D | bid64_string.c | 72 ps[5] = 0; 269 while (((*ps == ' ') || (*ps == '\t')) && (*ps)) 270 ps++; 304 tolower_macro (ps[8]) == 'y' && !ps[9]))) { 330 ps++; 343 if (*(ps) == '0' || *(ps) == '.') { 371 ps = ps + 1; 449 ps++; 468 ps++; 472 ps++; [all …]
|
H A D | bid128_string.c | 306 while ((*ps == ' ') || (*ps == '\t')) 307 ps++; 310 c = *ps; 346 tolower_macro (ps[3]) == 'f') && (!ps[4] || 379 ps++; 381 c = *ps; 396 ps++; 417 ps = ps + 1; 435 c = *ps; 447 ps++; [all …]
|
/netbsd/external/gpl3/gcc/dist/libgcc/config/libbid/ |
H A D | bid64_string.c | 72 ps[5] = 0; 269 while (((*ps == ' ') || (*ps == '\t')) && (*ps)) 270 ps++; 304 tolower_macro (ps[8]) == 'y' && !ps[9]))) { 330 ps++; 343 if (*(ps) == '0' || *(ps) == '.') { 371 ps = ps + 1; 449 ps++; 468 ps++; 472 ps++; [all …]
|
H A D | bid128_string.c | 306 while ((*ps == ' ') || (*ps == '\t')) 307 ps++; 310 c = *ps; 346 tolower_macro (ps[3]) == 'f') && (!ps[4] || 379 ps++; 381 c = *ps; 396 ps++; 417 ps = ps + 1; 435 c = *ps; 447 ps++; [all …]
|
/netbsd/external/gpl3/gdb/dist/gas/testsuite/gas/mips/ |
H A D | mips5-fp.s | 4 abs.ps $f0, $f2 5 add.ps $f2, $f4, $f6 7 c.eq.ps $f8, $f10 9 c.f.ps $f8, $f10 11 c.le.ps $f8, $f10 13 c.lt.ps $f8, $f10 15 c.nge.ps $f8, $f10 17 c.ngl.ps $f8, $f10 21 c.ngt.ps $f8, $f10 23 c.ole.ps $f8, $f10 [all …]
|
H A D | mips5-fp.d | 10 0+0000 <[^>]*> 46c01005 abs\.ps \$f0,\$f2 11 0+0004 <[^>]*> 46c62080 add\.ps \$f2,\$f4,\$f6 13 0+000c <[^>]*> 46ca4032 c\.eq\.ps \$f8,\$f10 15 0+0014 <[^>]*> 46ca4030 c\.f\.ps \$f8,\$f10 17 0+001c <[^>]*> 46ca403e c\.le\.ps \$f8,\$f10 19 0+0024 <[^>]*> 46ca403c c\.lt\.ps \$f8,\$f10 21 0+002c <[^>]*> 46ca403d c\.nge\.ps \$f8,\$f10 23 0+0034 <[^>]*> 46ca403b c\.ngl\.ps \$f8,\$f10 35 0+0064 <[^>]*> 46ca4038 c\.sf\.ps \$f8,\$f10 50 0+00a0 <[^>]*> 46c0d606 mov\.ps \$f24,\$f26 [all …]
|
H A D | micromips@mips5-fp.d | 11 [0-9a-f]+ <[^>]*> 5402 437b abs\.ps \$f0,\$f2 12 [0-9a-f]+ <[^>]*> 54c4 1230 add\.ps \$f2,\$f4,\$f6 14 [0-9a-f]+ <[^>]*> 5548 08bc c\.eq\.ps \$f8,\$f10 16 [0-9a-f]+ <[^>]*> 5548 083c c\.f\.ps \$f8,\$f10 18 [0-9a-f]+ <[^>]*> 5548 0bbc c\.le\.ps \$f8,\$f10 20 [0-9a-f]+ <[^>]*> 5548 0b3c c\.lt\.ps \$f8,\$f10 22 [0-9a-f]+ <[^>]*> 5548 0b7c c\.nge\.ps \$f8,\$f10 24 [0-9a-f]+ <[^>]*> 5548 0afc c\.ngl\.ps \$f8,\$f10 36 [0-9a-f]+ <[^>]*> 5548 0a3c c\.sf\.ps \$f8,\$f10 51 [0-9a-f]+ <[^>]*> 571a 407b mov\.ps \$f24,\$f26 [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gas/testsuite/gas/mips/ |
H A D | mips5-fp.s | 4 abs.ps $f0, $f2 5 add.ps $f2, $f4, $f6 7 c.eq.ps $f8, $f10 9 c.f.ps $f8, $f10 11 c.le.ps $f8, $f10 13 c.lt.ps $f8, $f10 15 c.nge.ps $f8, $f10 17 c.ngl.ps $f8, $f10 21 c.ngt.ps $f8, $f10 23 c.ole.ps $f8, $f10 [all …]
|
H A D | mips5-fp.d | 10 0+0000 <[^>]*> 46c01005 abs\.ps \$f0,\$f2 11 0+0004 <[^>]*> 46c62080 add\.ps \$f2,\$f4,\$f6 13 0+000c <[^>]*> 46ca4032 c\.eq\.ps \$f8,\$f10 15 0+0014 <[^>]*> 46ca4030 c\.f\.ps \$f8,\$f10 17 0+001c <[^>]*> 46ca403e c\.le\.ps \$f8,\$f10 19 0+0024 <[^>]*> 46ca403c c\.lt\.ps \$f8,\$f10 21 0+002c <[^>]*> 46ca403d c\.nge\.ps \$f8,\$f10 23 0+0034 <[^>]*> 46ca403b c\.ngl\.ps \$f8,\$f10 35 0+0064 <[^>]*> 46ca4038 c\.sf\.ps \$f8,\$f10 50 0+00a0 <[^>]*> 46c0d606 mov\.ps \$f24,\$f26 [all …]
|
H A D | micromips@mips5-fp.d | 11 [0-9a-f]+ <[^>]*> 5402 437b abs\.ps \$f0,\$f2 12 [0-9a-f]+ <[^>]*> 54c4 1230 add\.ps \$f2,\$f4,\$f6 14 [0-9a-f]+ <[^>]*> 5548 08bc c\.eq\.ps \$f8,\$f10 16 [0-9a-f]+ <[^>]*> 5548 083c c\.f\.ps \$f8,\$f10 18 [0-9a-f]+ <[^>]*> 5548 0bbc c\.le\.ps \$f8,\$f10 20 [0-9a-f]+ <[^>]*> 5548 0b3c c\.lt\.ps \$f8,\$f10 22 [0-9a-f]+ <[^>]*> 5548 0b7c c\.nge\.ps \$f8,\$f10 24 [0-9a-f]+ <[^>]*> 5548 0afc c\.ngl\.ps \$f8,\$f10 36 [0-9a-f]+ <[^>]*> 5548 0a3c c\.sf\.ps \$f8,\$f10 51 [0-9a-f]+ <[^>]*> 571a 407b mov\.ps \$f24,\$f26 [all …]
|
/netbsd/external/lgpl3/gmp/dist/ |
H A D | nextprime.c | 72 d = ps->d; in gmp_nextprime() 73 sp = ps->s + d; in gmp_nextprime() 84 if (ps->s0 < 3) in gmp_nextprime() 93 for (sp = ps->s; sp < ps->s + SIEVESIZE; sp++) in gmp_nextprime() 102 while ((ps->sqrt_s0 + 1) * (ps->sqrt_s0 + 1) <= ps->s0 + 2 * SIEVESIZE - 1) in gmp_nextprime() 103 ps->sqrt_s0++; in gmp_nextprime() 110 sp = ps->s + pi; in gmp_nextprime() 121 sp = ps->s + pi; in gmp_nextprime() 132 sp = ps->s + pi; in gmp_nextprime() 155 ps->d = 0; in gmp_nextprime() [all …]
|
/netbsd/common/lib/libprop/ |
H A D | prop_string.c | 156 ps = NULL; in _prop_string_free() 159 if (ps == NULL) in _prop_string_free() 221 return (ps); in _prop_string_alloc() 251 ps = ops; in _prop_string_instantiate() 258 return (ps); in _prop_string_instantiate() 295 return (ps); in prop_string_create_cstring() 339 if (ps == NULL) in prop_string_create_format() 342 return (ps); in prop_string_create_format() 395 if (ps == NULL) in prop_string_copy() 398 return (ps); in prop_string_copy() [all …]
|
/netbsd/external/gpl3/gdb/dist/sim/frv/ |
H A D | profile.c | 731 ccr = ps->ccr_busy; in update_latencies() 744 spr = ps->spr_busy; in update_latencies() 754 idiv = ps->idiv_busy; in update_latencies() 816 if (ps->vliw_load_stall > ps->vliw_wait) in handle_resource_wait() 817 ps->vliw_load_stall -= ps->vliw_wait; in handle_resource_wait() 863 ccr = ps->ccr_busy; in update_target_latencies() 875 spr = ps->spr_busy; in update_target_latencies() 915 ps->vliw_wait = 0; in frvbf_model_insn_before() 916 ps->post_wait = 0; in frvbf_model_insn_before() 917 memset (ps->fr_busy_adjust, 0, sizeof (ps->fr_busy_adjust)); in frvbf_model_insn_before() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/sim/frv/ |
H A D | profile.c | 731 ccr = ps->ccr_busy; in update_latencies() 744 spr = ps->spr_busy; in update_latencies() 754 idiv = ps->idiv_busy; in update_latencies() 816 if (ps->vliw_load_stall > ps->vliw_wait) in handle_resource_wait() 817 ps->vliw_load_stall -= ps->vliw_wait; in handle_resource_wait() 863 ccr = ps->ccr_busy; in update_target_latencies() 875 spr = ps->spr_busy; in update_target_latencies() 915 ps->vliw_wait = 0; in frvbf_model_insn_before() 916 ps->post_wait = 0; in frvbf_model_insn_before() 917 memset (ps->fr_busy_adjust, 0, sizeof (ps->fr_busy_adjust)); in frvbf_model_insn_before() [all …]
|
/netbsd/sys/external/bsd/gnu-efi/dist/lib/ |
H A D | print.c | 223 ZeroMem (&ps, sizeof(ps)); in DbgPrint() 414 ZeroMem (&ps, sizeof(ps)); in _PoolCatPrint() 784 ZeroMem (&ps, sizeof(ps)); in _IPrint() 913 ps->Output(ps->Context, ps->Buffer); in PFLUSH() 915 uefi_call_wrapper(ps->Output, 2, ps->Context, ps->Buffer); in PFLUSH() 916 ps->Pos = ps->Buffer; in PFLUSH() 928 ps->RestoreAttr = ps->Attr; in PSETATTR() 953 if (ps->Pos >= ps->End) { in PPUTC() 1265 PSETATTR(ps, ps->AttrNorm); in _Print() 1273 PSETATTR(ps, ps->AttrError); in _Print() [all …]
|
/netbsd/lib/libc/locale/ |
H A D | multibyte_amd1.c | 59 _ps_to_private(ps), &ret); in mbrlen_l() 79 if (ps == NULL) in mbsinit_l() 82 if (_ps_to_runelocale(ps) == NULL) in mbsinit_l() 85 rl = _ps_to_runelocale(ps); in mbsinit_l() 97 mbsinit(const mbstate_t *ps) in mbsinit() argument 99 return mbsinit_l(ps, _current_locale()); in mbsinit() 111 _ps_to_private(ps), &ret); in mbrtowc_l() 134 _ps_to_private(ps), &ret); in mbsrtowcs_l() 157 _ps_to_private(ps), &ret); in mbsnrtowcs_l() 179 _ps_to_private(ps), &ret); in wcrtomb_l() [all …]
|
/netbsd/sys/kern/ |
H A D | kern_physio.c | 146 if (ps->ps_endoffset == -1 || endoffset < ps->ps_endoffset) { in physio_done() 149 __func__, ps, in physio_done() 156 ps->ps_failed++; in physio_done() 163 ps->ps_running--; in physio_done() 196 cv_wait(&ps->ps_cv, &ps->ps_lock); in physio_wait() 239 ps = kmem_zalloc(sizeof(*ps), KM_SLEEP); in physio() 245 ps->ps_resid = 0; in physio() 370 ps->ps_running++; in physio() 387 physio_wait(ps, 0); in physio() 390 KASSERT(ps->ps_failed || ps->ps_endoffset == -1); in physio() [all …]
|
/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | modulo-sched.c | 297 return &ps->reg_moves[id - ps->g->num_nodes]; in ps_reg_move() 1047 min_cycle = PS_MIN_CYCLE (ps) - SMODULO (PS_MIN_CYCLE (ps), ps->ii); in optimize_sc() 1628 if (ps) in sms_schedule() 1686 min_cycle = PS_MIN_CYCLE (ps) - SMODULO (PS_MIN_CYCLE (ps), ps->ii); in sms_schedule() 2290 reset_sched_times (ps, PS_MIN_CYCLE (ps)); in ps_insert_empty_row() 2291 rotate_partial_schedule (ps, PS_MIN_CYCLE (ps)); in ps_insert_empty_row() 2335 ps->min_cycle = ps->min_cycle + ps->min_cycle / ii in ps_insert_empty_row() 2337 ps->max_cycle = ps->max_cycle + ps->max_cycle / ii in ps_insert_empty_row() 3258 ps->min_cycle = MIN (ps->min_cycle, c); in ps_add_node_check_conflicts() 3259 ps->max_cycle = MAX (ps->max_cycle, c); in ps_add_node_check_conflicts() [all …]
|