Searched refs:ucl (Results 1 – 25 of 40) sorted by relevance
12
| /freebsd-13-stable/contrib/libucl/python/tests/ |
| HD | 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) 29 self.assertEqual(ucl.load(data), valid) 34 self.assertEqual(ucl.load(data), valid) 39 self.assertEqual(ucl.load(data), valid) 44 self.assertEqual(ucl.load(data), valid) [all …]
|
| HD | 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) 42 self.assertEqual(ucl.dump(data), valid) 47 self.assertEqual(ucl.dump(data), valid) [all …]
|
| HD | 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)
|
| HD | test_example.py | 3 import ucl 54 u = ucl.load(_ucl_inp)
|
| /freebsd-13-stable/contrib/libucl/doc/ |
| HD | 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')) 47 > [`ucl.to_format(var, format)`](#function-uclto_formatvar-format) 62 The module `ucl` defines the following functions. 85 Back to [module description](#module-ucl). [all …]
|
| HD | 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 … 66 Iterate over `ucl` complex objects or over a chain of values, for example when a key in an object h… 72 Provide basic utilities to manage `ucl` objects: creating, removing, retaining and releasing refere… 122 …l` parser is not a streamlined parser and chunk *must* contain the *valid* ucl object. For example… 159 …ucl` data has been parsed correctly this function returns the top object for the parser. Otherwise… [all …]
|
| /freebsd-13-stable/contrib/libucl/ |
| HD | CMakeLists.txt | 16 OPTION(ENABLE_URL_INCLUDE "Enable urls in ucl includes (requires libcurl or libfetch) [default: OF… 17 OPTION(ENABLE_URL_SIGN "Enable signatures check in ucl includes (requires openssl) [default: OFF]"… 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) 238 SET_TARGET_PROPERTIES(ucl PROPERTIES VERSION ${LIBUCL_VERSION} SOVERSION ${LIBUCL_VERSION_MAJOR}) 239 TARGET_INCLUDE_DIRECTORIES(ucl 246 TARGET_COMPILE_DEFINITIONS(ucl 271 ADD_LIBRARY(lua-ucl ${LIB_TYPE} ${UCL_LUA_SRC}) [all …]
|
| HD | README.md | 94 There are various things that make ucl configuration more convenient for editing than strict json: 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 [all …]
|
| HD | Makefile.unix | 27 $(INCLUDEDIR)/ucl.h \ 87 $(INSTALL) -m0644 include/ucl.h $(DESTDIR)/include/ucl.h
|
| HD | Makefile.w32 | 30 $(INCLUDEDIR)/ucl.h \ 90 $(INSTALL) -m0644 include/ucl.h $(DESTDIR)/include/ucl.h
|
| /freebsd-13-stable/contrib/libucl/lua/ |
| HD | 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'))
|
| HD | Makefile.am | 5 luaexec_LTLIBRARIES= ucl.la
|
| /freebsd-13-stable/contrib/libucl/utils/ |
| HD | CMakeLists.txt | 6 TARGET_LINK_LIBRARIES(${UTIL_NAME} ucl) 12 MAKE_UTIL(ucl_tool ucl-tool.c)
|
| HD | Makefile.am | 14 ucl_tool_SOURCES = ucl-tool.c
|
| /freebsd-13-stable/lib/libucl/ |
| HD | Makefile | 5 LIB= ucl 22 INCS= ucl.h
|
| /freebsd-13-stable/contrib/libucl/src/ |
| HD | Makefile.am | 24 include_HEADERS= $(top_srcdir)/include/ucl.h \ 25 $(top_srcdir)/include/ucl++.h
|
| /freebsd-13-stable/share/examples/flua/ |
| HD | libjail.lua | 32 ucl = require("ucl") 65 print(ucl.to_json(res))
|
| /freebsd-13-stable/usr.sbin/iovctl/ |
| HD | Makefile | 4 LIBADD= nv ucl m
|
| /freebsd-13-stable/contrib/libucl/tests/basic/ |
| HD | comments.in | 1 # This test is intended to check various comments in ucl
|
| /freebsd-13-stable/contrib/libucl/examples/ |
| HD | ucl_cpp.cc | 12 auto obj = ucl::Ucl::parse(input, err); in main()
|
| /freebsd-13-stable/libexec/flua/ |
| HD | Makefile | 39 LIBADD+= ucl
|
| /freebsd-13-stable/usr.sbin/ctld/ |
| HD | Makefile | 20 LIBADD= bsdxml iscsiutil md sbuf util ucl m nv
|
| /freebsd-13-stable/usr.sbin/pkg/ |
| HD | Makefile | 30 LIBADD= archive der fetch pkgecc ucl crypto ssl util md
|
| /freebsd-13-stable/tools/tools/net80211/ |
| HD | README | 15 The raw packet tools are from Andrea Bittau <a.bittau@cs.ucl.ac.uk>.
|
| /freebsd-13-stable/tools/tools/net80211/wesside/ |
| HD | README | 3 http://tapir.cs.ucl.ac.uk/bittau-wep.pdf
|
12