Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_base.lua48 assert(tostring(a) == "NAME")
439 assert(tostring("alo") == "alo")
440 assert(tostring(12) == "12")
441 assert(tostring(1234567890123) == '1234567890123')
442 assert(type(tostring("hello")) == "string")
443 assert(tostring(true) == "true")
444 assert(tostring(false) == "false")
445 assert(string.find(tostring{}, 'table:'))
446 assert(string.find(tostring(select), 'function:'))
447 assert(#tostring('\0') == 1)
H A Dtst.lib_coroutine.lua61 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/contrib/lyaml/lib/lyaml/
H A Dinit.lua180 value = tostring(value)
301 return tostring(self.event.type)
362 tag, i, tostring(merge))
373 event = tostring(node)
427 self:error('invalid reference: %s', tostring(anchor))
/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 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 Drun.c340 y->sval = tostring(x->sval); in copycell()
1987 buf = tostring(s); in nawk_convert()
2263 fmt = tostring("%a %b %d %H:%M:%S %Z %Y"); in bltin()
2265 fmt = tostring(getsval(x)); in bltin()
2359 files[0].fname = tostring("/dev/stdin"); in stdinit()
2362 files[1].fname = tostring("/dev/stdout"); in stdinit()
2365 files[2].fname = tostring("/dev/stderr"); in stdinit()
2426 files[i].fname = tostring(s); in openfile()
2555 repl = tostring(getsval(x)); in dosub()
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/lyaml/spec/
H A Dspec_helper.lua43 return 'see http://github.com/gvvaughan/lyaml/issues/' .. tostring(n)
203 local str = require 'specl.std'.string.tostring
/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.zcp81 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.h17 #define tostring(L,o) (ttisstring(o) || (luaV_tostring(L, o))) macro
H A Dlvm.c299 if (!(ttisstring(top-2) || ttisnumber(top-2)) || !tostring(L, top-1)) { in luaV_concat()
304 (void)tostring(L, top - 2); /* result is first operand */ in luaV_concat()
314 for (i = 1; i < total && tostring(L, top-i-1); i++) { in luaV_concat()
/freebsd/contrib/lyaml/build-aux/
H A Dluke531 local tostring=tostring
552 local function getmetamethod(x,n)return iscallable((getmetatable(x)or{})[tostring(n)])end
578 return int(b)==nil and tostring(a)<tostring(b)end
582 return tostring(x)else
583 local buf={'{'}roots[x]=tostring(x)local n,keys=1,{}for k in next,x do
/freebsd/sys/tools/syscalls/core/
H A Dsyscall.lua160 return "freebsd" .. tostring(c) .. "_"
/freebsd/contrib/lua/src/
H A Dlvm.c629 #define tostring(L,o) \ macro
657 !tostring(L, s2v(top - 1))) in luaV_concat()
660 cast_void(tostring(L, s2v(top - 2))); /* result is first operand */ in luaV_concat()
669 for (n = 1; n < total && tostring(L, s2v(top - n - 1)); n++) { in luaV_concat()
/freebsd/stand/lua/
H A Ddrawer.lua235 alias_table[tostring(entry_num)] = e
H A Dconfig.lua566 v = tostring(v)
/freebsd/tests/sys/opencrypto/
H A Dcryptodev.py160 return array_obj.tostring()
/freebsd/libexec/nuageinit/
H A Dnuageinit384 mtu = tostring(v.mtu)