Searched defs:name (Results 1 - 25 of 341) sorted by relevance

1234567891011>>

/ast/src/lib/libast/include/
H A Dnamval.h27 * common name-value struct support
35 char* name; member in struct:__anon272
H A Dmagicid.h40 char name[8]; /* generic data/application name*/ member in struct:Magicid_s
/ast/src/lib/libcodex/
H A Dcodexadd.c31 codexadd(const char* name, Codexmeth_t* meth) argument
H A Dcodexid.c32 codexid(const void* head, size_t headsize, char* name, size_t namesize) argument
37 if (meth->identf && (*meth->identf)(meth, head, headsize, name, namesize))
H A Dcodexmeth.c25 * return the codex method for name
32 codexmeth(const char* name) argument
43 if (!name)
49 if (!codexcmp(name, meth->name))
55 for (s = name, t = 0; *s && *s != '+'; s++)
64 sfsprintf(tmp, sizeof(tmp), "%-.*s", s - name, name);
67 if ((lib = (Codexlib_f)dlllook(dll, "codex_lib")) && (meth = (*lib)(name)))
/ast/src/lib/libdll/
H A Ddllopen.c38 dllopen(const char* name, int mode)
58 if (base = strrchr(name, '/'))
60 dir = (char*)name;
67 base = (char*)name;
87 dllopen(const char* name, int mode) argument
90 return dlopen(name, mode);
H A Ddlllook.c35 dlllook(void* dll, const char* name) argument
40 if (!(addr = dlsym(dll, name)) && strlen(name) < (sizeof(buf) - 2))
43 strcpy(buf + 1, name);
44 name = (const char*)buf;
45 addr = dlsym(dll, name);
47 errorf("dll", NiL, -1, "dlllook: %s addr %p", name, addr);
/ast/src/lib/libexpr/
H A Dexexpr.c31 * return the expression for name or sym coerced to type
35 exexpr(Expr_t* ex, const char* name, Exid_t* sym, int type) argument
40 sym = name ? (Exid_t*)dtmatch(ex->symbols, name) : &ex->main;
/ast/src/lib/libast/string/
H A Dstrlook.c31 * return pointer to name in tab with element size siz
34 * the last name in tab must be 0
36 * 0 returned if name not found
40 strlook(const void* tab, size_t siz, register const char* name) argument
44 register int c = *name;
47 if (*s == c && !strcmp(s, name))
/ast/src/lib/libcoshell/
H A Dcoexport.c35 coexport(Coshell_t* co, const char* name, const char* value) argument
45 co->exdisc->key = offsetof(Coexport_t, name);
53 if (!(ex = (Coexport_t*)dtmatch(co->export, name)))
57 if (!(ex = vmnewof(co->vm, 0, Coexport_t, 1, strlen(name))))
59 strcpy(ex->name, name);
/ast/src/lib/libpp/
H A Dpppragma.c31 pppragma(char* directive, char* pass, char* name, char* value, int newline) argument
50 if (name)
56 ppprintf("%s", name);
/ast/src/lib/libpz/
H A Dpzinit.c29 pzinit(register Pz_t* pz, register const char* name, Pzinit_f initf) argument
44 (*pz->disc->errorf)(pz, pz->disc, 2, "%s: %s_init: initialization function error", name, id);
H A Dpzlib.c31 pzlib(register Pz_t* pz, register const char* name, int ignore) argument
48 for (dll = state.dll; dll && !streq(dll->name, name); dll = dll->next);
55 if (!(dll = newof(0, Pzdll_t, 1, strlen(name) + 1)))
57 dll->name = strcpy((char*)(dll + 1), name);
62 if (!(dll->dll = dllplugin(id, dll->name, NiL, PZ_PLUGIN_VERSION, NiL, RTLD_LAZY, path, sizeof(path))))
65 (*pz->disc->errorf)(pz, pz->disc, ERROR_SYSTEM|2, "%s: %s", dll->name, dlerror());
96 if (!(dll->usage = pzinit(pz, dll->name, dll->initf)))
/ast/src/lib/libast/comp/
H A Dgetopt.h41 const char* name; member in struct:option
/ast/src/lib/libast/path/
H A Dpathsetlink.c31 * create symbolic name from external representation text in buf
36 pathsetlink(const char* buf, const char* name) argument
71 return(symlink(t, name));
/ast/src/lib/libast/tm/
H A Dtmzone.c34 * return timezone pointer given name and type
40 * unmatched char in name
49 tmzone(register const char* name, char** end, const char* type, int* dst) argument
59 if ((*name == '+' || *name == '-') && (fixed.west = tmgoff(name, &e, TM_LOCALZONE)) != TM_LOCALZONE && !*e)
61 strlcpy(fixed.standard = fixed.daylight = off, name, sizeof(off));
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/libcs/
H A Dcsnote.c25 * note host status change for name
28 * NOTE: name must already exist and pwd must be CS_STAT_DIR
52 csnote(register Cs_t* state, const char* name, register Csstat_t* sp) argument
77 return touch(name, (encode(up) << 16) | encode(idle), (((sp->load >> 3) & 0377) << 24) | ((sp->pctsys & 0377) << 16) | ((sp->pctusr & 0377) << 8) | (sp->users & 0377), -1);
81 _cs_note(const char* name, Csstat_t* sp) argument
83 return csnote(&cs, name, sp);
H A Dcsping.c25 * ping host by name
34 csping(register Cs_t* state, const char* name) argument
39 sfsprintf(state->temp, sizeof(state->path), "/dev/tcp/%s/inet.echo", name);
43 if (n) messagef((state->id, NiL, -1, "ping: %s: no contact", name));
48 _cs_ping(const char* name) argument
50 return csping(&cs, name);
H A Dmsgindex.c27 * return call index given name
28 * !isalnum() chars at end of name are ignored
33 msgindex(const char* name) argument
43 lo = msg_info.name;
44 hi = msg_info.name + MSG_STD;
48 n = (unsigned char*)name;
55 return mid - msg_info.name;
70 if (name[0] == 'f')
72 name++;
75 if (name[
[all...]
/ast/src/lib/libdss/
H A Ddssmagic.c33 dssmagic(Dss_t* dss, Sfio_t* sp, const char* name, const char* type, uint32_t version, size_t size) argument
40 if (!name)
41 name = dss->id;
42 strncopy(magic.name, name, sizeof(magic.name));
/ast/src/lib/librecsort/
H A Drskeymeth.c24 * rskey method by name
39 * return rs method given name
44 rskeymeth(register Rskey_t* kp, const char* name) argument
46 rskeymeth(kp, name)
48 char* name;
53 if (!name || !*name || streq(name, "-") || streq(name, "default"))
56 if (streq(name, (*method
[all...]
/ast/src/cmd/dsslib/ip_t/
H A Divmeth.c27 const char* name; member in struct:Method_s
43 ivmeth(const char* name) argument
47 if ((name[0] == 'i' || name[0] == 'I') && (name[1] == 'v' || name[1] == 'V'))
48 name += 2;
50 if (!strncmp(methods[i].name, name, 4))
/ast/src/cmd/std/
H A Dpsslib.h37 Dt_t* ttybyname; /* tty by name hash */ \
39 Dtdisc_t ttybynamedisc; /* tty by name disc */ \
68 Dtlink_t byname; /* by name dict link */
71 char name[1]; /* base name */ member in struct:Tty_s
/ast/src/cmd/codexlib/zip/
H A Dzip.c15 const char* name; local
18 name = args[0];
22 (*p->disc->errorf)(NiL, p->disc, 2, "%s: method parameter expected", name); local
57 (*p->disc->errorf)(NiL, p->disc, 2, "%s: %s: unknown method", name, method); local
/ast/src/cmd/coshell/
H A DCOSHELL.mk6 * :COSHELL: name=value ... macro

Completed in 36 milliseconds

1234567891011>>