Home
last modified time | relevance | path

Searched refs:new_json (Results 1 – 25 of 26) sorted by relevance

12

/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/esl/src/include/
H A Desl_json.h50 cJSON *new_json = NULL; in esl_json_add_child_obj() local
55 new_json = obj; in esl_json_add_child_obj()
60 esl_assert(new_json); in esl_json_add_child_obj()
64 return new_json; in esl_json_add_child_obj()
69 cJSON *new_json = NULL; in esl_json_add_child_array() local
73 new_json = cJSON_CreateArray(); in esl_json_add_child_array()
74 esl_assert(new_json); in esl_json_add_child_array()
78 return new_json; in esl_json_add_child_array()
83 cJSON *new_json = NULL; in esl_json_add_child_string() local
88 esl_assert(new_json); in esl_json_add_child_string()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/include/
H A Dswitch_json.h51 cJSON *new_json = NULL; in json_add_child_obj() local
56 new_json = obj; in json_add_child_obj()
61 switch_assert(new_json); in json_add_child_obj()
65 return new_json; in json_add_child_obj()
70 cJSON *new_json = NULL; in json_add_child_array() local
74 new_json = cJSON_CreateArray(); in json_add_child_array()
75 switch_assert(new_json); in json_add_child_array()
79 return new_json; in json_add_child_array()
84 cJSON *new_json = NULL; in json_add_child_string() local
89 switch_assert(new_json); in json_add_child_string()
[all …]
/dports/www/trafficserver/trafficserver-9.1.1/plugins/experimental/uri_signing/
H A Djwt.c266 json_object_set_new(new_json, name, old_json); in renew_copy_raw()
274 json_object_set_new(new_json, name, json_real(old)); in renew_copy_real()
299 json_t *new_json = json_object(); in renew() local
301 renew_copy_string(new_json, "sub", jwt->sub); in renew()
302 renew_copy_raw(new_json, "aud", jwt->aud); in renew()
304 renew_copy_real(new_json, "nbf", jwt->nbf); in renew()
306 renew_copy_string(new_json, "jti", jwt->jti); in renew()
307 renew_copy_string(new_json, "cdniuc", jwt->cdniuc); in renew()
308 renew_copy_integer(new_json, "cdniv", jwt->cdniv); in renew()
313 char *pt = json_dumps(new_json, JSON_COMPACT); in renew()
[all …]
/dports/astro/stellarium/stellarium-0.21.3/plugins/Satellites/util/
H A Dname_to_number.py13 new_json = dict() variable
23 new_json[catalog_num] = satellite.copy()
26 old_json['satellites'] = new_json
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/liblouis/
H A DPRESUBMIT.py25 new_json = []
44 new_json.append({
53 results.append(output_api.PresubmitError(json.dumps(new_json, indent=2)))
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/chrome_cleaner/engines/controllers/
H A Duwe_engine_cleaner_wrapper.cc105 base::Value new_json = extension.policy_file->json->data.Clone(); in RemovePUPExtensions() local
108 std::move(new_json)}) in RemovePUPExtensions()
132 base::Value new_json = in RemovePUPExtensions() local
135 std::make_pair(std::move(new_json), in RemovePUPExtensions()
154 base::Value new_json = extension.policy_file->json->data.Clone(); in RemovePUPExtensions() local
157 std::move(new_json)}) in RemovePUPExtensions()
/dports/editors/p5-Vimana/Vimana-2010.09303/lib/Vimana/
H A DRecord.pm11 sub new_json { subroutine
76 eval { $record = new_json()->decode( $json ) };
129 print FH new_json()->encode( $record );
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/extras/libjsonpb/verify/
H A Dverify.cpp178 Json::Value new_json; in EqReformattedJson() local
179 if (!reader.parse(*new_json_string, new_json)) { in EqReformattedJson()
184 if (old_json != new_json) { in EqReformattedJson()
202 << Json::StyledWriter().write(new_json); in EqReformattedJson()
/dports/sysutils/ganglia-webfrontend/ganglia-web-3.7.2/
H A Dfunctions.php1034 $new_json = "";
1049 $new_json .= $char . "\n" . str_repeat($tab, $indent_level+1);
1054 $new_json .= $char;
1062 $new_json .= "\n" . str_repeat($tab, $indent_level) . $char;
1066 $new_json .= $char;
1072 $new_json .= ",\n" . str_repeat($tab, $indent_level);
1076 $new_json .= $char;
1082 $new_json .= ": ";
1086 $new_json .= $char;
1095 $new_json .= $char;
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/addon-sdk/source/python-lib/cuddlefish/
H A Dpreflight.py73 new_json = json.dumps(config, indent=4)
74 open(filename, 'w').write(new_json+"\n")
/dports/japanese/ajaxzip2-core/ajaxzip2/work/
H A Dcsv2jsonzip.pl181 my $new_json = (( $use_json =~ /^([\d\.]+)/ )[0] >= 2.0 ) if $use_json;
191 $new_json ? to_json($data) : objToJson($data);
202 $dump = Encode::encode( $JSON_ENC, $dump ) if $new_json;
/dports/www/p5-Mojo-Weixin/Mojo-Weixin-1.4.6/lib/Mojo/Weixin/Plugin/
H A DHwPush.pm126 my $new_json = shift;
127 if(not defined $new_json){
132 $client->debug("[".__PACKAGE__."]华为消息推送状态:$new_json->{error}");
/dports/deskutils/egroupware/egroupware/
H A DupdateGruntfile.php118 $new_json = str_replace("\n", "\n\t", variable
124 $new_content = preg_replace('/^(\s*)"([a-z0-9]+)":/mi', '$1$2:', $new_json);
/dports/sysutils/py-azure-cli/azure-cli-2.29.2/azure/cli/command_modules/appconfig/
H A D_kv_helpers.py577 def __print_features_preview(old_json, new_json): argument
579 if not new_json:
585 new_json['@base'] = ''
588 res = differ.diff(old_json, new_json)
616 new_record[attribute] = new_json[key][attribute]
623 def __print_preview(old_json, new_json): argument
625 if not new_json:
631 new_json['@base'] = ''
634 res = differ.diff(old_json, new_json)
660 new_record[attribute] = new_json[key][attribute]
H A Dkeyvalue.py142 new_json=__serialize_kv_list_to_comparable_json_object(keyvalues=src_kvs, level=source))
156new_json=__serialize_features_from_kv_list_to_comparable_json_object(keyvalues=src_features))
276new_json=__serialize_kv_list_to_comparable_json_object(keyvalues=src_kvs, level=destination))
282 new_json=__serialize_feature_list_to_comparable_json_object(features=src_features))
/dports/devel/py-lark-parser/lark-parser-0.12.0/tests/
H A Dtest_reconstructor.py143 new_json = Reconstructor(json_parser).reconstruct(tree)
144 self.assertEqual(json.loads(new_json), json.loads(test_json))
/dports/www/trafficserver/trafficserver-9.1.1/plugins/experimental/traffic_dump/
H A Dpost_process.py188 new_json = deepcopy(TEMPLATE)
189 new_json["sessions"] = deepcopy(sessions)
191 json.dump(new_json, f, ensure_ascii=False, indent=indent)
/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_label.py177 new_json = {
182 new_json_fpath = self.CreateTempFile(contents=json.dumps(new_json))
186 self.assertItemsEqual(json.loads(stdout), new_json)
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/tests/
H A Dtest_label.py191 new_json = {
197 contents=json.dumps(new_json).encode('ascii'))
201 self.assertDictEqual(json.loads(stdout), new_json)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/tests/
H A Dtest_label.py191 new_json = {
197 contents=json.dumps(new_json).encode('ascii'))
201 self.assertDictEqual(json.loads(stdout), new_json)
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/unittest/gunit/
H A Ditem_json_func-t.cc97 const char *orig_json, const char *new_json, in do_partial_update() argument
116 EXPECT_EQ(new_json == nullptr, func->null_value); in do_partial_update()
120 if (new_json == nullptr) return; in do_partial_update()
122 Json_wrapper new_doc(parse_json(new_json)); in do_partial_update()
H A Djson_dom-t.cc1072 const char *orig_json, const char *new_json) { in test_apply_json_diffs() argument
1078 EXPECT_EQ(0, doc.compare(Json_wrapper(parse_json(new_json).release()))); in test_apply_json_diffs()
1103 const char *new_json) { in do_apply_json_diffs_tests() argument
1105 test_apply_json_diffs(field, diffs, orig_json, new_json); in do_apply_json_diffs_tests()
/dports/devel/py-ovs/ovs-2.9.0/ovs/
H A Djson.py437 def __parser_push(self, new_json, next_state): argument
440 self.__put_value(new_json)
441 self.stack.append(new_json)
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/extensions/api/downloads/
H A Ddownloads_api.cc1915 std::unique_ptr<base::DictionaryValue> new_json; in OnDownloadUpdated() local
1931 new_json = DownloadItemToJSON(download_item, profile_); in OnDownloadUpdated()
1937 for (base::DictionaryValue::Iterator iter(*new_json); !iter.IsAtEnd(); in OnDownloadUpdated()
1973 data->set_json(std::move(new_json)); in OnDownloadUpdated()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/extensions/api/downloads/
H A Ddownloads_api.cc1910 std::unique_ptr<base::DictionaryValue> new_json; in OnDownloadUpdated() local
1926 new_json = DownloadItemToJSON(download_item, profile_); in OnDownloadUpdated()
1932 for (base::DictionaryValue::Iterator iter(*new_json); !iter.IsAtEnd(); in OnDownloadUpdated()
1968 data->set_json(std::move(new_json)); in OnDownloadUpdated()

12