Searched refs:strsearch (Results 1 - 13 of 13) sorted by relevance

/ast/src/lib/libast/string/
H A Dstrsearch.c40 strsearch(const void* tab, size_t num, size_t siz, Strcmp_f comparf, const char* name, void* context) function
/ast/src/cmd/mailx/
H A Dlocal.h169 extern void* strsearch(const void*, size_t, size_t, int(*)(const char*, const char*), const char*, void*);
H A Dvars.c237 if (!(vp = (struct var*)strsearch(state.vartab, state.varnum, sizeof(struct var), stracmp, name, NiL))) {
306 if (!(vp = (struct var*)strsearch(state.vartab, state.varnum, sizeof(struct var), stracmp, name, NiL))) {
H A Dimap.c529 if (ap->type == IMAP_name && (fp = (Imapflag_t*)strsearch(imapflags, elementsof(imapflags), sizeof(imapflags[0]), stracmp, ap->value.name, NiL)))
779 op->code = (xp = (Imaplex_t*)strsearch(imapresponse, elementsof(imapresponse), sizeof(Imaplex_t), stracmp, b, NiL)) ? xp->code : IMAP_UNKNOWN;
1052 else if (!(xp = (Imaplex_t*)strsearch(imapfetch, elementsof(imapfetch), sizeof(Imaplex_t), stracmp, ap->value.name, NiL)))
1057 xp = (Imaplex_t*)strsearch(imapfetch, elementsof(imapfetch), sizeof(Imaplex_t), stracmp, ap->value.name, NiL);
1081 if (vp->type == IMAP_name && (fp = (Imapflag_t*)strsearch(imapflags, elementsof(imapflags), sizeof(imapflags[0]), stracmp, vp->value.name, NiL)))
1210 if (xp = (Imaplex_t*)strsearch(imapauth, elementsof(imapauth), sizeof(Imaplex_t), stracmp, s + 5, NiL))
1259 if (ap->type == IMAP_list && (sp = ap->value.list.head) && sp->type == IMAP_name && (xp = (Imaplex_t*)strsearch(imapstatus, elementsof(imapstatus), sizeof(Imaplex_t), stracmp, sp->value.name, NiL)))
H A Dlocal.c801 strsearch(const void* tab, size_t num, size_t siz, Compare_f comparf, const char* name, void* context) function
H A Dcmd3.c308 else if (vp = (const struct var*)strsearch(state.vartab, state.varnum, sizeof(struct var), stracmp, a, NiL))
331 else if (ep = (const struct esc*)strsearch(state.esctab, state.escnum, sizeof(struct esc), stracmp, a, NiL))
H A Dcmd1.c766 if (!(kp = (struct mark*)strsearch(marks, elementsof(marks), sizeof(*marks), strcasecmp, mark, NiL))) {
/ast/src/cmd/mailx/port/
H A Dmime.c702 * parse mime headers in strsearch(tab,num,siz) from s
720 if ((p = strsearch(tab, num, siz, (Strcmp_f)mimecmp, s, &e)) && *e == ':')
728 if ((p = strsearch(tab, num, siz, (Strcmp_f)mimecmp, pp.name.data, &e)) &&
/ast/src/lib/libast/include/
H A Dast.h352 extern void* strsearch(const void*, size_t, size_t, Strcmp_f, const char*, void*);
/ast/src/lib/libast/misc/
H A Dmime.c758 * parse mime headers in strsearch(tab,num,siz) from s
776 if ((p = strsearch(tab, num, siz, (Strcmp_f)mimecmp, s, &e)) && *e == ':')
785 (p = strsearch(tab, num, siz, (Strcmp_f)mimecmp, pp.name.data, &e)) &&
/ast/src/cmd/std/
H A Ddd.c552 vp = (Operand_t*)strsearch(&state.conv_begin, &state.conv_end - &state.conv_begin + 1, sizeof(Operand_t), stracmp, v, NiL);
/ast/src/lib/libast/
H A DMakefile75 strlcat.c strlcpy.c strlook.c strncopy.c strsearch.c strpsearch.c \
/ast/src/cmd/nmake/
H A Dparse.c973 i = (nv = (Namval_t*)strsearch(controls, elementsof(controls), sizeof(*controls), stracmp, s, NiL)) ? nv->value : 0;

Completed in 33 milliseconds