Home
last modified time | relevance | path

Searched refs:getstr (Results 1 – 25 of 49) sorted by relevance

12

/freebsd-12.1/contrib/lua/src/
H A Dlstring.c45 (memcmp(getstr(a), getstr(b), len) == 0)); /* equal contents */ in luaS_eqlngstr()
61 ts->hash = luaS_hash(getstr(ts), ts->u.lnglen, ts->hash); in luaS_hashlongstr()
142 getstr(ts)[l] = '\0'; /* ending 0 */ in createstrobj()
175 (memcmp(str, getstr(ts), l * sizeof(char)) == 0)) { in internshrstr()
187 memcpy(getstr(ts), str, l * sizeof(char)); in internshrstr()
207 memcpy(getstr(ts), str, l * sizeof(char)); in luaS_newlstr()
224 if (strcmp(str, getstr(p[j])) == 0) /* hit? */ in luaS_new()
H A Dluac.c228 const char* s=getstr(ts); in PrintString()
285 #define UPVALNAME(x) ((f->upvalues[x].name) ? getstr(f->upvalues[x].name) : "-")
398 const char* s=f->source ? getstr(f->source) : "=?"; in PrintHeader()
432 i,getstr(f->locvars[i].varname),f->locvars[i].startpc+1,f->locvars[i].endpc+1); in PrintDebug()
H A Dldebug.c130 else return getstr(s); in upvalname()
220 ar->source = p->source ? getstr(p->source) : "=?"; in funcinfo()
533 *name = getstr(G(L)->tmname[tm]); in funcnamefromcode()
632 luaO_chunkid(buff, getstr(src), LUA_IDSIZE); in luaG_addinfo()
H A Dltm.c96 return getstr(tsvalue(name)); /* use it as type name */ in luaT_objtypename()
H A Dlfunc.c146 return getstr(f->locvars[i].varname); in luaF_getlocalname()
H A Dlobject.h328 #define getstr(ts) \ macro
333 #define svalue(o) getstr(tsvalue(o))
H A Dldump.c78 const char *str = getstr(s); in DumpString()
/freebsd-12.1/sbin/devmatch/
H A Ddevmatch.c148 getstr(void **ptr, char *val) in getstr() function
257 getstr(&ptr, val1); in search_hints()
259 getstr(&ptr, val2); in search_hints()
264 getstr(&ptr, val1); in search_hints()
265 getstr(&ptr, val2); in search_hints()
275 getstr(&ptr, val1); in search_hints()
276 getstr(&ptr, val2); in search_hints()
345 getstr(&ptr, val1); in search_hints()
/freebsd-12.1/contrib/gperf/lib/
H A Dgetline.cc41 getstr (char **lineptr, size_t *n, FILE *stream, char terminator, size_t offset) in getstr() function
112 return getstr (lineptr, n, stream, '\n', 0); in get_line()
118 return getstr (lineptr, n, stream, delimiter, 0); in get_delim()
/freebsd-12.1/usr.bin/sort/
H A Dsort.c218 fprintf(out, getstr(12), getprogname()); in usage()
401 warn("%s",getstr(4)); in parse_memory_buffer_value()
514 errx(2, "%s: %s", getstr(3), what); in unknown()
535 errx(1, "%c:%c: %s", c, mec, getstr(1)); in check_mutually_exclusive_flags()
541 errx(1, "%c:%c: %s", c, mutually_exclusive_flags[fo_index], getstr(1)); in check_mutually_exclusive_flags()
662 warn("%s",getstr(5)); in parse_pos()
671 warn("%s",getstr(5)); in parse_pos()
694 warn("%s",getstr(6)); in parse_pos()
815 errx(2, "%s", getstr(11)); in parse_pos_obs()
827 errx(2, "%s", getstr(11)); in parse_pos_obs()
[all …]
H A Dsort.h47 #define getstr(n) nlsstr[n] macro
52 #define getstr(n) catgets(catalog, 1, n, nlsstr[n]) macro
H A Dfile.c568 err(2, "%s", getstr(7)); in openfile()
908 err(2, "%s", getstr(8)); in file_header_init()
1245 err(2, "%s", getstr(9)); in sort_list_to_file()
1261 errx(2, "%s", getstr(10)); in sort_list_to_file()
/freebsd-12.1/contrib/netbsd-tests/lib/libcurses/
H A Dt_curses.sh156 atf_test_case getstr
163 h_run getstr
282 atf_add_test_case getstr
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlstring.c38 (memcmp(getstr(a), getstr(b), len) == 0)); /* equal contents */ in luaS_eqlngstr()
143 (memcmp(str, getstr(ts), l * sizeof(char)) == 0)) { in internshrstr()
H A Dldebug.c110 else return getstr(s); in upvalname()
199 ar->source = p->source ? getstr(p->source) : "=?"; in funcinfo()
493 *name = getstr(G(L)->tmname[tm]); in getfuncname()
578 luaO_chunkid(buff, getstr(src), LUA_IDSIZE); in addinfo()
H A Dldump.c72 DumpBlock(getstr(s),size*sizeof(char),D); in DumpString()
H A Dlobject.h421 #define getstr(ts) cast(const char *, (ts) + 1) macro
424 #define svalue(o) getstr(rawtsvalue(o))
H A Dlfunc.c156 return getstr(f->locvars[i].varname); in luaF_getlocalname()
H A Dlparser.c64 luaX_newstring(ls, getstr(ts), ts->tsv.len); in anchor_token()
349 getstr(gt->name), gt->line, getstr(vname)); in closegoto()
466 msg = luaO_pushfstring(ls->L, msg, getstr(gt->name), gt->line); in undefgoto()
1200 getstr(label), ll->arr[i].line); in checkrepeated()
/freebsd-12.1/usr.bin/printf/
H A Dprintf.c95 *getstr(void);
381 if ((p = strdup(getstr())) == NULL) { in printf_doformat()
405 p = getstr(); in printf_doformat()
560 getstr(void) in getstr() function
/freebsd-12.1/stand/i386/common/
H A Dcons.h33 void getstr(char *cmdstr, size_t cmdstrsize);
H A Dcons.c138 getstr(char *cmdstr, size_t cmdstrsize) in getstr() function
/freebsd-12.1/contrib/opie/
H A Dopielogin.c209 static void getstr __P((char *, int, char *));
452 getstr(rusername, sizeof(rusername), "remuser");
453 getstr(name, sizeof(name), "locuser");
454 getstr(term, sizeof(term), "Terminal type");
474 static VOIDRET getstr FUNCTION((buf, cnt, err), char *buf AND int cnt AND char *err)
/freebsd-12.1/stand/mips/beri/boot2/
H A Dboot2.c165 getstr(void) in getstr() function
269 getstr(); in main()
/freebsd-12.1/stand/i386/boot2/
H A Dboot2.c162 getstr(void) in getstr() function
263 getstr(); in main()

12