Searched defs:scan (Results 1 - 24 of 24) sorted by relevance

/ast/src/lib/libexpr/
H A Dexcc.c148 scan(Excc_t* cc, Exnode_t* expr) function
287 scan(cc, expr);
H A Dexparse.y139 %type <id> SCANF SSCANF scan
787 | scan '(' args ')'
794 $$->data.scan.descriptor = $3->data.operand.left;
801 $$->data.scan.descriptor = 0;
806 $$->data.scan.descriptor = $3->data.operand.left;
815 $$->data.scan.format = $3->data.operand.left;
816 for (x = $$->data.scan.args = $3->data.operand.right; x; x = x->data.operand.right)
920 scan : SCANF label
H A Dexeval.c402 scan(Expr_t* ex, Exnode_t* expr, void* env, Sfio_t* sp) function
411 if (expr->data.scan.descriptor)
413 v = eval(ex, expr->data.scan.descriptor, env);
414 if (expr->data.scan.descriptor->type == STRING)
431 u = eval(ex, expr->data.scan.format, env);
433 fmt.actuals = expr->data.scan.args;
804 v.integer = scan(ex, expr, env, NiL);
/ast/src/cmd/std/
H A Dpss-ps.c45 int scan; member in struct:State_s
105 if (pid || !state->scan)
148 state->scan = 0;
152 state->scan = 1;
H A Dlocale.c850 static int scan(Sfio_t*, Keyword_t*, unsigned long);
920 scan(sp, key, flags|LC_recursive);
957 * scan all locales matching flags
961 scan(Sfio_t* sp, Keyword_t* key, unsigned long flags) function
1124 return scan(sfstdout, NiL, flags);
/ast/src/lib/libast/tm/
H A Dtmxscan.c29 * scan date expression in s using format
165 * the format scan workhorse
169 scan(register const char* s, char** e, const char* format, char** f, Time_t t, long flags) function
514 x = scan(s, &q, v, &r, t, flags);
532 return scan(s, e, format, f, t, flags);
/ast/src/lib/libdll/
H A Ddllscan.c208 * open a scan stream
216 Dllscan_t* scan; local
243 if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen()))
248 scan->vm = vm;
250 scan->flags = info->flags;
253 scan->lib = (char**)(scan + 1);
254 s = *scan->lib = (char*)(scan
359 dllsclose(Dllscan_t* scan) argument
379 dllsread(register Dllscan_t* scan) argument
[all...]
/ast/src/cmd/coshell/
H A Dschedule.c99 static unsigned long scan; local
204 scan++;
234 if (!(scan & ((1<<W_TEMP) - 1))) ap->temp >>= W_TEMP;
/ast/src/cmd/cs/
H A Ddbm.c34 * next [``value''] return next key in scan with optional value
35 * open file [r|w|rw] open [rw] + implicit scan
37 * scan initialize for scan
88 int scan; /* scan in progress */ member in struct:__anon75
134 cp->scan = 0;
189 if (!cp->scan)
191 cp->scan = 1;
216 cp->scan
[all...]
/ast/src/lib/libdss/
H A Dtag.c809 scan(Tag_t* tag, Tagframe_t* fp, Tagscan_f visit, void* handle, register Tags_t* tags, Tagdisc_t* disc) function
858 if (r = scan(tag, &frame, visit, handle, nest, disc))
871 * scan the tag tree
888 r = scan(tag, NiL, visit, handle, tags, disc);
/ast/src/cmd/mailx/
H A Dlist.c160 * given message. For the purpose of the scan, we ignore case differences.
174 str = state.last.scan;
176 strncopy(state.last.scan, str, sizeof(state.last.scan));
374 tok = scan(&bufp);
402 tok = scan(&bufp);
479 tok = scan(&bufp);
482 tok = scan(&bufp);
771 * scan out a single lexical item and return its token number,
793 scan(cha function
[all...]
H A Dmailx.h647 int lexnumber; /* Number of TNUMBER from scan() */
648 char lexstring[STRINGLEN]; /* String from TSTRING, scan() */
694 char scan[LASTSIZE]; /* Last message search string */ member in struct:__anon136::__anon139
1022 extern int scan(char**);
/ast/src/cmd/pax/
H A Dmisc.c35 scan(void) function
69 * dll format scan kicked in when static formats exhausted
80 fp = scan();
/ast/src/cmd/html/
H A Dhtmlrefs.c459 scan(State_t* state, FTS* fts) function
612 while (ent = scan(state, fts))
1177 while (ent = scan(state, fts))
1207 while (ent = scan(state, fts))
/ast/src/cmd/ksh93/sh/
H A Dnvtree.c585 int scan,tabs=0,c,more,associative = 0; local
625 scan = ap->nelem&ARRAY_SCAN;
634 ap->nelem |= scan;
674 ap->nelem |= scan;
H A Darray.c610 int scan,nofree = nv_isattr(np,NV_NOFREE); local
618 scan = ap->nelem&ARRAY_SCAN;
642 ap->nelem |= scan;
1528 int scan = 0; local
1540 scan = ap->nelem&ARRAY_SCAN;
1551 if(scan)
1552 ap->nelem |= scan;
H A Dname.c1060 int scan = ap?(ap->nelem&ARRAY_SCAN):0;
1086 if(scan)
2263 struct scan struct
2276 register struct scan *sp = (struct scan*)data;
2324 struct scan sdata;
/ast/src/lib/libtksh/tcl/
H A Dregexp.c181 char *regparse; /* Input-scan pointer. */
242 register char *scan; local
283 scan = r->program+1; /* First BRANCH. */
284 if (OP(regnext(scan)) == END) { /* Only one top-level choice. */
285 scan = OPERAND(scan);
288 if (OP(scan) == EXACTLY)
289 r->regstart = *OPERAND(scan);
290 else if (OP(scan) == BOL)
304 for (; scan !
694 register char *scan; local
873 register char *scan; /* Current node. */ local
1075 register char *scan; local
[all...]
/ast/src/lib/libz/
H A Ddeflate.c1032 register Bytef *scan = s->window + s->strstart; /* current string */ local
1050 register ush scan_start = *(ushf*)scan;
1051 register ush scan_end = *(ushf*)(scan+best_len-1);
1054 register Byte scan_end1 = scan[best_len-1];
1055 register Byte scan_end = scan[best_len];
1093 /* It is not necessary to compare scan[2] and match[2] since they are
1102 Assert(scan[2] == match[2], "scan[2]?");
1103 scan++, match++;
1105 } while (*(ushf*)(scan
1179 register Bytef *scan = s->window + s->strstart; /* current string */ local
[all...]
/ast/src/cmd/nmake/
H A Dscan.c25 * make language dependent scan support
34 #define SCAN_nopropagate (1<<2) /* don't propagate scan index */
35 #define SCAN_state (1<<3) /* scan for state vars */
36 #define SCAN_override (1<<4) /* no scan override warning */
55 #define SCANBUFFER 4096 /* scan buffer size */
79 int scan; /* scan index */ member in struct:Action_s
91 typedef struct Scan_s /* scan info */
95 char* external; /* external scan */
106 * default scan strategie
1757 scan(register Rule_t* r, Time_t* tm) function
[all...]
H A Dobject.c85 * 1 # encoded status|semaphore|view|scan
236 #define noswap scan /* 0 or char elts after here */
238 unsigned char scan; /* file scan strategy index */ member in struct:OLD_rule_s
590 sfputu(cs->fp, (r->semaphore<<16)|(r->view<<8)|(r->scan));
1657 oscan = internal.scan->scan;
1814 r->scan = old_rule.scan;
1821 if ((r->property & P_attribute) && (r->attribute && !(r->property & P_use) && !streq(r->name, internal.attribute->name) || r->scan
[all...]
H A Dmake.h263 #define SCAN_IGNORE 1 /* .SCAN.IGNORE scan index */
264 #define SCAN_NULL 2 /* .SCAN.NULL scan index */
265 #define SCAN_STATE 3 /* .SCAN.STATE scan index */
266 #define SCAN_USER 8 /* first user defined scan index */
267 #define SCAN_MAX UCHAR_MAX/* max scan index */
378 #define M_scan (1<<6) /* scan recursion mark */
393 #define V_scan (1<<8) /* scan for implicit state var */
508 unsigned char scan; /* file scan strategy index */ member in struct:Rule_s
614 Rule_t* scan; /* member in struct:Internal_s
812 unsigned char scan; /* scan|check implicit prereqs */ member in struct:State_s
[all...]
/ast/src/cmd/sort/
H A Dmain.c1015 off_t scan; local
1027 if ((scan = INREC) >= ideal)
1028 scan = (ideal / 32) * 4;
1037 if (((size = ideal) + scan) >= total)
1047 size -= scan / 2;
1050 if (!(b = (char*)sfreserve(ip, scan, 0)))
1052 s = t = b + scan / 2 - 1;
1058 if (((size += scan) + offset) >= (total - scan))
1062 if (!(b = (char*)sfreserve(ip, scan,
[all...]
/ast/src/cmd/INIT/
H A Dmamake.c1778 * scan makefile prereqs
1782 scan(Dict_item_t* item, void* handle) function
2056 * scan the makefile and descend
2059 walk(state.rules, scan, NiL);

Completed in 105 milliseconds