/dports/www/uwsgi/uwsgi-2.0.20/plugins/mongrel2/ |
H A D | mongrel2.c | 35 char *json_val; in uwsgi_mongrel2_json_add() local 40 if (strlen(json_val) > 0xffff) in uwsgi_mongrel2_json_add() 43 *extra = json_val; in uwsgi_mongrel2_json_add() 44 *extra_len = strlen(json_val); in uwsgi_mongrel2_json_add() 46 return proto_base_add_uwsgi_var(wsgi_req, key, keylen, json_val, strlen(json_val)); in uwsgi_mongrel2_json_add() 55 char *json_val; in uwsgi_mongrel2_json_parse() local 64 if (!strcmp(json_val, "JSON")) { in uwsgi_mongrel2_json_parse() 74 uwsgi_error_open(json_val); in uwsgi_mongrel2_json_parse() 96 …char *request_uri = uwsgi_concat3n(json_val, strlen(json_val), "?", 1, query_string, query_string_… in uwsgi_mongrel2_json_parse() 110 char *colon = strchr(json_val, ':'); in uwsgi_mongrel2_json_parse() [all …]
|
/dports/www/libjwt/libjwt-1.13.1/tests/ |
H A D | jwt_grant.c | 194 char *json_val; in START_TEST() local 208 json_val = jwt_get_grants_json(NULL, "other"); in START_TEST() 209 ck_assert(json_val == NULL); in START_TEST() 212 json_val = jwt_get_grants_json(jwt, "other"); in START_TEST() 213 ck_assert(json_val != NULL); in START_TEST() 214 ck_assert_str_eq(json_val, "[\"foo\",\"bar\"]"); in START_TEST() 216 jwt_free_str(json_val); in START_TEST() 218 json_val = jwt_get_grants_json(jwt, NULL); in START_TEST() 219 ck_assert(json_val != NULL); in START_TEST() 220 ck_assert_str_eq(json_val, json); in START_TEST() [all …]
|
H A D | jwt_header.c | 194 char *json_val; in START_TEST() local 208 json_val = jwt_get_headers_json(NULL, "other"); in START_TEST() 209 ck_assert(json_val == NULL); in START_TEST() 212 json_val = jwt_get_headers_json(jwt, "other"); in START_TEST() 213 ck_assert(json_val != NULL); in START_TEST() 214 ck_assert_str_eq(json_val, "[\"foo\",\"bar\"]"); in START_TEST() 216 jwt_free_str(json_val); in START_TEST() 218 json_val = jwt_get_headers_json(jwt, NULL); in START_TEST() 219 ck_assert(json_val != NULL); in START_TEST() 220 ck_assert_str_eq(json_val, json); in START_TEST() [all …]
|
H A D | jwt_validate.c | 480 char *json_val; in START_TEST() local 494 json_val = jwt_valid_get_grants_json(NULL, "other"); in START_TEST() 495 ck_assert(json_val == NULL); in START_TEST() 498 json_val = jwt_valid_get_grants_json(jwt_valid, "other"); in START_TEST() 499 ck_assert(json_val != NULL); in START_TEST() 500 ck_assert_str_eq(json_val, "[\"foo\",\"bar\"]"); in START_TEST() 502 jwt_free_str(json_val); in START_TEST() 504 json_val = jwt_valid_get_grants_json(jwt_valid, NULL); in START_TEST() 505 ck_assert(json_val != NULL); in START_TEST() 506 ck_assert_str_eq(json_val, json); in START_TEST() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/json/ |
H A D | json_reader_fuzzer.cc | 25 JSONReader::ValueWithError json_val = in LLVMFuzzerTestOneInput() local 27 CHECK((json_val.error_code == JSONReader::JSON_NO_ERROR) == in LLVMFuzzerTestOneInput() 28 json_val.value.has_value()); in LLVMFuzzerTestOneInput() 30 if (json_val.value) { in LLVMFuzzerTestOneInput() 33 const Value& value = json_val.value.value(); in LLVMFuzzerTestOneInput()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/unittests/debugserver/ |
H A D | JSONTest.cpp | 15 void TestJSON(JSONValue *json_val, const std::function<void(T &)> &test_func) { in TestJSON() argument 16 ASSERT_THAT(json_val, testing::NotNull()); in TestJSON() 17 ASSERT_TRUE(T::classof(json_val)); in TestJSON() 18 test_func(static_cast<T &>(*json_val)); in TestJSON() 29 auto json_val = ParseJSON(json_string); local 30 TestJSON<T>(json_val.get(), test_func);
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lldb/unittests/debugserver/ |
H A D | JSONTest.cpp | 15 void TestJSON(JSONValue *json_val, const std::function<void(T &)> &test_func) { in TestJSON() argument 16 ASSERT_THAT(json_val, testing::NotNull()); in TestJSON() 17 ASSERT_TRUE(T::classof(json_val)); in TestJSON() 18 test_func(static_cast<T &>(*json_val)); in TestJSON() 29 auto json_val = ParseJSON(json_string); local 30 TestJSON<T>(json_val.get(), test_func);
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lldb/unittests/debugserver/ |
H A D | JSONTest.cpp | 15 void TestJSON(JSONValue *json_val, const std::function<void(T &)> &test_func) { in TestJSON() argument 16 ASSERT_THAT(json_val, testing::NotNull()); in TestJSON() 17 ASSERT_TRUE(T::classof(json_val)); in TestJSON() 18 test_func(static_cast<T &>(*json_val)); in TestJSON() 29 auto json_val = ParseJSON(json_string); local 30 TestJSON<T>(json_val.get(), test_func);
|
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/unittests/debugserver/ |
H A D | JSONTest.cpp | 15 void TestJSON(JSONValue *json_val, const std::function<void(T &)> &test_func) { in TestJSON() argument 16 ASSERT_THAT(json_val, testing::NotNull()); in TestJSON() 17 ASSERT_TRUE(T::classof(json_val)); in TestJSON() 18 test_func(static_cast<T &>(*json_val)); in TestJSON() 29 auto json_val = ParseJSON(json_string); local 30 TestJSON<T>(json_val.get(), test_func);
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lldb/unittests/debugserver/ |
H A D | JSONTest.cpp | 15 void TestJSON(JSONValue *json_val, const std::function<void(T &)> &test_func) { in TestJSON() argument 16 ASSERT_THAT(json_val, testing::NotNull()); in TestJSON() 17 ASSERT_TRUE(T::classof(json_val)); in TestJSON() 18 test_func(static_cast<T &>(*json_val)); in TestJSON() 29 auto json_val = ParseJSON(json_string); local 30 TestJSON<T>(json_val.get(), test_func);
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lldb/unittests/debugserver/ |
H A D | JSONTest.cpp | 15 void TestJSON(JSONValue *json_val, const std::function<void(T &)> &test_func) { in TestJSON() argument 16 ASSERT_THAT(json_val, testing::NotNull()); in TestJSON() 17 ASSERT_TRUE(T::classof(json_val)); in TestJSON() 18 test_func(static_cast<T &>(*json_val)); in TestJSON() 29 auto json_val = ParseJSON(json_string); local 30 TestJSON<T>(json_val.get(), test_func);
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lldb/unittests/debugserver/ |
H A D | JSONTest.cpp | 15 void TestJSON(JSONValue *json_val, const std::function<void(T &)> &test_func) { in TestJSON() argument 16 ASSERT_THAT(json_val, testing::NotNull()); in TestJSON() 17 ASSERT_TRUE(T::classof(json_val)); in TestJSON() 18 test_func(static_cast<T &>(*json_val)); in TestJSON() 29 auto json_val = ParseJSON(json_string); local 30 TestJSON<T>(json_val.get(), test_func);
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lldb/unittests/debugserver/ |
H A D | JSONTest.cpp | 15 void TestJSON(JSONValue *json_val, const std::function<void(T &)> &test_func) { in TestJSON() argument 16 ASSERT_THAT(json_val, testing::NotNull()); in TestJSON() 17 ASSERT_TRUE(T::classof(json_val)); in TestJSON() 18 test_func(static_cast<T &>(*json_val)); in TestJSON() 29 auto json_val = ParseJSON(json_string); local 30 TestJSON<T>(json_val.get(), test_func);
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/unittests/debugserver/ |
H A D | JSONTest.cpp | 15 void TestJSON(JSONValue *json_val, const std::function<void(T &)> &test_func) { in TestJSON() argument 16 ASSERT_THAT(json_val, testing::NotNull()); in TestJSON() 17 ASSERT_TRUE(T::classof(json_val)); in TestJSON() 18 test_func(static_cast<T &>(*json_val)); in TestJSON() 29 auto json_val = ParseJSON(json_string); local 30 TestJSON<T>(json_val.get(), test_func);
|
/dports/devel/llvm13/llvm-project-13.0.1.src/lldb/unittests/debugserver/ |
H A D | JSONTest.cpp | 15 void TestJSON(JSONValue *json_val, const std::function<void(T &)> &test_func) { 16 ASSERT_THAT(json_val, testing::NotNull()); 17 ASSERT_TRUE(T::classof(json_val)); 18 test_func(static_cast<T &>(*json_val)); 29 auto json_val = ParseJSON(json_string); 30 TestJSON<T>(json_val.get(), test_func);
|
/dports/dns/knot-resolver/knot-resolver-5.4.3/modules/bogus_log/ |
H A D | bogus_log.c | 69 JsonNode *json_val = json_mkobject(); in dump_value() local 70 json_append_member(json_val, "count", json_mknumber(*val)); in dump_value() 71 json_append_member(json_val, "name", json_mkstring(key_name)); in dump_value() 72 json_append_member(json_val, "type", json_mkstring(type_str)); in dump_value() 73 json_append_element((JsonNode *)baton, json_val); in dump_value()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/json/ |
H A D | json_reader_fuzzer.cc | 25 JSONReader::ValueWithError json_val = in LLVMFuzzerTestOneInput() local 27 if (json_val.value) { in LLVMFuzzerTestOneInput() 30 const Value& value = json_val.value.value(); in LLVMFuzzerTestOneInput()
|
H A D | json_writer_unittest.cc | 205 JSONReader::ValueWithError json_val = JSONReader::ReadAndReturnValueWithError( in TEST() local 207 EXPECT_TRUE(json_val.value); in TEST() 208 const Value& value = json_val.value.value(); in TEST()
|
/dports/dns/knot-resolver/knot-resolver-5.4.3/modules/stats/ |
H A D | stats.c | 377 JsonNode *json_val = json_mkobject(); in dump_value() local 378 json_append_member(json_val, "count", json_mknumber(*val)); in dump_value() 379 json_append_member(json_val, "name", json_mkstring(key_name)); in dump_value() 380 json_append_member(json_val, "type", json_mkstring(type_str)); in dump_value() 381 json_append_element((JsonNode *)baton, json_val); in dump_value() 437 JsonNode *json_val = json_find_member(root, addr_str); in dump_upstreams() local 438 if (!json_val) { in dump_upstreams() 439 json_val = json_mkarray(); in dump_upstreams() 440 json_append_member(root, addr_str, json_val); in dump_upstreams() 442 json_append_element(json_val, json_mknumber(e->sin6_rtt)); in dump_upstreams()
|
/dports/games/0ad/0ad-0.0.23b-alpha/source/ps/ |
H A D | ModInstaller.cpp | 66 JS::RootedValue json_val(cx); in Install() local 67 if (!scriptInterface.ParseJSON(modinfo.GetAsString(), &json_val)) in Install() 69 JS::RootedObject json_obj(cx, json_val.toObjectOrNull()); in Install()
|
/dports/textproc/py-atoml/atoml-1.1.0/tests/ |
H A D | test_toml_tests.py | 43 json_val = untag(json.loads(valid_case["json"])) 46 assert toml_val == json_val
|
/dports/textproc/py-tomlkit/tomlkit-0.7.2/tomlkit/tests/ |
H A D | test_toml_tests.py | 44 json_val = untag(json.loads(valid_case["json"])) 47 assert toml_val == json_val
|
/dports/databases/pg_citus/citus-10.2.3/src/test/regress/sql/ |
H A D | cte_nested_modification.sql | 9 CREATE TABLE tt3(id int, json_val json); field 97 SET value_1 = (SELECT max((json_val->>'qty')::int) FROM cte_2)
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/router/tests/helpers/ |
H A D | rest_api_testutils.h | 103 std::ostream &os, const rapidjson::GenericValue<T, Allocator> &json_val) { 107 json_val.Accept(pretty);
|
/dports/www/pomerium/pomerium-0.8.3/vendor/github.com/google/go-jsonnet/python/ |
H A D | _jsonnet.c | 108 struct JsonnetJsonValue *json_val; local 119 json_val = python_to_jsonnet_json(vm, val, err_msg); 120 if (json_val == NULL) { 124 jsonnet_json_object_append(vm, obj, key_, json_val);
|