Home
last modified time | relevance | path

Searched refs:place (Results 1 – 25 of 1024) sorted by relevance

12345678910>>...41

/netbsd/src/usr.bin/pr/
Degetopt.c75 static char *place = EMSG; /* option letter processing */ in egetopt() local
82 *place = savec; in egetopt()
86 if (!*place) { in egetopt()
91 ((*(place = nargv[eoptind]) != '-') && (*place != '+'))) { in egetopt()
92 place = EMSG; in egetopt()
96 delim = (int)*place; in egetopt()
97 if (place[1] && *++place == '-' && !place[1]) { in egetopt()
102 place = EMSG; in egetopt()
110 if ((eoptopt = (int)*place++) == (int)':' || (eoptopt == (int)'?') || in egetopt()
116 if ((eoptopt == (int)'-') && !*place) in egetopt()
[all …]
/netbsd/src/common/lib/libc/stdlib/
Dgetopt.c79 static const char *place = EMSG; /* option letter processing */ in getopt() local
85 if (optreset || *place == 0) { /* update scanning pointer */ in getopt()
87 place = nargv[optind]; in getopt()
88 if (optind >= nargc || *place++ != '-') { in getopt()
90 place = EMSG; in getopt()
93 optopt = *place++; in getopt()
94 if (optopt == '-' && *place == 0) { in getopt()
97 place = EMSG; in getopt()
103 place = EMSG; in getopt()
109 optopt = *place++; in getopt()
[all …]
/netbsd/src/external/bsd/libpcap/dist/missing/
Dgetopt.c63 static char *place = EMSG; /* option letter processing */ in getopt() local
72 if (optreset || !*place) { /* update scanning pointer */ in getopt()
74 if (optind >= nargc || *(place = nargv[optind]) != '-') { in getopt()
75 place = EMSG; in getopt()
78 if (place[1] && *++place == '-') { /* found "--" */ in getopt()
80 place = EMSG; in getopt()
84 optopt = (int)*place++; in getopt()
86 if (!*place) in getopt()
101 if (!*place) in getopt()
110 if (!*place) in getopt()
[all …]
/netbsd/src/external/bsd/tcpdump/dist/missing/
Dgetopt_long.c94 static const char *place = EMSG; /* option letter processing */ variable
219 current_argv = place; in parse_long_options()
414 if (!*place) { /* update scanning pointer */
416 place = EMSG;
432 if (*(place = nargv[optind]) != '-' ||
434 place[1] == '\0') {
436 (place[1] == '\0' && strchr(options, '-') == NULL)) {
438 place = EMSG; /* found non-option */
474 if (place[1] != '\0' && *++place == '-' && place[1] == '\0') {
476 place = EMSG;
[all …]
/netbsd/src/external/bsd/ntp/dist/sntp/libevent/WIN32-Code/
Dgetopt.c91 static char *place = EMSG; /* option letter processing */ local
98 if (optreset || !*place) { /* update scanning pointer */
100 if (optind >= nargc || *(place = nargv[optind]) != '-') {
101 place = EMSG;
104 if (place[1] && *++place == '-' /* found "--" */
105 && place[1] == '\0') {
107 place = EMSG;
111 if ((optopt = (int)*place++) == (int)':' ||
119 if (!*place)
128 if (!*place)
[all …]
Dgetopt_long.c81 static char *place = EMSG; /* option letter processing */ local
87 if (optreset || !*place) { /* update scanning pointer */
89 if (optind >= nargc || *(place = nargv[optind]) != '-') {
90 place = EMSG;
93 if (place[1] && *++place == '-') { /* found "--" */
95 place = EMSG;
99 if ((optopt = (int)*place++) == (int)':' ||
107 if (!*place)
116 if (!*place)
119 if (*place) /* no white space */
[all …]
/netbsd/src/external/bsd/libevent/dist/WIN32-Code/
Dgetopt.c90 static char *place = EMSG; /* option letter processing */ local
97 if (optreset || !*place) { /* update scanning pointer */
99 if (optind >= nargc || *(place = nargv[optind]) != '-') {
100 place = EMSG;
103 if (place[1] && *++place == '-' /* found "--" */
104 && place[1] == '\0') {
106 place = EMSG;
110 if ((optopt = (int)*place++) == (int)':' ||
118 if (!*place)
127 if (!*place)
[all …]
Dgetopt_long.c80 static char *place = EMSG; /* option letter processing */ local
86 if (optreset || !*place) { /* update scanning pointer */
88 if (optind >= nargc || *(place = nargv[optind]) != '-') {
89 place = EMSG;
92 if (place[1] && *++place == '-') { /* found "--" */
94 place = EMSG;
98 if ((optopt = (int)*place++) == (int)':' ||
106 if (!*place)
115 if (!*place)
118 if (*place) /* no white space */
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/
Dgetopt.c62 static char *place = EMSG; /* option letter processing */ in getopt() local
66 if (optreset || !*place) { /* update scanning pointer */ in getopt()
68 if (optind >= nargc || *(place = nargv[optind]) != '-') { in getopt()
69 place = EMSG; in getopt()
72 if (place[1] && *++place == '-') { /* found "--" */ in getopt()
74 place = EMSG; in getopt()
78 if ((optopt = (int)*place++) == (int)':' || in getopt()
86 if (!*place) in getopt()
100 if (!*place) in getopt()
104 if (*place) /* no white space */ in getopt()
[all …]
/netbsd/src/external/gpl3/gdb/dist/opcodes/
Dia64-opc.c304 opcode_verify (ia64_insn opcode, int place, enum ia64_insn_type type) in opcode_verify() argument
306 if (main_table[place].opcode_type != type) in opcode_verify()
310 if (main_table[place].flags in opcode_verify()
316 if (main_table[place].flags & IA64_OPCODE_F2_EQ_F3) in opcode_verify()
331 o2 = elf64_ia64_operands + main_table[place].operands[2]; in opcode_verify()
476 int place = ia64_dis_names[disent].insn_index; in locate_opcode_ent() local
480 if (opcode_verify (opcode, place, type) in locate_opcode_ent()
530 make_ia64_opcode (ia64_insn opcode, const char *name, int place, int depind) in make_ia64_opcode() argument
535 res->type = main_table[place].opcode_type; in make_ia64_opcode()
536 res->num_outputs = main_table[place].num_outputs; in make_ia64_opcode()
[all …]
Dm68k-dis.c655 val = fetch_arg (buffer, place, size, info); \
673 int place = d[1]; in print_insn_arg() local
831 if (place == 'h') in print_insn_arg()
921 if (place == 'k') in print_insn_arg()
929 else if (place == 'C') in print_insn_arg()
946 if (place == 's') in print_insn_arg()
948 else if (place == 'C') in print_insn_arg()
950 else if (place == '8') in print_insn_arg()
952 else if (place == '3') in print_insn_arg()
954 else if (place == 'b') in print_insn_arg()
[all …]
/netbsd/src/external/gpl3/binutils/dist/opcodes/
Dia64-opc.c304 opcode_verify (ia64_insn opcode, int place, enum ia64_insn_type type) in opcode_verify() argument
306 if (main_table[place].opcode_type != type) in opcode_verify()
310 if (main_table[place].flags in opcode_verify()
316 if (main_table[place].flags & IA64_OPCODE_F2_EQ_F3) in opcode_verify()
331 o2 = elf64_ia64_operands + main_table[place].operands[2]; in opcode_verify()
476 int place = ia64_dis_names[disent].insn_index; in locate_opcode_ent() local
480 if (opcode_verify (opcode, place, type) in locate_opcode_ent()
530 make_ia64_opcode (ia64_insn opcode, const char *name, int place, int depind) in make_ia64_opcode() argument
535 res->type = main_table[place].opcode_type; in make_ia64_opcode()
536 res->num_outputs = main_table[place].num_outputs; in make_ia64_opcode()
[all …]
Dm68k-dis.c655 val = fetch_arg (buffer, place, size, info); \
673 int place = d[1]; in print_insn_arg() local
831 if (place == 'h') in print_insn_arg()
921 if (place == 'k') in print_insn_arg()
929 else if (place == 'C') in print_insn_arg()
946 if (place == 's') in print_insn_arg()
948 else if (place == 'C') in print_insn_arg()
950 else if (place == '8') in print_insn_arg()
952 else if (place == '3') in print_insn_arg()
954 else if (place == 'b') in print_insn_arg()
[all …]
/netbsd/src/lib/libc/stdlib/
Dgetopt_long.c93 static const char *place = EMSG; /* option letter processing */ variable
189 if (optreset || !*place) { /* update scanning pointer */ in getopt_internal()
192 place = EMSG; in getopt_internal()
209 if ((*(place = nargv[optind]) != '-') in getopt_internal()
210 || (place[1] == '\0')) { /* found non-option */ in getopt_internal()
211 place = EMSG; in getopt_internal()
243 if (place[1] && *++place == '-') { /* found "--" */ in getopt_internal()
244 place++; in getopt_internal()
248 if ((optchar = (int)*place++) == (int)':' || in getopt_internal()
251 if (!*place) in getopt_internal()
[all …]
/netbsd/src/external/bsd/file/dist/src/
Dgetopt_long.c102 static const char *place = EMSG; /* option letter processing */ variable
207 if (optreset || !*place) { /* update scanning pointer */
210 place = EMSG;
227 if ((*(place = nargv[optind]) != '-')
228 || (place[1] == '\0')) { /* found non-option */
229 place = EMSG;
261 if (place[1] && *++place == '-') { /* found "--" */
262 place++;
266 if ((optchar = (int)*place++) == (int)':' ||
269 if (!*place)
[all …]
/netbsd/src/external/bsd/ntp/dist/libntp/
Dgetopt.c62 register const char *place; in ntp_getopt() local
89 for (place = optstring; place != NULL && *place != '\0'; ++place) in ntp_getopt()
90 if (*place == c) in ntp_getopt()
93 if (place == NULL || *place == '\0' || c == ':' || c == '?') { in ntp_getopt()
97 place++; in ntp_getopt()
98 if (*place == ':') { in ntp_getopt()
/netbsd/src/bin/pax/
Dgetoldopt.c42 const char *place; in getoldopt() local
72 place = strchr(optstring, c); in getoldopt()
74 if (place == NULL || c == ':') { in getoldopt()
79 place++; in getoldopt()
80 if (*place == ':') { in getoldopt()
/netbsd/src/games/adventure/
Dvocab.c65 i = place[object]; in juggle()
77 from = place[object]; in move()
98 if (place[object] == -1) in carry()
100 place[object] = -1; in carry()
118 if (place[object] == -1) in drop()
120 place[object] = where; in drop()
Ddone.c69 if (place[i] == 3 && prop[i] == 0) in score()
95 if (place[magazine] == 108) in score()
158 place[water] = 0; in die()
159 place[oil] = 0; in die()
/netbsd/src/external/gpl3/gcc/dist/libgomp/
Dteam.c58 unsigned int place; member
92 thr->place = data->place; in gomp_thread_start()
344 if (__builtin_expect (gomp_places_list != NULL, 0) && thr->place == 0) in gomp_team_start()
349 thr->place); in gomp_team_start()
399 p = thr->place - 1; in gomp_team_start()
510 unsigned int place = 0; in gomp_team_start() local
571 && pool->threads[i]->place != p + 1) in gomp_team_start()
572 || pool->threads[i]->place <= place_partition_off in gomp_team_start()
573 || pool->threads[i]->place > (place_partition_off in gomp_team_start()
595 if (pool->threads[j]->place in gomp_team_start()
[all …]
Daffinity-fmt.c268 struct gomp_team_state *ts, unsigned int place) in gomp_display_affinity() argument
410 place - 1); in gomp_display_affinity()
414 gomp_display_affinity_place (NULL, 0, &len, place - 1); in gomp_display_affinity()
417 gomp_display_affinity_place (buffer, size, &ret, place - 1); in gomp_display_affinity()
422 gomp_display_affinity_place (buffer, size, &ret, place - 1); in gomp_display_affinity()
447 gomp_thread_self (), &thr->ts, thr->place); in omp_capture_affinity()
480 struct gomp_team_state *ts, unsigned int place) in gomp_display_affinity_thread() argument
485 handle, ts, place); in gomp_display_affinity_thread()
494 handle, ts, place); in gomp_display_affinity_thread()
/netbsd/src/external/gpl3/binutils/dist/ld/emultempl/
Dmmo.em86 struct orphan_save *place = NULL;
133 place = &holds[i].orphansave;
134 if (place->os == NULL)
135 place->os = lang_output_section_find (place->name);
139 if (place == NULL)
142 sure not to place the orphan section after the
174 place = &hold_nonreg;
177 after = place->os;
183 os = lang_insert_orphan (s, secname, 0, after, place, NULL, NULL);
/netbsd/src/sys/external/bsd/drm2/dist/drm/ttm/
Dttm_bo_manager.c58 const struct ttm_place *place, in ttm_bo_man_get_node() argument
68 lpfn = place->lpfn; in ttm_bo_man_get_node()
77 if (place->flags & TTM_PL_FLAG_TOPDOWN) in ttm_bo_man_get_node()
84 place->fpfn, lpfn, mode); in ttm_bo_man_get_node()
/netbsd/src/external/gpl3/binutils/dist/gas/config/
Dtc-spu.c953 char *place = fixP->fx_where + fixP->fx_frag->fr_literal; in md_apply_fix() local
1013 md_number_to_chars (place, val, 1); in md_apply_fix()
1017 md_number_to_chars (place, val, 2); in md_apply_fix()
1022 md_number_to_chars (place, val, 4); in md_apply_fix()
1026 md_number_to_chars (place, val, 8); in md_apply_fix()
1096 place[0] = (place[0] & (~mask >> 24)) | ((res >> 24) & 0xff); in md_apply_fix()
1097 place[1] = (place[1] & (~mask >> 16)) | ((res >> 16) & 0xff); in md_apply_fix()
1098 place[2] = (place[2] & (~mask >> 8)) | ((res >> 8) & 0xff); in md_apply_fix()
1099 place[3] = (place[3] & ~mask) | (res & 0xff); in md_apply_fix()
/netbsd/src/games/tetris/
Dtetris.c225 place(curshape, pos, 1); in main()
227 place(curshape, pos, 0); in main()
242 place(curshape, pos, 1); in main()
269 place(curshape, pos, 1); in main()
278 place(curshape, pos, 0); in main()

12345678910>>...41