/freebsd-11-stable/bin/dd/ |
H A D | misc.c | 61 struct timespec end, ts_res; local 64 if (clock_gettime(CLOCK_MONOTONIC, &end)) 68 secs = (end.tv_sec - st.start.tv_sec) + \ 69 (end.tv_nsec - st.start.tv_nsec) * 1e-9;
|
/freebsd-11-stable/bin/pax/ |
H A D | file_subs.c | 443 * Dirs must be processed again at end of extract to set times 605 * the end of pax 720 * the end (we stop looking at the input). When we reach the start of the 735 * the end. In this case we drop a single 0 at the end to force the 752 char *end; local 771 * only examine up to the end of the current file block or 783 end = st + wcnt; 788 while ((pt < end) && (*pt == '\0')) 791 if (pt == end) { [all...] |
H A D | tables.c | 445 * add the name at the end of the scratch file, saving the 638 * we end up creating links between files that are really not links (after 1119 * have to force the setting at the end. this is stated explicitly in the 1216 * end of file, as this provides far better distribution than any other 1232 char *end; local 1263 end = pt + sizeof(u_int); 1265 while (pt < end) 1275 end = pt + res; 1277 while (pt < end)
|
/freebsd-11-stable/bin/pwait/ |
H A D | pwait.c | 72 char *s, *end; local 82 timeout = strtod(optarg, &end); 83 if (end == optarg || errno == ERANGE || 86 switch(*end) { 134 pid = strtol(s, &end, 10); 135 if (pid < 0 || *end != '\0' || errno != 0) {
|
/freebsd-11-stable/bin/setfacl/ |
H A D | setfacl.c | 112 char *end; local 141 entry_number = strtol(optarg, &end, 10); 142 if (end - optarg != (int)strlen(optarg)) 186 entry_number = strtol(optarg, &end, 10); 187 if (end - optarg == (int)strlen(optarg)) {
|
/freebsd-11-stable/bin/sh/ |
H A D | arith_yylex.c | 58 char *end; local 81 yylval.val = strtoarith_t(buf, &end, 0); 82 arith_buf = end;
|
H A D | eval.c | 1010 goto parent; /* at end of routine */ 1247 char *end; local 1251 n = strtol(argv[1], &end, 10); 1252 if (!is_digit(argv[1][0]) || *end != '\0')
|
H A D | expand.c | 808 if (subtype != VSNORMAL) { /* skip to end of alternative */ 1117 if (metaflag == 0) { /* we've reached the end of the file name */ 1230 * after the final closing bracket is stored into *end, otherwise a null 1231 * pointer is stored into *end. 1234 match_charclass(const char *p, wchar_t chr, const char **end) argument 1240 *end = NULL; 1248 *end = nameend + 2; 1264 const char *p, *q, *end; local 1344 found |= match_charclass(p, chr, &end); 1345 if (end ! [all...] |
/freebsd-11-stable/bin/test/ |
H A D | test.c | 422 find_op_1char(const struct t_op *op, const struct t_op *end, const char *s) argument 427 while (op != end) { 436 find_op_2char(const struct t_op *op, const struct t_op *end, const char *s) argument 438 while (op != end) {
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/ |
H A D | dtrace.c | 446 char *buf, *start, *end; local 478 if ((end = strstr(buf, g_etcend)) == NULL) { 479 fatal("missing end sentinel in %s; manual repair of %s " 483 if (start > end) { 484 fatal("end sentinel preceeds start sentinel in %s; manual " 488 end += strlen(g_etcend) + 1; 489 bcopy(end, start, strlen(end) + 1); 965 char buf[512], *c = buf, *end = c + sizeof (buf); local 997 (void) snprintf(c, end [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/ |
H A D | badioctl.c | 64 hrtime_t now, last = 0, end; local
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.basename.d | 59 end = i; 66 /i < end/ 84 /i == end/
|
H A D | tst.cleanpath.d | 55 end = i; 60 /i < end/ 67 /i == end/
|
H A D | tst.index.d | 82 end = j = k = 0; 87 /j < i && end == 0/ 141 /j == i && end == 0/ 143 end = k; 148 /end != 0 && i < end && !command[i].haspos/ 166 /end != 0 && i < end && !command[i].haspos/ 184 /end != 0 && i < end [all...] |
H A D | tst.strtok.d | 127 end = i; 132 /i < end && 143 /++i == end/
|
H A D | tst.substr.d | 174 end = i; 181 /i < end && command[i].nolen/ 204 /i < end && !command[i].nolen/ 227 /++i == end/
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/plockstat/ |
H A D | plockstat.c | 782 char *p, *end; local 807 g_nent = strtoul(optarg, &end, 10); 808 if (*end != '\0' || errno != 0) { 907 (void) strtoul(optarg, &end, 10); 908 if (*optarg == '-' || *end != '\0' || errno != 0) { 921 dprog_add("tick-10hz\n/timestamp >= end/\n"); 956 pid = strtoul(argv[0], &end, 10); 957 if (*end != '\0' || errno != 0 || (pid_t)pid != pid) {
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zdb/ |
H A D | zdb.c | 2187 uint64_t end; local 2204 end = start; 2206 DNODE_FIND_HOLE, &end, minlvl, blkfill, 0); 2207 zdb_nicenum(end - start, segsize, sizeof (segsize)); 2210 (u_longlong_t)end, segsize); 2213 start = end; 3150 uint64_t end = sme->sme_offset + sme->sme_run; local 3171 VERIFY3U(end, <=, ms->ms_start + ms->ms_size); 4161 uint64_t end = sme->sme_offset + sme->sme_run; local 4178 VERIFY3U(end, < [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zinject/ |
H A D | translate.c | 200 char *end; local 203 record->zi_start = strtoull(range, &end, 10); 206 if (*end == '\0') 208 else if (*end == ',') 209 record->zi_end = strtoull(end + 1, &end, 10); 211 if (*end != '\0') { 213 "a numeric range of the form 'start[,end]'\n", 433 char *end; local 445 record->zi_guid = strtoull(device, &end, 1 [all...] |
H A D | zinject.c | 82 * range A numerical range [start,end) within the object. Defaults to 106 * zinject [-f freq] [-a] [-m] [-u] -b objset:object:level:start:end pool 287 "\t\tat the end of the duration.\n" 662 char *end; local 778 record.zi_duration = (int)strtol(optarg, &end, 10); 779 if (record.zi_duration <= 0 || *end != '\0') { 798 level = (int)strtol(optarg, &end, 10); 799 if (*end != '\0') { 822 record.zi_duration = (int)strtol(optarg, &end, 10); 823 if (record.zi_duration <= 0 || *end ! [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_vdev.c | 1197 char *end; local 1206 nparity = strtol(p, &end, 10); 1208 *end != '\0')
|
/freebsd-11-stable/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_lookup.c | 85 const char *p, *q, *end; local 92 for (p = name, end = name + strlen(name); *p != '\0'; p = q) { 96 if (p == end) 100 q = end; /* compare until end */ 139 q = end; /* compare until end */
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_cc.c | 1807 * Reset context-dependent variables and state at the end of cooking a D probe 1916 * We start cpp just prior to the \n at the end of this line so that 2045 const char *end; local 2049 if ((end = strrchr(arg, '/')) == NULL) 2060 (void) strlcpy(dld->dtld_libpath, arg, end - arg + 2); 2249 const char *p, *end; local 2281 end = strrchr(dld->dtld_library, '/'); 2283 assert(end != NULL); 2284 if (strcmp(end + 1, dp->d_name) == 0)
|
H A D | dt_options.c | 614 char *end; local 650 val = strtoull(arg, &end, 0); 652 if (*end != '\0' || errno != 0 || val < 0) 666 char *end; local 693 *rval = strtoull(arg, &end, 0) * mul; 695 if ((mul > 1 && end != &arg[len - 1]) || (mul == 1 && *end != '\0') || 717 char *end; local 745 val = strtoull(arg, &end, 0); 748 if (strcasecmp(suffix[i].name, end) [all...] |
H A D | dt_parser.c | 46 * are done as part of the end of dt_compile() or as part of destroying 200 const char *p, *q, *r, *end, *obj; local 202 for (p = s, end = s + strlen(s); *p != '\0'; p = q) { 206 if (p == end || (q = strpbrk(p + 1, delimiters)) == NULL) 211 char *type = alloca((size_t)(end - s) + 1); 1235 * index to the end, advancing using the increment, and searching until we 1747 } /* end of switch */ 2578 "end with a digit: %s\n", name); 2597 * Note that if dnp->dn_provred is true, we may end up storing dups of 2603 continue; /* skip to end o [all...] |