Searched refs:json (Results 1 - 13 of 13) sorted by relevance

/freebsd-10.1-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/
H A Dtst.usdt.d22 * primary motivating use case for the json() subroutine: filtering
39 /json(this->j, "finished") == NULL && json(this->j, "action") != "ignore"/
41 this->index = strtoll(json(this->j, "index"));
42 this->size = json(this->j, "sizes[2]");
43 this->odd = json(this->j, "facts.odd");
44 this->even = json(this->j, "facts.even");
50 /json(this->j, "finished") != NULL/
H A Dtst.usdt.c46 char *odd, *even, *json, *action; local
53 asprintf(&json, FMT, size, idx, odd, even, action);
54 BUNYAN_FAKE_LOG_DEBUG(json);
55 free(json);
H A Dtst.strsize.d18 * json() run time must be bounded above by strsize. This test makes strsize
30 out = json(in, "a");
34 out = json(in, "a");
38 out = json(in, "b");
42 out = json(in, "b");
H A Dtst.general.d17 * General functional tests of JSON parser for json().
32 out = json(in, ss); \
/freebsd-10.1-release/contrib/libucl/tests/
H A Dschema.test5 for i in ${TEST_DIR}/schema/*.json ; do
H A Dtest_basic.c36 int ret = 0, inlen, opt, json = 0; local
41 json = 1;
106 if (json) {
127 if (json) {
H A Drun_tests.sh42 for i in ${TEST_DIR}/schema/*.json ; do
/freebsd-10.1-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/privs/
H A Dtst.func_access.ksh68 BEGIN { j = "{\"/sbin/init\":\"uh oh\"}"; trace(json(j, `initname)); }
69 BEGIN { trace(json(`initname, "x")); }
/freebsd-10.1-release/contrib/ntp/libjsmn/example/
H A Dsimple.c14 static int jsoneq(const char *json, jsmntok_t *tok, const char *s) { argument
16 strncmp(json + tok->start, s, tok->end - tok->start) == 0) {
/freebsd-10.1-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.subr.d103 STRFUNC(json("{\"systemtap\": false}", "systemtap"))
/freebsd-10.1-release/release/amd64/
H A Dmk-azure.sh145 size=$(qemu-img info -f raw --output json ${VMIMAGE}.raw | awk '/virtual-size/ {print $2}' | tr -d ',')
/freebsd-10.1-release/release/i386/
H A Dmk-azure.sh145 size=$(qemu-img info -f raw --output json ${VMIMAGE}.raw | awk '/virtual-size/ {print $2}' | tr -d ',')
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c3617 * specification (http://json.org/). Briefly:
3672 dtrace_json(uint64_t size, uintptr_t json, char *elemlist, int nelems, argument
3688 for (cur = json; cur < json + size; cur++) {
4832 uintptr_t json = tupregs[0].dttk_value; local
4833 size_t jsonlen = dtrace_strlen((char *)json, size);
4843 if (!dtrace_canload(json, jsonlen + 1, mstate, vstate) ||
4883 if ((regs[rd] = (uintptr_t)dtrace_json(size, json, elemlist,

Completed in 104 milliseconds