Searched defs:end (Results 1 - 25 of 100) sorted by relevance

1234

/ast/src/lib/libast/string/
H A Dfmtversion.c36 register char* end; local
41 end = cur + n;
43 sfsprintf(cur, end - cur, "%04lu-%02lu-%02lu", (v / 10000) % 10000, (v / 100) % 100, v % 100);
47 cur += sfsprintf(cur, end - cur, "%d.", n);
49 cur += sfsprintf(cur, end - cur, "%d.", n);
50 sfsprintf(cur, end - cur, "%ld.%ld", (v >> 8) & 0xff, v & 0xff);
H A Dstreval.c39 userconv(const char* s, char** end, void* handle) argument
41 return((*((Handle_t*)handle)->convert)(s, end));
45 streval(const char* s, char** end, Old_convert_t convert) argument
49 return((handle.convert = convert) ? strexpr(s, end, userconv, &handle) : strexpr(s, end, (Convert_t)0, NiL));
H A Dfmtre.c50 int end; local
54 end = 1;
129 end = 0;
222 if (end)
H A Dstrmatch.c74 * match group end offsets are odd elements of sub
83 register ssize_t* end; local
161 end = sub + n * 2;
162 for (n = 0; sub < end && n <= i; n++)
184 * first char after end of substring returned
H A Dtok.c40 char* end; /* end ('\0') of last token */ member in union:Tok_s::__anon311
43 char chr; /* replace *end with this */
63 p->chr = *(p->ptr.end = s);
78 if (p->flg == FLG_RESTORE && *p->ptr.end != p->chr)
79 *p->ptr.end = p->chr;
106 s = p->ptr.end;
130 p->ptr.end = s;
136 * find the end of this token
151 p->ptr.end
[all...]
H A Dstrexpr.c264 * (long)(*convert)(const char* string, char** end, void* handle)
267 * converted and end is adjusted to point to the next non-converted
268 * character; if string is 0 then end points to an error message string
274 strexpr(const char* s, char** end, long(*convert)(const char*, char**, void*), void* handle) argument
292 if (end) *end = ex.nextchr;
/ast/src/lib/libast/tm/
H A Dtmzone.c39 * if end is non-null then it will point to the next
49 tmzone(register const char* name, char** end, const char* type, int* dst) argument
62 if (end)
63 *end = e;
76 if (tmword(name, end, zp->standard, NiL, 0))
82 if (zp->dst && zp->daylight && tmword(name, end, zp->daylight, NiL, 0))
/ast/src/lib/libtksh/tcl/
H A DtclGet.c48 char *end, *p;
63 i = -(int)strtoul(p, &end, 0);
66 i = strtoul(p, &end, 0);
68 i = strtoul(p, &end, 0);
70 if (end == p) {
86 while ((*end != '\0') && isspace(UCHAR(*end))) {
87 end++;
89 if (*end != 0) {
124 char *end;
47 char *end, *p; local
122 char *end; local
[all...]
H A DtclClock.c211 char *end, *p;
225 i = strtoul(p, &end, 0);
226 if (end == p) {
235 while ((*end != '\0') && isspace(UCHAR(*end))) {
236 end++;
238 if (*end != '\0') {
209 char *end, *p; local
/ast/src/lib/libcmd/
H A Drmdir.c60 register char* end; local
96 end = dir;
97 if (pflag) end += strlen(dir);
116 if (n) *end = '/';
118 do if (end <= dir) goto next; while (*--end != '/');
119 do if (end <= dir) goto next; while (*(end - 1) == '/' && end--);
120 *end
[all...]
/ast/src/lib/libcs/
H A Dmsgbuf.c33 msggetu(char** buf, char* end) argument
42 e = (unsigned char*)end;
58 msgputu(char** buf, char* end, register unsigned long v) argument
70 if ((s = *buf) + n >= end)
92 msggetz(char** buf, char* end, void* data, size_t size) argument
97 i = end - *buf;
98 n = msggetu(buf, end);
111 msgputz(char** buf, char* end, void* data, size_t size) argument
117 n = end - s;
119 msgputu(buf, end,
[all...]
/ast/src/cmd/tksh/
H A Duinit.c30 char *end = av[0] + strlen(av[0]); local
55 if ((len >= 4) && (strcmp(end-4, "tksh") == 0))
58 else if ((len >= 6) && (strcmp(end-6, "tclksh") == 0))
68 if ((len >= 6) && (strcmp(end-6, "tclksh") == 0))
/ast/src/lib/libuu/
H A Duulib.h49 const char* end; member in struct:__anon446
/ast/src/lib/libast/astsa/
H A Dsfstr.h31 char* end; member in struct:Sfstr_s
H A Dstrmatch.c75 char* end[MAXGROUP]; member in struct:__anon246
150 mp->current.beg[n] = mp->current.end[n] = 0;
169 * e is the end (0) of the substring in s
209 mp->current.beg[g] = mp->current.end[g] = 0;
238 if (s > mp->current.end[n])
239 mp->current.end[n] = s;
247 if (s > mp->current.end[n])
248 mp->current.end[n] = s;
498 while (oldp < mp->current.end[n])
541 * match group end offset
[all...]
/ast/src/lib/libtk/generic/
H A DtkGet.c468 char *end;
471 d = strtod(string, &end);
472 if (end == string) {
478 while ((*end != '\0') && isspace(UCHAR(*end))) {
479 end++;
481 switch (*end) {
488 end++;
492 end++;
495 end
458 char *end; local
534 char *end; local
[all...]
H A DtkTextIndex.c210 char *end, *endOfBase;
294 x = strtol(p, &end, 0);
295 if ((end == p) || (*end != ',')) {
298 p = end+1;
299 y = strtol(p, &end, 0);
300 if (end == p) {
304 endOfBase = end;
315 lineIndex = strtol(string, &end, 0) - 1;
316 if ((end
206 char *end, *endOfBase; local
512 char *end, *units; local
[all...]
/ast/src/cmd/3d/
H A Dbio.c35 bvprintf(char** buf, char* end, register const char* format, va_list ap) argument
62 e = end;
64 else e = (p = end) + SHRT_MAX;
353 else z = p - end;
358 bprintf(char** buf, char* end, const char* format, ...) argument
364 n = bvprintf(buf, end, format, ap);
374 char* end; local
381 end = buffer + size;
386 end = buffer;
388 n = bvprintf(buf, end, forma
[all...]
H A Derror.c60 print(char** buf, char* end, register char* name, char* delim) argument
63 register char* e = end;
/ast/src/lib/libz/
H A Dinffast.c36 available, an end-of-block is encountered, or a data error is encountered.
52 TYPE -- reached end of block code, inflate() to interpret next block
77 unsigned char FAR *end; /* while out < end, enough space available */ local
104 end = out + (strm->avail_out - 257);
119 /* decode literals and length/distances until end-of-block or not enough
209 if (op < len) { /* some from end of window */
276 else if (op & 32) { /* end-of-block */
277 Tracevv((stderr, "inflate: end of block\n"));
286 } while (in < last && out < end);
[all...]
H A Dinftrees.c63 int end; /* use base and extra for symbol > end */ local
191 end = 19;
198 end = 256;
203 end = -1;
225 if ((int)(work[sym]) < end) {
229 else if ((int)(work[sym]) > end) {
234 this.op = (unsigned char)(32 + 64); /* end of block */
/ast/src/lib/libast/regex/
H A Dregrexec.c48 unsigned char* end; local
63 end = buf + len;
105 while (r < end && *r != sep)
/ast/src/cmd/pzip/
H A Dpcmp.c122 unsigned char* end; local
175 end = dat + datsize;
186 for (s = p = dat; s < end; p = s, s += cols)
/ast/src/cmd/ss/
H A Dss.c92 Sys_t** end; member in struct:__anon220
110 if (state.next >= state.end)
112 n = state.end - state.base;
115 state.end = (state.next = state.base + n) + n;
228 state.end = state.base + n;
/ast/src/cmd/coshell/
H A Dshell.c218 char* end; local
225 if (tokscan(msg, &end, "%s %d %d %s %s %s %s %s %s", NiL, &id, &flags, &pwd, &out, &err, &att, &env, &act) != 9)

Completed in 71 milliseconds

1234