| /freebsd-14.2/contrib/libucl/python/tests/ |
| H A D | test_load.py | 2 import ucl 7 ucl.load() 11 ucl.load(0,0) 14 self.assertEqual(ucl.load(None), None) 19 self.assertEqual(ucl.load(data), valid) 24 self.assertEqual(ucl.load(data), valid) 55 self.assertEqual(ucl.load("{}"), {}) 58 self.assertEqual(ucl.load("{"), {}) 61 self.assertEqual(ucl.load("}"), {}) 64 self.assertEqual(ucl.load("["), []) [all …]
|
| H A D | test_dump.py | 2 import ucl 8 ucl.dump() 11 self.assertEqual(ucl.dump(None), None) 16 self.assertEqual(ucl.dump(data), valid) 21 self.assertEqual(ucl.dump(data), valid) 26 self.assertEqual(ucl.dump(data), valid) 31 self.assertEqual(ucl.dump(data), valid) 36 self.assertEqual(ucl.dump(data), valid) 55 self.assertIn(ucl.dump(data), valid) 58 self.assertEqual(ucl.dump({}), "") [all …]
|
| H A D | test_validation.py | 2 import ucl 19 self.assertTrue(ucl.validate(schema, data), msg) 21 with self.assertRaises(ucl.SchemaError): 22 ucl.validate(schema, data)
|
| H A D | test_example.py | 3 import ucl 54 u = ucl.load(_ucl_inp)
|
| /freebsd-14.2/contrib/libucl/doc/ |
| H A D | lua_api.md | 1 ## Module `ucl` 4 ucl objects. It uses `libucl` C library to parse and manipulate with ucl objects. 9 local ucl = require("ucl") 11 local parser = ucl.parser() 18 local got = ucl.to_format(obj, 'json') 24 null = ucl.null, 31 print(ucl.to_format(table, 'ucl')) 94 - `ucl` - same as `config` 115 null = ucl.null, 122 print(ucl.to_format(table, 'ucl')) [all …]
|
| H A D | api.md | 43 `#include <ucl.h>` 47 Libucl is a parser and `C` API to parse and generate `ucl` objects. Libucl consist of several group… 50 Used to parse `ucl` files and provide interface to extract `ucl` object. Currently, `libucl` can pa… 53 Convert `ucl` objects to some textual or binary representation. Currently, libucl supports the foll… 60 Help to convert `ucl` objects to C types. These functions are used to convert `ucl_object_t` to C p… 63 Allow creation of `ucl` objects from C types and creating of complex `ucl` objects, such as hashes … 72 Provide basic utilities to manage `ucl` objects: creating, removing, retaining and releasing refere… 159 …ucl` data has been parsed correctly this function returns the top object for the parser. Otherwise… 195 - `$FILENAME` - a filename of `ucl` input 210 The following example loads, parses and extracts `ucl` object from stdin using `libucl` parser func… [all …]
|
| /freebsd-14.2/contrib/libucl/ |
| H A D | CMakeLists.txt | 229 SET(UCLHDR include/ucl.h 230 include/ucl++.h) 236 ADD_LIBRARY(ucl ${LIB_TYPE} ${UCLSRC}) target 237 ADD_LIBRARY(ucl::ucl ALIAS ucl) 239 TARGET_INCLUDE_DIRECTORIES(ucl 246 TARGET_COMPILE_DEFINITIONS(ucl 272 ADD_LIBRARY(ucl::lua ALIAS lua-ucl) 278 TARGET_LINK_LIBRARIES(lua-ucl ucl) 289 TARGET_LINK_LIBRARIES(ucl fetch) 302 TARGET_LINK_LIBRARIES(ucl -lm) [all …]
|
| H A D | README.md | 258 or URL (if ucl is built with url support provided by either `libcurl` or `libfetch`): 394 ucl: parsed input in 0.6649 seconds 395 ucl: emitted config in 0.2423 seconds 396 ucl: emitted json in 0.2329 seconds 397 ucl: emitted compact json in 0.1811 seconds 398 ucl: emitted yaml in 0.2489 seconds 404 ucl: parsed input in 0.3002 seconds 405 ucl: emitted config in 0.1174 seconds 406 ucl: emitted json in 0.1174 seconds 407 ucl: emitted compact json in 0.0991 seconds [all …]
|
| H A D | Makefile.w32 | 30 $(INCLUDEDIR)/ucl.h \ 90 $(INSTALL) -m0644 include/ucl.h $(DESTDIR)/include/ucl.h
|
| H A D | Makefile.unix | 27 $(INCLUDEDIR)/ucl.h \ 87 $(INSTALL) -m0644 include/ucl.h $(DESTDIR)/include/ucl.h
|
| /freebsd-14.2/contrib/libucl/lua/ |
| H A D | test.lua | 1 local ucl = require("ucl") 17 local parser = ucl.parser() 25 local got = ucl.to_json(obj, true) 39 null = ucl.null, 48 print(ucl.to_format(table, 'ucl'))
|
| /freebsd-14.2/contrib/libucl/tests/schema/ |
| H A D | refRemote.json.disabled | 4 "schema": {"$ref": "http://highsecure.ru/ucl-schema/remotes/integer.json"}, 20 "schema": {"$ref": "http://highsecure.ru/ucl-schema/remotes/subSchemas.json#/integer"}, 37 "$ref": "http://highsecure.ru/ucl-schema/remotes/subSchemas.json#/refToInteger" 56 "id": "http://highsecure.ru/ucl-schema/remotes/",
|
| H A D | definitions.json.disabled | 4 "schema": {"$ref": "http://highsecure.ru/ucl-schema/schema#"}, 19 "schema": {"$ref": "http://highsecure.ru/ucl-schema/schema#"},
|
| /freebsd-14.2/release/packages/ |
| H A D | template.ucl | 17 .include(try=true,duplicate=rewrite) "${UCLFILES}/${PKGGENNAME}-all.ucl" 18 .include(try=true,duplicate=rewrite) "${UCLFILES}/${PKGNAME}.ucl" 19 .include(try=true,duplicate=rewrite) "${UCLFILES}/${FORCEINCLUDE}.ucl"
|
| H A D | generate-ucl.lua | 12 local ucl = require("ucl") 19 local parser = ucl.parser() 34 f:write(ucl.to_format(obj, 'ucl'))
|
| /freebsd-14.2/contrib/libucl/utils/ |
| H A D | CMakeLists.txt | 6 TARGET_LINK_LIBRARIES(${UTIL_NAME} ucl) 12 MAKE_UTIL(ucl_tool ucl-tool.c)
|
| H A D | Makefile.am | 14 ucl_tool_SOURCES = ucl-tool.c
|
| /freebsd-14.2/lib/libucl/ |
| H A D | Makefile | 5 LIB= ucl 22 INCS= ucl.h
|
| /freebsd-14.2/contrib/libucl/src/ |
| H A D | Makefile.am | 24 include_HEADERS= $(top_srcdir)/include/ucl.h \ 25 $(top_srcdir)/include/ucl++.h
|
| /freebsd-14.2/share/examples/flua/ |
| H A D | libjail.lua | 32 ucl = require("ucl") 65 print(ucl.to_json(res))
|
| /freebsd-14.2/libexec/nuageinit/ |
| H A D | nuageinit | 8 local ucl = require("ucl") 41 local parser = ucl.parser() 63 local parser = ucl.parser() 166 local parser = ucl.parser()
|
| /freebsd-14.2/usr.sbin/iovctl/ |
| H A D | Makefile | 4 LIBADD= nv ucl m
|
| /freebsd-14.2/contrib/libucl/tests/basic/ |
| H A D | comments.in | 1 # This test is intended to check various comments in ucl
|
| /freebsd-14.2/contrib/libucl/examples/ |
| H A D | ucl_cpp.cc | 12 auto obj = ucl::Ucl::parse(input, err); in main()
|
| /freebsd-14.2/contrib/libucl/python/ |
| H A D | ucl.pyi | 1 # Stubs for ucl (Python 3.6)
|