Home
last modified time | relevance | path

Searched refs:json_text (Results 1 – 25 of 266) sorted by relevance

1234567891011

/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/tests/
H A Dtest_defacl.py55 self.assertNotRegex(json_text, test_regex)
89 self.assertRegex(json_text, empty_regex)
122 self.assertNotRegex(json_text, test_regex)
125 self.assertNotRegex(json_text, test_regex)
134 self.assertRegex(json_text, test_regex)
137 self.assertRegex(json_text, test_regex)
159 self.assertRegex(json_text, test_regex_group)
160 self.assertRegex(json_text, test_regex_user)
179 self.assertNotRegex(json_text, test_regex)
186 self.assertRegex(json_text, test_regex)
[all …]
H A Dtest_acl.py243 def _strip_json_whitespace(self, json_text): argument
244 return re.sub(r'\s*', '', json_text)
401 self.assertNotRegex(json_text, test_regex)
409 self.assertRegex(json_text, test_regex)
448 self.assertRegex(json_text, test_regex)
475 self.assertRegex(json_text, test_regex)
565 for json_text in json_texts:
577 for json_text in json_texts:
578 self.assertRegex(json_text, test_regex)
601 self.assertRegex(json_text, test_regex)
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/gslib/tests/
H A Dtest_defacl.py50 json_text = self.RunGsUtil(self._defacl_get_prefix +
52 self.assertNotRegexpMatches(json_text, test_regex)
82 self.assertRegexpMatches(json_text, empty_regex)
113 self.assertNotRegexpMatches(json_text, test_regex)
116 self.assertNotRegexpMatches(json_text, test_regex)
123 self.assertRegexpMatches(json_text, test_regex)
126 self.assertRegexpMatches(json_text, test_regex)
164 json_text = self.RunGsUtil(
170 json_text = self.RunGsUtil(
172 self.assertRegexpMatches(json_text, test_regex)
[all …]
H A Dtest_acl.py232 def _strip_json_whitespace(self, json_text): argument
233 return re.sub(r'\s*', '', json_text)
393 json_text = self.RunGsUtil(
399 json_text = self.RunGsUtil(
401 self.assertRegexpMatches(json_text, test_regex)
434 json_text = self.RunGsUtil(
437 self.assertRegexpMatches(json_text, test_regex)
461 self.assertRegexpMatches(json_text, test_regex)
543 for json_text in json_texts:
554 for json_text in json_texts:
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/tests/
H A Dtest_defacl.py55 self.assertNotRegex(json_text, test_regex)
89 self.assertRegex(json_text, empty_regex)
122 self.assertNotRegex(json_text, test_regex)
125 self.assertNotRegex(json_text, test_regex)
134 self.assertRegex(json_text, test_regex)
137 self.assertRegex(json_text, test_regex)
159 self.assertRegex(json_text, test_regex_group)
160 self.assertRegex(json_text, test_regex_user)
179 self.assertNotRegex(json_text, test_regex)
186 self.assertRegex(json_text, test_regex)
[all …]
H A Dtest_acl.py243 def _strip_json_whitespace(self, json_text): argument
244 return re.sub(r'\s*', '', json_text)
401 self.assertNotRegex(json_text, test_regex)
409 self.assertRegex(json_text, test_regex)
448 self.assertRegex(json_text, test_regex)
475 self.assertRegex(json_text, test_regex)
565 for json_text in json_texts:
577 for json_text in json_texts:
578 self.assertRegex(json_text, test_regex)
601 self.assertRegex(json_text, test_regex)
[all …]
/dports/net/rabbitmq/rabbitmq-server-3.9.11/deps/rabbit_common/src/
H A Drabbit_json.erl16 -spec decode(jsx:json_text()) -> jsx:json_term().
21 -spec decode(jsx:json_text(), jsx_to_term:config()) -> jsx:json_term().
26 -spec try_decode(jsx:json_text()) -> {ok, jsx:json_term()} |
32 -spec try_decode(jsx:json_text(), jsx_to_term:config()) ->
41 -spec encode(jsx:json_term()) -> jsx:json_text().
45 -spec encode(jsx:json_term(), jsx_to_json:config()) -> jsx:json_text().
50 -spec try_encode(jsx:json_term()) -> {ok, jsx:json_text()} |
57 {ok, jsx:json_text()} | {error, Reason :: term()}.
/dports/devel/nlohmann-json/json-3.10.4/test/src/
H A Dunit-unicode1.cpp66 std::string json_text = "\""; in skip() local
85 json_text += codepoint_to_unicode(cp); in skip()
97 json_text += "\""; in skip()
98 CAPTURE(json_text) in skip()
100 CHECK_NOTHROW(_ = json::parse(json_text)); in skip()
149 std::string json_text = "\"" + codepoint_to_unicode(cp) + "\""; in skip()
150 CAPTURE(json_text) in skip()
151 CHECK_THROWS_AS(json::parse(json_text), json::parse_error&); in skip()
169 CAPTURE(json_text) in skip()
182 CAPTURE(json_text) in skip()
[all …]
/dports/net/rabbitmq/rabbitmq-server-3.9.11/deps/jsx/src/
H A Djsx.erl33 -export_type([json_term/0, json_text/0, token/0]).
53 -type json_text() :: binary(). type
57 -spec encode(Source::json_term()) -> json_text() | {incomplete, encoder()}.
61 -spec encode(Source::json_term(), Config::jsx_config:options()) -> json_text() | {incomplete, encod…
66 -spec decode(Source::json_text()) -> json_term() | {incomplete, decoder()}.
75 -spec format(Source::json_text()) -> json_text().
79 -spec format(Source::json_text(), Config::jsx_config:options()) -> json_text().
84 -spec minify(Source::json_text()) -> json_text().
89 -spec prettify(Source::json_text()) -> json_text().
122 -type decoder() :: fun((json_text() | end_stream | end_json) -> any()).
[all …]
/dports/devel/erlang-jsx/jsx-2.9.0/src/
H A Djsx.erl34 -export_type([json_term/0, json_text/0, token/0]).
65 -type json_text() :: binary(). type
69 -spec encode(Source::json_term()) -> json_text().
73 -spec encode(Source::json_term(), Config::jsx_to_json:config()) -> json_text() | {incomplete, encod…
78 -spec decode(Source::json_text()) -> json_term().
87 -spec format(Source::json_text()) -> json_text().
91 -spec format(Source::json_text(), Config::jsx_to_json:config()) -> json_text() | {incomplete, decod…
96 -spec minify(Source::json_text()) -> json_text().
101 -spec prettify(Source::json_text()) -> json_text().
133 -type decoder() :: fun((json_text() | end_stream | end_json) -> any()).
[all …]
/dports/security/ykpers/ykpers-1.19.0/
H A Dykpers-json.c47 if(!p->json_text) { in set_json_value()
52 json_bool ret = yk_json_object_object_get(options, p->json_text, joption); in set_json_value()
90 json_object *jmode = json_object_new_string(p->json_text); in _ykp_json_export_cfg()
174 if(!p->json_text) { in _ykp_json_export_cfg()
180 json_object_object_add(options_json, p->json_text, jsetting); in _ykp_json_export_cfg()
185 if(!p->json_text) { in _ykp_json_export_cfg()
191 json_object_object_add(options_json, p->json_text, jsetting); in _ykp_json_export_cfg()
196 if(!p->json_text) { in _ykp_json_export_cfg()
202 json_object_object_add(options_json, p->json_text, jsetting); in _ykp_json_export_cfg()
265 if(strcmp(raw_mode, p->json_text) == 0) { in _ykp_json_import_cfg()
/dports/sysutils/py-pywatchman/watchman-4.9.0/tests/
H A Dbser.cpp96 const char* json_text; member
107 const char* json_text; member
310 1, 0, template_tests[i].json_text, template_tests[i].template_text); in main()
312 2, 0, template_tests[i].json_text, template_tests[i].template_text); in main()
316 template_tests[i].json_text, in main()
321 template_tests[i].json_text, in main()
326 template_tests[i].json_text, in main()
332 1, 0, serialization_tests[i].json_text, serialization_tests[i].bserv1); in main()
334 2, 0, serialization_tests[i].json_text, serialization_tests[i].bserv2); in main()
/dports/www/p5-HTTP-BrowserDetect/HTTP-BrowserDetect-3.35/t/
H A Dmake-more-useragents.pl31 my $json_text = path("$FindBin::Bin/useragents.json")->slurp;
32 my $tests = JSON::PP->new->ascii->decode($json_text);
35 $json_text = path("$FindBin::Bin/more-useragents.json")->slurp;
36 my $more_tests = JSON::PP->new->ascii->decode($json_text);
/dports/www/you-get/you-get-0.4.1545/src/you_get/extractors/
H A Dacfun.py25 json_text = match1(html, r"(?s)videoInfo\s*=\s*(\{.*?\});")
26 json_data = json.loads(json_text)
38 json_text = tag_script[tag_script.find('{') : tag_script.find('};') + 1]
39 json_data = json.loads(json_text)
173 json_text = match1(html, r"(?s)videoInfo\s*=\s*(\{.*?\});")
174 json_data = json.loads(json_text)
186 json_text = tag_script[tag_script.find('{') : tag_script.find('};') + 1]
187 json_data = json.loads(json_text)
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/unittest/gunit/
H A Djson_path-t.cc54 void vet_wrapper_seek(const char *json_text, const char *path_text,
339 void JsonPathTest::vet_wrapper_seek(const char *json_text, in vet_wrapper_seek() argument
344 Json_dom::parse(json_text, std::strlen(json_text), nullptr, nullptr); in vet_wrapper_seek()
360 void vet_dom_location(const char *json_text, const char *path_text) { in vet_dom_location() argument
362 Json_dom::parse(json_text, std::strlen(json_text), nullptr, nullptr); in vet_dom_location()
408 void vet_only_needs_one(const char *json_text, const char *path_text, in vet_only_needs_one() argument
411 Json_dom::parse(json_text, std::strlen(json_text), nullptr, nullptr); in vet_only_needs_one()
1255 std::string json_text = "[100, 200, 300]"; in TEST_F() local
1257 Json_dom::parse(json_text.data(), json_text.length(), nullptr, nullptr); in TEST_F()
1264 json_text = "{\"a\": 100, \"b\": 200, \"c\": 300}"; in TEST_F()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_json_cdr/
H A Dmod_json_cdr.c81 char *json_text; member
201 const char *json_text = data->json_text_escaped ? data->json_text_escaped : data->json_text; in backup_cdr() local
216 switch_size_t json_len = strlen(json_text); in backup_cdr()
218 do { x = write(fd, json_text, json_len); in backup_cdr()
247 switch_safe_free(data->json_text); in destroy_cdr_data()
284 do { x = write(fd, data->json_text, json_len);
320 curl_json_text = (char *)data->json_text;
429 if (curl_json_text != data->json_text) {
439 char *json_text = NULL; local
470 json_text = cJSON_PrintUnformatted(json_cdr);
[all …]
/dports/converters/p5-JSON-MaybeXS/JSON-MaybeXS-1.004003/t/
H A Dlegacy.t39 $json_text = to_json($perl_scalar)
45 $json_text = JSON()->new->encode($perl_scalar)
48 $perl_scalar = from_json($json_text)
55 $perl_scalar = JSON()->decode($json_text)
/dports/audio/giada/giada-0.17.1/src/deps/json/test/src/
H A Dunit-unicode.cpp1023 std::string json_text = "\""; in skip() local
1042 json_text += codepoint_to_unicode(cp); in skip()
1054 json_text += "\""; in skip()
1055 CAPTURE(json_text) in skip()
1057 CHECK_NOTHROW(_ = json::parse(json_text)); in skip()
1106 std::string json_text = "\"" + codepoint_to_unicode(cp) + "\""; in skip()
1107 CAPTURE(json_text) in skip()
1108 CHECK_THROWS_AS(json::parse(json_text), json::parse_error&); in skip()
1126 CAPTURE(json_text) in skip()
1139 CAPTURE(json_text) in skip()
[all …]
/dports/www/libdatachannel/libdatachannel-0.16.1/deps/json/test/src/
H A Dunit-unicode.cpp1022 std::string json_text = "\""; in skip() local
1041 json_text += codepoint_to_unicode(cp); in skip()
1053 json_text += "\""; in skip()
1054 CAPTURE(json_text) in skip()
1056 CHECK_NOTHROW(_ = json::parse(json_text)); in skip()
1105 std::string json_text = "\"" + codepoint_to_unicode(cp) + "\""; in skip()
1106 CAPTURE(json_text) in skip()
1107 CHECK_THROWS_AS(json::parse(json_text), json::parse_error&); in skip()
1125 CAPTURE(json_text) in skip()
1138 CAPTURE(json_text) in skip()
[all …]
/dports/devel/checkbashisms/devscripts-2.21.4/scripts/
H A Ddebrebuild.pl464 my $json_text = $json->allow_nonref->utf8->relaxed->decode($content);
465 die "cannot decode json" unless defined $json_text;
466 foreach my $result (@{ $json_text->{result} }) {
469 @{ $json_text->{fileinfo}->{ $result->{hash} } };
728 my $json_text = $json->allow_nonref->utf8->relaxed->decode($content);
729 die "cannot decode json" unless defined $json_text;
731 if (scalar @{ $json_text->{result} } == 1) {
735 $pkg_hash = ${ $json_text->{result} }[0]->{hash};
737 = ${ $json_text->{result} }[0]->{architecture};
764 foreach my $result (@{ $json_text->{result} }) {
[all …]
H A Ddebsnap.pl113 my $json_text = $json->allow_nonref->utf8->relaxed->decode($content);
115 return $json_text;
269 my $json_text = fetch_json_page($baseurl);
270 unless ($json_text && @{ $json_text->{result} }) {
274 my @versions = @{ $json_text->{result} };
/dports/lang/spidermonkey60/firefox-60.9.0/servo/components/script/
H A Dbody.rs117 let json_text = String::from_utf8_lossy(&bytes); in run_json_data_algorithm() localVariable
118 let json_text: Vec<u16> = json_text.encode_utf16().collect(); in run_json_data_algorithm() localVariable
122 json_text.as_ptr(), in run_json_data_algorithm()
123 json_text.len() as u32, in run_json_data_algorithm()
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/unittest/gunit/
H A Djson_path-t.cc385 void vet_wrapper_seek(char *json_text, char *path_text, in vet_wrapper_seek() argument
391 Json_dom *dom= Json_dom::parse(json_text, std::strlen(json_text), in vet_wrapper_seek()
409 const char *json_text, const char *path_text) in vet_dom_location() argument
413 Json_dom *dom= Json_dom::parse(json_text, std::strlen(json_text), in vet_dom_location()
466 const char *json_text, const char *path_text, in vet_only_needs_one() argument
472 Json_dom *dom= Json_dom::parse(json_text, std::strlen(json_text), in vet_only_needs_one()
552 void vet_remove(char *json_text, char *path_text, std::string expected, in vet_remove() argument
558 Json_dom *parent= Json_dom::parse(json_text, std::strlen(json_text), in vet_remove()
/dports/databases/percona57-client/percona-server-5.7.36-39/unittest/gunit/
H A Djson_path-t.cc385 void vet_wrapper_seek(char *json_text, char *path_text, in vet_wrapper_seek() argument
391 Json_dom *dom= Json_dom::parse(json_text, std::strlen(json_text), in vet_wrapper_seek()
409 const char *json_text, const char *path_text) in vet_dom_location() argument
413 Json_dom *dom= Json_dom::parse(json_text, std::strlen(json_text), in vet_dom_location()
466 const char *json_text, const char *path_text, in vet_only_needs_one() argument
472 Json_dom *dom= Json_dom::parse(json_text, std::strlen(json_text), in vet_only_needs_one()
552 void vet_remove(char *json_text, char *path_text, std::string expected, in vet_remove() argument
558 Json_dom *parent= Json_dom::parse(json_text, std::strlen(json_text), in vet_remove()
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/unittest/gunit/
H A Djson_path-t.cc385 void vet_wrapper_seek(char *json_text, char *path_text, in vet_wrapper_seek() argument
391 Json_dom *dom= Json_dom::parse(json_text, std::strlen(json_text), in vet_wrapper_seek()
409 const char *json_text, const char *path_text) in vet_dom_location() argument
413 Json_dom *dom= Json_dom::parse(json_text, std::strlen(json_text), in vet_dom_location()
466 const char *json_text, const char *path_text, in vet_only_needs_one() argument
472 Json_dom *dom= Json_dom::parse(json_text, std::strlen(json_text), in vet_only_needs_one()
552 void vet_remove(char *json_text, char *path_text, std::string expected, in vet_remove() argument
558 Json_dom *parent= Json_dom::parse(json_text, std::strlen(json_text), in vet_remove()

1234567891011