Searched refs:NewBuiltin (Results 1 – 9 of 9) sorted by relevance
/external/starlark-go/starlark/ |
D | library.go | 42 "any": NewBuiltin("any", any), 43 "all": NewBuiltin("all", all), 44 "bool": NewBuiltin("bool", bool_), 45 "bytes": NewBuiltin("bytes", bytes_), 46 "chr": NewBuiltin("chr", chr), 47 "dict": NewBuiltin("dict", dict), 48 "dir": NewBuiltin("dir", dir), 49 "enumerate": NewBuiltin("enumerate", enumerate), 50 "fail": NewBuiltin("fail", fail), 51 "float": NewBuiltin("float", float), [all …]
|
D | bench_test.go | 99 benchmarkRestart = starlark.NewBuiltin("restart", benchmarkRestartImpl) 100 benchmarkStart = starlark.NewBuiltin("start", benchmarkStartImpl) 101 benchmarkStop = starlark.NewBuiltin("stop", benchmarkStopImpl)
|
D | eval_test.go | 136 "hasfields": starlark.NewBuiltin("hasfields", newHasFields), 138 "struct": starlark.NewBuiltin("struct", starlarkstruct.Make), 786 "builtin": starlark.NewBuiltin("builtin", builtin), 884 …"stopit": starlark.NewBuiltin("stopit", func(thread *starlark.Thread, b *starlark.Builtin, args st…
|
D | example_test.go | 51 "repeat": starlark.NewBuiltin("repeat", repeat),
|
D | value.go | 746 func NewBuiltin(name string, fn func(thread *Thread, fn *Builtin, args Tuple, kwargs []Tuple) (Valu… func
|
/external/starlark-go/starlarktest/ |
D | starlarktest.go | 64 "error": starlark.NewBuiltin("error", error_), 65 "catch": starlark.NewBuiltin("catch", catch), 66 "matches": starlark.NewBuiltin("matches", matches), 67 "module": starlark.NewBuiltin("module", starlarkstruct.MakeModule), 68 "_freeze": starlark.NewBuiltin("freeze", freeze),
|
/external/starlark-go/starlarkstruct/ |
D | struct_test.go | 23 "struct": starlark.NewBuiltin("struct", starlarkstruct.Make), 24 "gensym": starlark.NewBuiltin("gensym", gensym),
|
/external/starlark-go/starlarkjson/ |
D | json.go | 76 "encode": starlark.NewBuiltin("json.encode", encode), 77 "decode": starlark.NewBuiltin("json.decode", decode), 78 "indent": starlark.NewBuiltin("json.indent", indent),
|
/external/starlark-go/lib/proto/ |
D | proto.go | 144 "file": starlark.NewBuiltin("proto.file", file), 145 "has": starlark.NewBuiltin("proto.has", has), 146 "marshal": starlark.NewBuiltin("proto.marshal", marshal), 147 "marshal_text": starlark.NewBuiltin("proto.marshal_text", marshal), 148 "set_field": starlark.NewBuiltin("proto.set_field", setFieldStarlark), 149 "get_field": starlark.NewBuiltin("proto.get_field", getFieldStarlark), 150 "unmarshal": starlark.NewBuiltin("proto.unmarshal", unmarshal), 151 "unmarshal_text": starlark.NewBuiltin("proto.unmarshal_text", unmarshal_text),
|