Home
last modified time | relevance | path

Searched refs:nfields (Results 1 – 22 of 22) sorted by relevance

/openbsd/regress/lib/libc/regex/
H A Dsplit.c7 int split(char *string, char *fields[], int nfields, char *sep);
14 split(char *string, char *fields[], int nfields, char *sep) in split() argument
43 fn = nfields; in split()
51 return(nfields - fn); in split()
55 fn = nfields; in split()
67 fn = nfields; in split()
75 return(nfields - fn); in split()
85 fn = nfields; in split()
101 if (fn == nfields+1) in split()
112 if (fn < nfields) in split()
[all …]
/openbsd/gnu/usr.bin/binutils/gdb/
H A Djv-lang.c340 int ninterfaces, nfields, nmethods; in java_link_class_type() local
377 nfields += TYPE_N_BASECLASSES (type); in java_link_class_type()
378 nfields++; /* Add one for dummy "class" field. */ in java_link_class_type()
379 TYPE_NFIELDS (type) = nfields; in java_link_class_type()
386 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields)); in java_link_class_type()
390 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields)); in java_link_class_type()
394 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields)); in java_link_class_type()
395 B_CLRALL (TYPE_FIELD_IGNORE_BITS (type), nfields); in java_link_class_type()
423 SET_FIELD_PHYSADDR (TYPE_FIELD (type, nfields), in java_link_class_type()
425 TYPE_FIELD_NAME (type, nfields) = "class"; in java_link_class_type()
[all …]
H A Dstabsread.c3142 int nfields = 0; in attach_fields_to_type() local
3153 nfields++; in attach_fields_to_type()
3164 TYPE_NFIELDS (type) = nfields; in attach_fields_to_type()
3174 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields)); in attach_fields_to_type()
3178 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields)); in attach_fields_to_type()
3182 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields)); in attach_fields_to_type()
3190 while (nfields-- > 0) in attach_fields_to_type()
3192 TYPE_FIELD (type, nfields) = fip->list->field; in attach_fields_to_type()
3196 SET_TYPE_FIELD_PRIVATE (type, nfields); in attach_fields_to_type()
3200 SET_TYPE_FIELD_PROTECTED (type, nfields); in attach_fields_to_type()
[all …]
H A Dremote-mips.c1715 int nfields; in mips_wait() local
1756 if (nfields >= 3) in mips_wait()
1772 if (nfields == 9) in mips_wait()
1811 if (nfields == 1 && rpc == 1) in mips_wait()
2404 int nfields; in common_breakpoint() local
2444 nfields = sscanf (buf, "0x%x b 0x0 0x%x", &rpid, &rerrflg); in common_breakpoint()
2445 if (nfields != 2) in common_breakpoint()
2495 nfields = sscanf (buf, "0x%x %c 0x%x 0x%x", in common_breakpoint()
2497 if (nfields != 4 || rcmd != cmd || rresponse > 255) in common_breakpoint()
2561 nfields = sscanf (buf, "0x%x %c 0x%x 0x%x", in common_breakpoint()
[all …]
H A Ddwarfread.c942 int nfields = 0; in struct_type() local
1071 nfields++; in struct_type()
1084 if (nfields == 0) in struct_type()
1090 TYPE_NFIELDS (type) = nfields; in struct_type()
1092 TYPE_ALLOC (type, sizeof (struct field) * nfields); in struct_type()
1094 for (n = nfields; list; list = list->next) in struct_type()
1660 int nfields = 0; in enum_type() local
1719 nfields++; in enum_type()
1740 if (nfields > 0) in enum_type()
1744 TYPE_NFIELDS (type) = nfields; in enum_type()
[all …]
H A Dhpread.c3730 nfields++; in hpread_read_struct_type()
4047 nfields++; in hpread_read_struct_type()
4082 nfields++; in hpread_read_struct_type()
4103 nfields++; in hpread_read_struct_type()
4124 nfields++; in hpread_read_struct_type()
4200 nfields++; in hpread_read_struct_type()
4273 TYPE_NFIELDS (type) = nfields; in hpread_read_struct_type()
4330 while (nfields-- > 0) in hpread_read_struct_type()
4333 SET_TYPE_FIELD_VIRTUAL (type, nfields); in hpread_read_struct_type()
4335 SET_TYPE_FIELD_PRIVATE (type, nfields); in hpread_read_struct_type()
[all …]
H A Dcoffread.c1937 int nfields = 0; in coff_read_struct_type() local
1976 nfields++; in coff_read_struct_type()
1995 nfields++; in coff_read_struct_type()
2005 TYPE_NFIELDS (type) = nfields; in coff_read_struct_type()
2007 TYPE_ALLOC (type, sizeof (struct field) * nfields); in coff_read_struct_type()
2011 for (n = nfields; list; list = list->next) in coff_read_struct_type()
H A Dada-lang.c6040 int nfields, bit_len; in ada_template_to_fixed_record_type_1() local
6050 nfields = TYPE_NFIELDS (type); in ada_template_to_fixed_record_type_1()
6053 nfields = 0; in ada_template_to_fixed_record_type_1()
6057 nfields++; in ada_template_to_fixed_record_type_1()
6063 TYPE_NFIELDS (rtype) = nfields; in ada_template_to_fixed_record_type_1()
6075 for (f = 0; f < nfields; f += 1) in ada_template_to_fixed_record_type_1()
6210 int nfields; in template_to_static_fixed_type() local
6216 nfields = TYPE_NFIELDS (type0); in template_to_static_fixed_type()
6219 for (f = 0; f < nfields; f += 1) in template_to_static_fixed_type()
6264 int nfields = TYPE_NFIELDS (type); in to_record_with_fixed_variant_part() local
[all …]
H A Ddwarf2read.c613 int nfields; member
3256 fip->nfields++; in dwarf2_add_field()
3416 int nfields = fip->nfields; in dwarf2_attach_fields_to_type() local
3420 TYPE_NFIELDS (type) = nfields; in dwarf2_attach_fields_to_type()
3430 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields)); in dwarf2_attach_fields_to_type()
3459 while (nfields-- > 0) in dwarf2_attach_fields_to_type()
3465 SET_TYPE_FIELD_PRIVATE (type, nfields); in dwarf2_attach_fields_to_type()
3469 SET_TYPE_FIELD_PROTECTED (type, nfields); in dwarf2_attach_fields_to_type()
3483 if (nfields < fip->nbaseclasses) in dwarf2_attach_fields_to_type()
3489 SET_TYPE_FIELD_VIRTUAL (type, nfields); in dwarf2_attach_fields_to_type()
[all …]
H A Dgdbtypes.h382 short nfields; member
810 #define TYPE_NFIELDS(thistype) TYPE_MAIN_TYPE(thistype)->nfields
H A Dmdebugread.c855 int nfields; in parse_symbol() local
886 nfields = 0; in parse_symbol()
923 if (nfields == 0 && type_code == TYPE_CODE_UNDEF) in parse_symbol()
946 nfields++; in parse_symbol()
1031 if (nfields > 1 && max_value == 0) in parse_symbol()
1058 TYPE_NFIELDS (t) = nfields; in parse_symbol()
1061 nfields * sizeof (struct field))); in parse_symbol()
H A DChangeLog-19961891 (read_cfront_static_fields): Remove unused variable "nfields".
H A DChangeLog-199169 * symmisc.c: Remove unused 'nfields' variable.
H A DChangeLog-19998439 msize->method_count, nfields->field_count, bfsize->size_in_bytes,
/openbsd/usr.bin/awk/
H A Dlib.c75 makefields(1, nfields); in recinit()
408 if (i > nfields) in fldbld()
424 if (i > nfields) in fldbld()
458 if (i > nfields) in fldbld()
480 if (i > nfields) in fldbld()
494 if (i > nfields) in fldbld()
534 if (n > nfields) in newfld()
545 if (n > nfields) in setlastfld()
567 int nf = 2 * nfields; in growfldtab()
580 nfields = nf; in growfldtab()
[all …]
H A Dmain.c40 extern int nfields;
/openbsd/usr.sbin/zic/
H A Dzic.c756 int nfields, wantcont, num; in infile() local
776 nfields = 0; in infile()
781 fields[nfields] = &nada; in infile()
782 ++nfields; in infile()
784 if (nfields == 0) { in infile()
794 inrule(fields, nfields); in infile()
801 inlink(fields, nfields); in infile()
811 inleap(fields, nfields); in infile()
907 if (nfields < ZONE_MINFIELDS || nfields > ZONE_MAXFIELDS) { in inzone()
949 if (nfields < ZONEC_MINFIELDS || nfields > ZONEC_MAXFIELDS) { in inzcont()
[all …]
/openbsd/usr.bin/uniq/
H A Duniq.c193 long long nchars, nfields; in skip() local
198 for (nfields = numfields; nfields && *str; nfields--) { in skip()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20001203-2.c22 short nfields; member
57 (result_type)->nfields = 1; in create_array_type()
/openbsd/usr.sbin/nsd/
H A Dconfigure12918 nfields = split(line, field, "@")
12921 for (i = 2; i < nfields; i++) {
/openbsd/usr.sbin/unbound/
H A Dconfigure25619 nfields = split(line, field, "@")
25622 for (i = 2; i < nfields; i++) {
/openbsd/gnu/usr.bin/gcc/gcc/java/
H A DChangeLog11133 * class.c (make_class_data): Renamed bfsize, nfields, nsfields,