/freebsd-12-stable/contrib/tzdata/ |
H A D | zoneinfo2tdf.pl | 32 my $nfields = @fields; 33 $nfields >= 5 or warn "bad zone line"; 34 if ($nfields > 6) { 37 splice(@fields, 5, $nfields-5, "@fields[5..$nfields-1]");
|
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/regex/ |
H A D | test_regex.h | 41 int split(char *string, char *fields[], int nfields, const char *sep);
|
H A D | split.c | 41 * nfields number of entries available in fields[] 45 split(char *string, char *fields[], int nfields, const char *sep) argument 74 fn = nfields; 82 return(nfields - fn); 86 fn = nfields; 98 fn = nfields; 106 return(nfields - fn); 116 fn = nfields; 132 if (fn == nfields+1) 143 if (fn < nfields) [all...] |
/freebsd-12-stable/lib/libc/regex/grot/ |
H A D | split.c | 11 == int split(char *string, char *fields[], int nfields, char *sep); 13 - nfields: number of entries available in fields[] 17 split(char *string, char *fields[], int nfields, char *sep) argument 46 fn = nfields; 54 return(nfields - fn); 58 fn = nfields; 70 fn = nfields; 78 return(nfields - fn); 88 fn = nfields; 104 if (fn == nfields [all...] |
/freebsd-12-stable/contrib/gdb/gdb/ |
H A D | jv-lang.c | 338 int ninterfaces, nfields, nmethods; local 374 nfields = value_as_long (value_struct_elt (&temp, NULL, "field_count", NULL, "structure")); 375 nfields += TYPE_N_BASECLASSES (type); 376 nfields++; /* Add one for dummy "class" field. */ 377 TYPE_NFIELDS (type) = nfields; 379 TYPE_ALLOC (type, sizeof (struct field) * nfields); 381 memset (TYPE_FIELDS (type), 0, sizeof (struct field) * nfields); 384 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields)); 385 B_CLRALL (TYPE_FIELD_PRIVATE_BITS (type), nfields); local 388 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields)); 389 B_CLRALL (TYPE_FIELD_PROTECTED_BITS (type), nfields); local 393 B_CLRALL (TYPE_FIELD_IGNORE_BITS (type), nfields); local [all...] |
H A D | dwarfread.c | 931 int nfields = 0; local 1060 nfields++; 1073 if (nfields == 0) 1079 TYPE_NFIELDS (type) = nfields; 1081 TYPE_ALLOC (type, sizeof (struct field) * nfields); 1083 for (n = nfields; list; list = list->next) 1649 int nfields = 0; local 1708 nfields++; 1729 if (nfields > 0) 1733 TYPE_NFIELDS (type) = nfields; [all...] |
H A D | remote-mips.c | 1720 int nfields; 1759 nfields = sscanf (buff, "0x%*x %*c 0x%*x 0x%*x 0x%x 0x%x 0x%x 0x%*x %s", 1761 if (nfields >= 3) 1777 if (nfields == 9) 1816 if (nfields == 1 && rpc == 1) 2410 int nfields; 2450 nfields = sscanf (buf, "0x%x b 0x0 0x%x", &rpid, &rerrflg); 2451 if (nfields != 2) 2501 nfields = sscanf (buf, "0x%x %c 0x%x 0x%x", 2503 if (nfields ! 1717 int nfields; local 2406 int nfields; local [all...] |
H A D | stabsread.c | 3192 int nfields = 0; 3203 nfields++; 3214 TYPE_NFIELDS (type) = nfields; 3216 TYPE_ALLOC (type, sizeof (struct field) * nfields); 3217 memset (TYPE_FIELDS (type), 0, sizeof (struct field) * nfields); 3224 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields)); 3225 B_CLRALL (TYPE_FIELD_PRIVATE_BITS (type), nfields); 3228 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields)); 3229 B_CLRALL (TYPE_FIELD_PROTECTED_BITS (type), nfields); 3232 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields)); 3186 int nfields = 0; local 3219 B_CLRALL (TYPE_FIELD_PRIVATE_BITS (type), nfields); local 3223 B_CLRALL (TYPE_FIELD_PROTECTED_BITS (type), nfields); local 3227 B_CLRALL (TYPE_FIELD_IGNORE_BITS (type), nfields); local [all...] |
H A D | hpread.c | 3628 int n, nfields = 0, n_fn_fields = 0, n_fn_fields_total = 0; 3750 nfields++; 4067 nfields++; 4102 nfields++; 4123 nfields++; 4144 nfields++; 4220 nfields++; 4293 TYPE_NFIELDS (type) = nfields; 4296 obstack_alloc (&objfile->objfile_obstack, sizeof (struct field) * nfields); 4298 for (n = nfields, tmp_lis 3613 int n, nfields = 0, n_fn_fields = 0, n_fn_fields_total = 0; local 4320 B_CLRALL (TYPE_FIELD_VIRTUAL_BITS (type), nfields); local 4324 B_CLRALL (TYPE_FIELD_PRIVATE_BITS (type), nfields); local 4328 B_CLRALL (TYPE_FIELD_PROTECTED_BITS (type), nfields); local 4333 B_CLRALL (TYPE_FIELD_IGNORE_BITS (type), nfields); local [all...] |
H A D | dwarf2read.c | 550 int nfields; member in struct:field_info 2579 fip->nfields++; 2737 int nfields = fip->nfields; local 2741 TYPE_NFIELDS (type) = nfields; 2743 TYPE_ALLOC (type, sizeof (struct field) * nfields); 2744 memset (TYPE_FIELDS (type), 0, sizeof (struct field) * nfields); 2751 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields)); 2752 B_CLRALL (TYPE_FIELD_PRIVATE_BITS (type), nfields); local 2755 (B_TYPE *) TYPE_ALLOC (type, B_BYTES (nfields)); 2756 B_CLRALL (TYPE_FIELD_PROTECTED_BITS (type), nfields); local 2760 B_CLRALL (TYPE_FIELD_IGNORE_BITS (type), nfields); local [all...] |
H A D | ada-lang.c | 5964 int nfields, bit_len; 5968 nfields = TYPE_NFIELDS (type); 5972 TYPE_NFIELDS (rtype) = nfields; 5974 TYPE_ALLOC (rtype, nfields * sizeof (struct field)); 5975 memset (TYPE_FIELDS (rtype), 0, sizeof (struct field) * nfields); 5984 for (f = 0; f < nfields; f += 1) 6074 int nfields; 6080 nfields = TYPE_NFIELDS (templ_type); 6085 TYPE_NFIELDS (type) = nfields; 6087 TYPE_ALLOC (type, nfields * sizeo 5952 int nfields, bit_len; local 6062 int nfields; local 6117 int nfields = TYPE_NFIELDS (type); local [all...] |
H A D | coffread.c | 1947 int nfields = 0; 1986 nfields++; 2005 nfields++; 2015 TYPE_NFIELDS (type) = nfields; 2017 TYPE_ALLOC (type, sizeof (struct field) * nfields); 2021 for (n = nfields; list; list = list->next) 1934 int nfields = 0; local
|
/freebsd-12-stable/lib/libcasper/services/cap_grp/ |
H A D | cap_grp.h | 58 size_t nfields); 84 #define cap_grp_limit_fields(chan, fields, nfields) (0)
|
H A D | cap_grp.c | 391 size_t nfields) 405 for (i = 0; i < nfields; i++) 390 cap_grp_limit_fields(cap_channel_t *chan, const char * const *fields, size_t nfields) argument
|
/freebsd-12-stable/lib/libcasper/services/cap_pwd/ |
H A D | cap_pwd.h | 58 size_t nfields); 78 #define cap_pwd_limit_fields(chan, fields, nfields) (0)
|
H A D | cap_pwd.c | 345 size_t nfields) 359 for (i = 0; i < nfields; i++) 344 cap_pwd_limit_fields(cap_channel_t *chan, const char * const *fields, size_t nfields) argument
|
/freebsd-12-stable/bin/sh/ |
H A D | mknodes.c | 82 int nfields; /* number of fields in the structure */ member in struct:str 140 if (curstr && curstr->nfields > 0) 154 sp->nfields = 0; 177 fp = &curstr->field[curstr->nfields]; 206 curstr->nfields++; 239 for (i = sp->nfields, fp = sp->field ; --i >= 0 ; fp++) { 322 for (i = sp->nfields ; --i >= 1 ; ) {
|
/freebsd-12-stable/contrib/one-true-awk/ |
H A D | lib.c | 46 int nfields = MAXFLD; /* last allocated slot for $i */ variable 62 || (fldtab = (Cell **) malloc((nfields+1) * sizeof(Cell *))) == NULL 69 makefields(1, nfields); 297 if (i > nfields) 313 if (i > nfields) 333 if (i > nfields) 347 if (i > nfields) 384 if (n > nfields) 395 if (n > nfields) /* fields after NF are empty */ 402 int nf = 2 * nfields; [all...] |
H A D | main.c | 41 extern int nfields;
|
/freebsd-12-stable/contrib/tzcode/zic/ |
H A D | zic.c | 125 static void inleap(char ** fields, int nfields); 126 static void inlink(char ** fields, int nfields); 127 static void inrule(char ** fields, int nfields); 128 static int inzcont(char ** fields, int nfields); 129 static int inzone(char ** fields, int nfields); 130 static int inzsub(char ** fields, int nfields, int iscont); 809 register int nfields; local 831 nfields = 0; 832 while (fields[nfields] != NULL) { 835 if (strcmp(fields[nfields], " [all...] |
/freebsd-12-stable/usr.bin/uniq/ |
H A D | uniq.c | 320 int nchars, nfields; local 322 for (nfields = 0; *str != L'\0' && nfields++ != numfields; ) {
|
/freebsd-12-stable/lib/libradius/ |
H A D | radlib.c | 516 int nfields; local 551 nfields = split(buf, fields, MAX_FIELDS, msg, sizeof msg); 552 if (nfields == -1) { 557 if (nfields == 0) 567 if (nfields >= MAX_FIELDS) { 573 nfields++; 574 for (i = nfields; --i > 0; ) 578 if (nfields < 3) {
|
/freebsd-12-stable/contrib/apr-util/dbd/ |
H A D | apr_dbd_mysql.c | 715 int nfields, i; local 736 nfields = mysql_num_fields((*res)->res); 738 (*res)->bind = apr_palloc(pool, nfields*sizeof(MYSQL_BIND)); 739 length = apr_pcalloc(pool, nfields*sizeof(unsigned long)); 741 error = apr_palloc(pool, nfields*sizeof(my_bool)); 743 is_nullr = apr_pcalloc(pool, nfields*sizeof(my_bool)); 744 for ( i = 0; i < nfields; ++i ) {
|
/freebsd-12-stable/lib/libtacplus/ |
H A D | taclib.c | 843 int nfields; local 871 nfields = split(buf, fields, 4, msg, sizeof msg); 872 if (nfields == -1) { 877 if (nfields == 0) 879 if (nfields < 2) {
|
/freebsd-12-stable/contrib/ntp/ntpd/ |
H A D | refclock_nmea.c | 1424 static int field_length(UCC *cp, unsigned int nfields) argument 1428 if (ep && nfields) 1429 while (--nfields && ep && *ep == ',')
|