Searched defs:hit (Results 1 - 25 of 27) sorted by relevance

12

/ast/src/lib/libdll/
H A Ddllplug.c40 int hit; local
44 err = hit = 0;
51 hit = 1;
99 if (hit)
/ast/src/lib/libast/misc/
H A Drecfmt.c39 unsigned int hit[UCHAR_MAX + 1]; member in struct:__anon292
102 h = q->hit + s[i];
H A Dmime.c79 int hit; member in struct:__anon289
350 wp->hit++;
448 ws.hit = 0;
459 return ws.hit;
463 return ws.hit;
/ast/src/lib/libpz/
H A Dpzfixed.c31 unsigned int hit[UCHAR_MAX + 1]; member in struct:__anon365
100 cp = xp->hit + s[i];
H A Dpzconvert.c216 closure(Pz_t* pz, Chain_t* cp, int n, Pzconvert_t* tab, unsigned char* hit, Pzconvert_t** stk, int i, int j, const char* to) argument
224 if (!hit[m] && streq(tab[m].from->name, stk[i]->to->name))
233 hit[m] = 1;
235 if (k == j || !(cp = closure(pz, cp, n, tab, hit, stk, j, k, to)))
268 unsigned char* hit; local
271 if (!(hit = newof(0, unsigned char, n, 0)))
275 free(hit);
282 hit[i] = 1;
284 if (!j || !(cp = closure(pz, NiL, n, tab, hit, stk, 0, j, t)))
286 free(hit);
[all...]
/ast/src/cmd/ksh93/bltins/
H A Dulimit.c72 register unsigned long hit = 0; local
96 hit = ~0;
100 hit |= (1L<<(-(n+1)));
114 if(hit==0)
118 hit |= (1L<<n);
122 label = (hit&(hit-1));
127 for(tp = shtab_limits; tp->option && hit; tp++,hit>>=1)
129 if(!(hit
[all...]
/ast/src/cmd/sort/
H A Dgen.c36 static unsigned char hit[UCHAR_MAX+1]; variable
95 hit[c] = 1;
101 hit[c] = 1;
107 hit[c] = 1;
114 hit[c] = 1;
119 if (!hit[c])
H A Dmain.c296 size_t hit; /* input buffer index overflow */ member in struct:Sort_s
932 sp->hit = x - key->alignsize;
1348 if (sp->cur > sp->hit)
/ast/src/cmd/std/
H A Dfile.c185 int hit; local
267 hit = 1;
271 hit = 0;
277 hit |= type(mp, p, pattern, &disc);
280 hit |= type(mp, p, pattern, &disc);
282 return !hit;
H A Ddu.c100 Hit_t* hit; local
104 if (hit = newof(0, Hit_t, 1, 0))
106 *hit = *key;
107 dtinsert(dict, hit);
132 Hit_t hit; local
208 memset(&hit, 0, sizeof(hit));
242 hit.id.dev = st.st_dev;
243 hit.id.ino = st.st_ino;
244 if (dtsearch(dict, &hit))
[all...]
/ast/src/cmd/builtin/
H A Dwhat.c67 int hit; member in struct:__anon48
129 goto hit;
137 goto hit;
145 goto hit;
157 hit:
204 state.hit = 1;
238 state.hit = state.single = 0;
285 return error_info.errors != 0 && state.hit;
/ast/src/cmd/pax/
H A Dpax-vdb.c226 unsigned char hit[UCHAR_MAX + 1]; local
233 memzero(hit, sizeof(hit));
235 hit[*(s + n)]++;
241 if ((int)hit[n] > ms)
243 ms = hit[n];
247 else if ((int)hit[n] > mp && isprint(n) && !isalnum(n))
249 mp = hit[n];
/ast/src/cmd/paxlib/calib/
H A Dcamap.c45 register char* hit = (char*)ptr; local
50 hit[*cp++] = 1;
89 register char* hit = (char*)ptr; local
94 if(hit[m]==0)
114 if(hit[n]==0)
119 hit[n] = 1;
/ast/src/lib/libpp/
H A Dpplex.c46 static int hit[LAST-TERMINAL+2]; variable
260 hit[(state & SPLICE) ? (elementsof(hit) - 1) : (TERM(state) - TERMINAL)]++;
553 if (hit[elementsof(hit) - 1])
554 sfprintf(sfstderr, "%7d: SPLICE\n", hit[elementsof(hit) - 1]);
555 for (n = 0; n < elementsof(hit) - 1; n++)
556 if (hit[n])
557 sfprintf(sfstderr, "%7d: %s\n", hit[
[all...]
H A Dppproto.c64 int hit; member in struct:Key_s
2177 int hit; local
2280 hit = (notice || options) ? 0 : HIT_noticed;
2284 while (m-- > 0 && *s && hit != (HIT_prototyped|HIT_noticed))
2305 hit |= pragmas[i].hit;
2306 switch (pragmas[i].hit)
2334 else if (!(hit & HIT_noticed))
2338 hit |= HIT_noticed;
2342 for (; *s && *s != '\n' && !(hit
[all...]
/ast/src/cmd/ksh93/sh/
H A Dstring.c81 int hit; local
96 amb=hit=0;
124 if (hit || amb)
126 hit = 0;
131 hit = tp->sh_number;
166 if(hit)
168 return(hit);
/ast/src/cmd/pzip/
H A Dpop.c128 unsigned char hit[UCHAR_MAX+1]; /* values seen */ member in struct:__anon195
169 ip[i].hit[ip[i].prev = buf[j]] = 1;
174 for (j = 0; j < elementsof(ip[i].hit); j++)
175 if (ip[i].hit[j])
H A Drectify.c110 unsigned long hit[UCHAR_MAX + 1]; member in struct:__anon198
162 memset(state.hit, 0, sizeof(state.hit));
174 q = state.hit + s[i];
H A Dpin.c173 size_t hit; member in struct:__anon191
813 size_t* hit; local
832 hit = vector(row);
870 hit[ii] = 1;
873 hit[ii] = hit[jj] = k;
889 if (!hit[i])
891 hit[i] = 1;
929 hit[i] = hit[
[all...]
/ast/src/cmd/sortlib/sync/
H A Dsync.c161 int hit; local
254 hit = 0;
261 hit = 1;
268 if (save && !hit && sswrite(ss, save, (char*)rp->data, rp->datalen) < 0)
/ast/src/lib/libast/tm/
H A Dtmxdate.c553 char hit[60]; local
567 if ((k = range(t, &t, hit, 0, 59)) < 0)
569 if (k && !hit[i = tm->tm_min])
571 hit[i] = 1;
580 } while (!hit[i]);
588 if ((k = range(t, &t, hit, 0, 23)) < 0)
590 if (k && !hit[i = tm->tm_hour])
592 hit[i] = 1;
601 } while (!hit[i]);
609 if ((k = range(t, &t, hit,
[all...]
/ast/src/cmd/mailx/port/
H A Dmime.c131 int hit; member in struct:__anon155
401 wp->hit++;
434 ws.hit = 0;
444 return ws.hit;
448 return ws.hit;
/ast/src/lib/libcmd/
H A Djoin.c141 int hit; member in struct:File_s
310 fp->hit = 0;
559 if (mode < 0 && jp->file[0].hit++)
561 if (mode > 0 && jp->file[1].hit++)
626 #define outrec(p,n) (sfprintf(sfstdout, "[R#%d,%d,%lld,%lld:%-.*s{%d}:%-.*s{%d}]", __LINE__, i1=n, lo, hi, jp->file[0].fieldlen, cp1, jp->file[0].hit, jp->file[1].fieldlen, cp2, jp->file[1].hit), outrec(p, i1))
787 cp1 = (!cp1 && cmp && hi < 0 && !jp->file[1].hit && ((jp->ooutmode ^ C_ALL) <= 1 || jp->outmode == 2)) ? cp2 : getrec(jp, 1, 0);
/ast/src/cmd/kshlib/cmdtst/
H A Dgrep.c169 Item_t* hit; /* label for most recent match */ member in struct:State_s
184 int any; /* if any pattern hit */
219 ((State_t*)disc)->hit = (Item_t*)data;
399 if (!(state->hit = vmnewof(state->vm, 0, Item_t, 1, 0)))
404 state->labels.head = state->labels.tail = state->hit;
431 hit(State_t* state, const char* prefix, int line, const char* s, size_t len) function
433 state->hit->hits++;
443 sfprintf(sfstdout, "%s:", state->hit->string);
455 return hit((State_t*)handle, error_info.file, 0, s, len);
509 if ((result == 0) == state->match && hit(stat
[all...]
/ast/src/cmd/nmake/
H A Dscan.c1262 int hit; local
1321 hit = 0;
1489 if (per || rep && *rep != ARG && (*rep != SPC || *(rep + *(rep + 1) + 1) != ARG) && (!hit || n))
1497 hit += n;
1558 if (hit)

Completed in 83 milliseconds

12