Home
last modified time | relevance | path

Searched refs:tostring (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_base.lua47 assert(tostring(a) == "NAME")
438 assert(tostring("alo") == "alo")
439 assert(tostring(12) == "12")
440 assert(tostring(1234567890123) == '1234567890123')
441 assert(type(tostring("hello")) == "string")
442 assert(tostring(true) == "true")
443 assert(tostring(false) == "false")
444 assert(string.find(tostring{}, 'table:'))
445 assert(string.find(tostring(select), 'function:'))
446 assert(#tostring('\0') == 1)
H A Dtst.lib_coroutine.lua60 assert(string.find(tostring(f), "thread"))
/freebsd/bin/uuidgen/
H A Duuidgen.c110 void (*tostring)(const uuid_t *, char **, uint32_t *) = uuid_to_string; in main() local
122 tostring = uuid_to_compact_string; in main()
191 tostring(uuid++, &p, &status); in main()
/freebsd/libexec/nuageinit/
H A Dyaml.lua17 table.sort(list, function(a, b) return tostring(a) < tostring(b) end)
32 keyRep = string.format("%q", tostring(key))
51 return tostring(value)
212 error("SyntaxError: invalid indentation, got " .. tostring(indents)
213 .. " instead of " .. tostring(lastIndents) .. context(token[2].input))
/freebsd/contrib/one-true-awk/
H A Dtran.c237 p->nval = tostring(n); in setsymtab()
238 p->sval = s ? tostring(s) : tostring(""); in setsymtab()
371 t = s ? tostring(s) : tostring(""); /* in case it's self-assign */ in setsval()
471 vp->sval = tostring(s); \ in get_str_val()
526 char *tostring(const char *s) /* make a copy of string s */ in tostring() function
H A Dlex.c203 char *cp = tostring(buf); in yylex()
487 s = tostring(buf); in string()
589 yylval.s = tostring(buf); in regexpr()
H A Drun.c340 y->sval = tostring(x->sval); in copycell()
1985 buf = tostring(s); in nawk_convert()
2261 fmt = tostring("%a %b %d %H:%M:%S %Z %Y"); in bltin()
2263 fmt = tostring(getsval(x)); in bltin()
2357 files[0].fname = tostring("/dev/stdin"); in stdinit()
2360 files[1].fname = tostring("/dev/stdout"); in stdinit()
2363 files[2].fname = tostring("/dev/stderr"); in stdinit()
2424 files[i].fname = tostring(s); in openfile()
2553 repl = tostring(getsval(x)); in dosub()
H A Dlib.c75 fldtab[0]->nval = tostring("0"); in recinit()
90 fldtab[i]->nval = tostring(temp); in makefields()
471 fldtab[i]->sval = tostring(buf); in fldbld()
H A Dproto.h111 extern char *tostring(const char *);
H A Db.c251 f->restr = (uschar *) tostring(s); in mkdfa()
1399 rlxstr = (uschar *) tostring((char *) buf); in relex()
/freebsd/contrib/libucl/lua/
H A Dtest.lua29 print(expect .. " == " .. tostring(got))
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.set_props.zcp80 if (tostring(new_val) ~= tostring(val)) then
/freebsd/tools/lua/
H A Dtemplate.lua34 local tostring = tostring
232 return tostring(s)
268 return tostring(layout)
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlvm.h16 #define tostring(L,o) (ttisstring(o) || (luaV_tostring(L, o))) macro
H A Dlvm.c298 if (!(ttisstring(top-2) || ttisnumber(top-2)) || !tostring(L, top-1)) { in luaV_concat()
303 (void)tostring(L, top - 2); /* result is first operand */ in luaV_concat()
313 for (i = 1; i < total && tostring(L, top-i-1); i++) { in luaV_concat()
/freebsd/sys/tools/syscalls/core/
H A Dsyscall.lua159 return "freebsd" .. tostring(c) .. "_"
/freebsd/stand/lua/
H A Ddrawer.lua194 alias_table[tostring(entry_num)] = e
H A Dconfig.lua566 v = tostring(v)
/freebsd/contrib/lua/src/
H A Dlvm.c622 #define tostring(L,o) \ macro
649 !tostring(L, s2v(top - 1))) in luaV_concat()
652 cast_void(tostring(L, s2v(top - 2))); /* result is first operand */ in luaV_concat()
661 for (n = 1; n < total && tostring(L, s2v(top - n - 1)); n++) { in luaV_concat()
/freebsd/tests/sys/opencrypto/
H A Dcryptodev.py160 return array_obj.tostring()