Searched refs:nfields (Results 1 - 25 of 48) sorted by relevance

12

/freebsd-11-stable/contrib/tzdata/
H A Dzoneinfo2tdf.pl32 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-11-stable/contrib/netbsd-tests/lib/libc/regex/
H A Dtest_regex.h41 int split(char *string, char *fields[], int nfields, const char *sep);
H A Dsplit.c41 * 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-11-stable/lib/libc/regex/grot/
H A Dsplit.c11 == 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-11-stable/contrib/gdb/gdb/
H A Djv-lang.c338 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 Ddwarfread.c931 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 Dremote-mips.c1720 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 Dstabsread.c3192 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 Dhpread.c3628 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 Ddwarf2read.c550 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 Dada-lang.c5964 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 Dcoffread.c1947 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-11-stable/contrib/groff/src/preproc/refer/
H A Dref.cpp55 : h(0), merged(0), no(-1), field(0), nfields(0), label_ptr(0),
141 nfields++;
142 field = new string[nfields];
156 if (nfields > 0)
157 ad_delete(nfields) field;
173 int old_nfields = nfields;
174 nfields = 0;
177 nfields++;
178 if (nfields != old_nfields) {
181 field = new string[nfields];
[all...]
H A Dref.h56 int nfields; member in class:reference
/freebsd-11-stable/bin/sh/
H A Dmknodes.c80 int nfields; /* number of fields in the structure */ member in struct:str
138 if (curstr && curstr->nfields > 0)
152 sp->nfields = 0;
175 fp = &curstr->field[curstr->nfields];
204 curstr->nfields++;
237 for (i = sp->nfields, fp = sp->field ; --i >= 0 ; fp++) {
320 for (i = sp->nfields ; --i >= 1 ; ) {
/freebsd-11-stable/contrib/one-true-awk/
H A Dlib.c46 int nfields = MAXFLD; /* last allocated slot for $i */ variable
62 || (fldtab = (Cell **) malloc((nfields+1) * sizeof(Cell *))) == NULL
68 makefields(1, nfields);
296 if (i > nfields)
312 if (i > nfields)
332 if (i > nfields)
346 if (i > nfields)
383 if (n > nfields)
394 if (n > nfields) /* fields after NF are empty */
401 int nf = 2 * nfields;
[all...]
H A Dmain.c41 extern int nfields;
/freebsd-11-stable/contrib/tzcode/zic/
H A Dzic.c125 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-11-stable/lib/libcasper/services/cap_grp/
H A Dcap_grp.h53 size_t nfields);
H A Dcap_grp.c389 size_t nfields)
403 for (i = 0; i < nfields; i++)
388 cap_grp_limit_fields(cap_channel_t *chan, const char * const *fields, size_t nfields) argument
/freebsd-11-stable/lib/libcasper/services/cap_pwd/
H A Dcap_pwd.h53 size_t nfields);
/freebsd-11-stable/usr.bin/uniq/
H A Duniq.c300 int nchars, nfields; local
302 for (nfields = 0; *str != L'\0' && nfields++ != numfields; ) {
/freebsd-11-stable/lib/libradius/
H A Dradlib.c501 int nfields; local
536 nfields = split(buf, fields, MAX_FIELDS, msg, sizeof msg);
537 if (nfields == -1) {
542 if (nfields == 0)
552 if (nfields >= MAX_FIELDS) {
558 nfields++;
559 for (i = nfields; --i > 0; )
563 if (nfields < 3) {
/freebsd-11-stable/contrib/apr-util/dbd/
H A Dapr_dbd_mysql.c715 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-11-stable/lib/libtacplus/
H A Dtaclib.c841 int nfields; local
869 nfields = split(buf, fields, 4, msg, sizeof msg);
870 if (nfields == -1) {
875 if (nfields == 0)
877 if (nfields < 2) {

Completed in 207 milliseconds

12