Home
last modified time | relevance | path

Searched refs:ucl (Results 1 – 25 of 50) sorted by relevance

12

/freebsd-12.1/contrib/libucl/python/tests/
H A Dtest_load.py2 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 Dtest_dump.py2 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 Dtest_validation.py2 import ucl
19 self.assertTrue(ucl.validate(schema, data), msg)
21 with self.assertRaises(ucl.SchemaError):
22 ucl.validate(schema, data)
/freebsd-12.1/contrib/libucl/doc/
H A Dlua_api.md1 ## 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 Dapi.md43 `#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-12.1/contrib/libucl/lua/
H A Dtest.lua1 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'))
H A DMakefile.am5 luaexec_LTLIBRARIES= ucl.la
/freebsd-12.1/contrib/libucl/
H A DCMakeLists.txt14 OPTION(ENABLE_URL_INCLUDE "Enable urls in ucl includes (requires libcurl or libfetch) [default: OF…
15 OPTION(ENABLE_URL_SIGN "Enable signatures check in ucl includes (requires openssl) [default: OFF]"…
215 ADD_LIBRARY(ucl ${LIB_TYPE} ${UCLSRC}) target
216 SET_TARGET_PROPERTIES(ucl PROPERTIES VERSION ${LIBUCL_VERSION} SOVERSION ${LIBUCL_VERSION_MAJOR})
238 ADD_LIBRARY(lua-ucl ${LIB_TYPE} ${UCL_LUA_SRC})
240 TARGET_LINK_LIBRARIES(lua-ucl "${LUAJIT_LIBRARY}")
242 TARGET_LINK_LIBRARIES(lua-ucl "${LUA_LIBRARY}")
244 TARGET_LINK_LIBRARIES(lua-ucl ucl)
249 TARGET_LINK_LIBRARIES(ucl fetch)
252 TARGET_LINK_LIBRARIES(ucl ${CURL_LIBRARIES})
[all …]
H A DREADME.md251 or URL (if ucl is built with url support provided by either `libcurl` or `libfetch`):
360 ucl: parsed input in 0.6649 seconds
361 ucl: emitted config in 0.2423 seconds
362 ucl: emitted json in 0.2329 seconds
363 ucl: emitted compact json in 0.1811 seconds
364 ucl: emitted yaml in 0.2489 seconds
370 ucl: parsed input in 0.3002 seconds
371 ucl: emitted config in 0.1174 seconds
372 ucl: emitted json in 0.1174 seconds
373 ucl: emitted compact json in 0.0991 seconds
[all …]
H A DMakefile.w3230 $(INCLUDEDIR)/ucl.h \
90 $(INSTALL) -m0644 include/ucl.h $(DESTDIR)/include/ucl.h
H A DMakefile.unix27 $(INCLUDEDIR)/ucl.h \
87 $(INSTALL) -m0644 include/ucl.h $(DESTDIR)/include/ucl.h
H A DChangeLog.md5 - Streamline emitter has been added, so it is now possible to output partial `ucl` objects
/freebsd-12.1/lib/libucl/
H A DMakefile6 LIB= ucl
23 INCS= ucl.h
/freebsd-12.1/contrib/libucl/src/
H A DMakefile.am24 include_HEADERS= $(top_srcdir)/include/ucl.h \
25 $(top_srcdir)/include/ucl++.h
/freebsd-12.1/usr.sbin/iovctl/
H A DMakefile5 LIBADD= nv ucl m
/freebsd-12.1/contrib/libucl/tests/basic/
H A Dcomments.in1 # This test is intended to check various comments in ucl
/freebsd-12.1/contrib/libucl/utils/
H A DMakefile.am14 ucl_tool_SOURCES = ucl-tool.c
/freebsd-12.1/contrib/libucl/examples/
H A Ducl_cpp.cc12 auto obj = ucl::Ucl::parse(input, err); in main()
/freebsd-12.1/usr.sbin/pkg/
H A DMakefile28 LIBADD= archive fetch ucl sbuf crypto ssl
/freebsd-12.1/usr.sbin/ctld/
H A DMakefile18 LIBADD= bsdxml md sbuf util ucl m nv
/freebsd-12.1/tools/tools/net80211/
H A DREADME16 The raw packet tools are from Andrea Bittau <a.bittau@cs.ucl.ac.uk>.
/freebsd-12.1/tools/tools/net80211/wesside/
H A DREADME4 http://tapir.cs.ucl.ac.uk/bittau-wep.pdf
/freebsd-12.1/tools/tools/net80211/w00t/
H A DREADME45 [For the next set of tools, refer to http://tapir.cs.ucl.ac.uk/bittau-wep.pdf
/freebsd-12.1/gnu/usr.bin/grep/
H A DTHANKS54 Philippe De Muyter <phdm@info.ucl.ac.be>
/freebsd-12.1/lib/libc/net/
H A Dprotocols17 cbt 7 CBT # CBT, Tony Ballardie <A.Ballardie@cs.ucl.ac.uk>

12