Home
last modified time | relevance | path

Searched refs:json (Results 1 – 25 of 905) sorted by relevance

12345678910>>...37

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/geojson/0.4.2/include/mapbox/
H A Dgeojson_impl.hpp20 T convert(const rapidjson_value &json);
23 point convert<point>(const rapidjson_value &json) { in convert() argument
24 if (json.Size() < 2) in convert()
27 return point{ json[0].GetDouble(), json[1].GetDouble() }; in convert()
31 Cont convert(const rapidjson_value &json) { in convert() argument
33 auto size = json.Size(); in convert()
36 for (auto &element : json.GetArray()) { in convert()
43 geometry convert<geometry>(const rapidjson_value &json) { in convert() argument
44 if (!json.IsObject()) in convert()
47 const auto &json_end = json.MemberEnd(); in convert()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/j2s4b/
H A Dj2s4b_utils.cpp163 cJSON *json, *item; in j2s_dump_struct() local
169 json = j2s_root_struct_to_json(ctx, ptr); in j2s_dump_struct()
171 json = j2s_struct_to_json(ctx, name, ptr); in j2s_dump_struct()
174 DASSERT(json, return NULL); in j2s_dump_struct()
179 cJSON_AddItemToObject(json, "@enum", item); in j2s_dump_struct()
183 buf = cJSON_Print(json); in j2s_dump_struct()
185 buf = cJSON_PrintUnformatted(json); in j2s_dump_struct()
188 cJSON_Delete(json); in j2s_dump_struct()
194 cJSON *json; in j2s_modify_struct() local
197 json = cJSON_Parse(str); in j2s_modify_struct()
[all …]
H A Dj2s.h131 int j2s_json_to_struct(j2s_ctx *ctx, cJSON *json, const char *name, void *ptr);
133 int j2s_json_to_bin(j2s_ctx *ctx, cJSON *json, const char *name, void **ptr,
136 int j2s_json_from_struct(j2s_ctx *ctx, cJSON *json, const char *name,
148 #define j2s_json_to_root_struct(ctx, json, ptr) \ argument
149 j2s_json_to_struct(ctx, json, NULL, ptr)
152 #define j2s_json_to_bin_root(ctx, json, ptr, ptr_size, ofname) \ argument
153 j2s_json_to_bin(ctx, json, NULL, ptr, ptr_size, ofname)
156 #define j2s_json_from_root_struct(ctx, json, ptr) \ argument
157 j2s_json_from_struct(ctx, json, NULL, ptr)
H A Dj2s.cpp37 static int _j2s_json_to_obj(j2s_ctx *ctx, cJSON *json, cJSON *parent,
40 static int _j2s_json_to_struct(j2s_ctx *ctx, cJSON *json, int struct_index,
194 int j2s_json_to_struct(j2s_ctx *ctx, cJSON *json, const char *name, void *ptr) { in j2s_json_to_struct() argument
197 return _j2s_json_to_struct(ctx, json, struct_index, ptr, false); in j2s_json_to_struct()
200 int j2s_json_from_struct(j2s_ctx *ctx, cJSON *json, const char *name, in j2s_json_from_struct() argument
204 return _j2s_json_to_struct(ctx, json, struct_index, ptr, true); in j2s_json_from_struct()
295 cJSON *json; in _j2s_struct_to_template_json() local
306 json = _j2s_struct_to_json(ctx, struct_index, NULL); in _j2s_struct_to_template_json()
310 return json; in _j2s_struct_to_template_json()
677 cJSON *json = cJSON_CreateString(desc); in _j2s_struct_to_json() local
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/j2s/
H A Dj2s_utils.cpp487 cJSON *json, *item; in j2s_dump_struct() local
493 json = j2s_root_struct_to_json(ctx, ptr); in j2s_dump_struct()
495 json = j2s_struct_to_json(ctx, name, ptr); in j2s_dump_struct()
498 DASSERT(json, return NULL); in j2s_dump_struct()
503 cJSON_AddItemToObject(json, "@enum", item); in j2s_dump_struct()
507 buf = cJSON_Print(json); in j2s_dump_struct()
509 buf = cJSON_PrintUnformatted(json); in j2s_dump_struct()
512 cJSON_Delete(json); in j2s_dump_struct()
519 cJSON* json; in j2s_modify_struct() local
522 json = cJSON_Parse(str); in j2s_modify_struct()
[all …]
H A Dj2s.cpp35 static int _j2s_json_to_obj(j2s_ctx* ctx, cJSON* json, cJSON* parent,
38 static int _j2s_json_to_struct(j2s_ctx* ctx, cJSON* json, int struct_index,
81 int j2s_json_to_struct(j2s_ctx* ctx, cJSON* json, const char* name, void* ptr) in j2s_json_to_struct() argument
85 return _j2s_json_to_struct(ctx, json, struct_index, ptr, false); in j2s_json_to_struct()
88 int j2s_json_from_struct(j2s_ctx* ctx, cJSON* json, const char* name, in j2s_json_from_struct() argument
93 return _j2s_json_to_struct(ctx, json, struct_index, ptr, true); in j2s_json_from_struct()
203 cJSON* json; in _j2s_struct_to_template_json() local
214 json = _j2s_struct_to_json(ctx, struct_index, NULL); in _j2s_struct_to_template_json()
218 return json; in _j2s_struct_to_template_json()
594 cJSON* json = cJSON_CreateString(desc); in _j2s_struct_to_json() local
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Doptinfo-emit-json.h39 void add_record (json::object *obj);
40 json::object *impl_location_to_json (dump_impl_location_t loc);
41 json::object *location_to_json (location_t loc);
42 json::object *profile_count_to_json (profile_count count);
43 json::string *get_id_value_for_pass (opt_pass *pass);
44 json::object *pass_to_json (opt_pass *pass);
45 json::value *inlining_chain_to_json (location_t loc);
46 json::object *optinfo_to_json (const optinfo *optinfo);
47 void add_pass_list (json::array *arr, opt_pass *pass);
54 json::array *m_root_tuple;
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Doptinfo-emit-json.h39 void add_record (json::object *obj);
40 json::object *impl_location_to_json (dump_impl_location_t loc);
41 json::object *location_to_json (location_t loc);
42 json::object *profile_count_to_json (profile_count count);
43 json::string *get_id_value_for_pass (opt_pass *pass);
44 json::object *pass_to_json (opt_pass *pass);
45 json::value *inlining_chain_to_json (location_t loc);
46 json::object *optinfo_to_json (const optinfo *optinfo);
47 void add_pass_list (json::array *arr, opt_pass *pass);
54 json::array *m_root_tuple;
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/
H A Dthingsboard-gateway_2.9.bb26 SRC_URI += "file://bacnet.json \
27 file://ble.json \
28 file://can.json \
29 file://custom_serial.json \
30 file://modbus.json \
31 file://modbus_serial.json \
32 file://mqtt.json \
33 file://opcua.json \
34 file://odbc.json \
35 file://request.json \
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/systemd/
H A D0001-shared-json-allow-json_variant_dump-to-return-an-err.patch4 Subject: [PATCH] shared/json: allow json_variant_dump() to return an error
18 src/shared/json.c | 7 ++++---
19 src/shared/json.h | 2 +-
22 diff --git a/src/shared/json.c b/src/shared/json.c
24 --- a/src/shared/json.c
25 +++ b/src/shared/json.c
48 diff --git a/src/shared/json.h b/src/shared/json.h
50 --- a/src/shared/json.h
51 +++ b/src/shared/json.h
H A D0021-test-json.c-define-M_PIl.patch4 Subject: [PATCH] test-json.c: define M_PIl
7 src/test/test-json.c:305:50: error: 'M_PIl' undeclared (first use in this function); did you mean '…
18 src/test/test-json.c | 4 ++++
21 diff --git a/src/test/test-json.c b/src/test/test-json.c
23 --- a/src/test/test-json.c
24 +++ b/src/test/test-json.c
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/nlohmann-json/
H A Dnlohmann-json_3.10.5.bb2 HOMEPAGE = "https://nlohmann.github.io/json/"
7 CVE_PRODUCT = "json-for-modern-cpp"
9 SRC_URI = "git://github.com/nlohmann/json.git;nobranch=1;protocol=https \
20 # nlohmann-json is a header only C++ library, so the main package will be empty.
26 # other packages commonly reference the file directly as "json.hpp"
29 ln -s nlohmann/json.hpp ${D}${includedir}/json.hpp
/OK3568_Linux_fs/external/rk_pcba_test/cJSON/
H A DcJSON.c581 void cJSON_Minify(char *json) in cJSON_Minify() argument
583 char *into=json; in cJSON_Minify()
584 while (*json) in cJSON_Minify()
586 if (*json==' ') json++; in cJSON_Minify()
587 else if (*json=='\t') json++; // Whitespace characters. in cJSON_Minify()
588 else if (*json=='\r') json++; in cJSON_Minify()
589 else if (*json=='\n') json++; in cJSON_Minify()
590 …else if (*json=='/' && json[1]=='/') while (*json && *json!='\n') json++; // double-slash comment… in cJSON_Minify()
591 …else if (*json=='/' && json[1]=='*') {while (*json && !(*json=='*' && json[1]=='/')) json++;json+=… in cJSON_Minify()
592 …else if (*json=='\"'){*into++=*json++;while (*json && *json!='\"'){if (*json=='\\') *into++=*json+… in cJSON_Minify()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/
H A DMakefile23 DT_TMP_SCHEMA := $(obj)/processed-schema-examples.json
58 $(obj)/processed-schema-examples.json: $(DT_DOCS) $(src)/.yamllint check_dtschema_version FORCE
66 $(obj)/processed-schema.json: $(obj)/processed-schema-examples.json FORCE
75 $(obj)/processed-schema.json: DT_MK_SCHEMA_FLAGS := -u
76 $(obj)/processed-schema.json: $(DT_SCHEMA_FILES) check_dtschema_version FORCE
81 extra-$(CHECK_DT_BINDING) += processed-schema-examples.json
82 extra-$(CHECK_DTBS) += processed-schema.json
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/netdevsim/
H A Dethtool-pause.sh78 s=$(ethtool --json -a $NSIM_NETDEV | jq '.[].statistics')
81 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics')
86 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics | length')
89 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics.tx_pause_frames')
94 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics | length')
97 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics.rx_pause_frames')
99 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics.tx_pause_frames')
/OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt5/qtpdf/
H A D0001-configure.json-remove-python2-dependency.patch4 Subject: [PATCH] configure.json: remove python2 dependency
9 src/buildtools/configure.json | 1 -
12 diff --git a/src/buildtools/configure.json b/src/buildtools/configure.json
14 --- a/src/buildtools/configure.json
15 +++ b/src/buildtools/configure.json
/OK3568_Linux_fs/external/rockit/tgi/
H A DCMakeLists.txt12 set(AI_CAMERA_CONF ${ROCKIT_FILE_CONFIGS}/aicamera_stasteria.json)
15 set(AI_CAMERA_CONF ${ROCKIT_FILE_CONFIGS}/aicamera_uvc_zoom.json)
18 set(AI_CAMERA_CONF ${ROCKIT_FILE_CONFIGS}/aicamera_rockx.json)
20 set(AI_CAMERA_CONF ${ROCKIT_FILE_CONFIGS}/aicamera_uvc_zoom.json)
25 install(FILES ${AI_CAMERA_CONF} DESTINATION ../../oem/usr/share/aiserver/ RENAME "aicamera.json")
26 install(FILES ${ROCKIT_FILE_CONFIGS}/aisingle.json DESTINATION ../../oem/usr/share/aiserver/)
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/tests/views/
H A Dtest_views.py26 import json
64 data = json.loads(response.content.decode('utf-8'))
93 data = json.loads(response.content.decode('utf-8'))
146 layer_data_json = json.dumps(layer_data)
149 data = json.loads(response.content.decode('utf-8'))
163 data = json.loads(response.content.decode('utf-8'))
173 data = json.loads(response.content.decode('utf-8'))
189 data = json.loads(response.content.decode('utf-8'))
198 data = json.loads(response.content.decode('utf-8'))
207 data = json.loads(response.content.decode('utf-8'))
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/libubox/libubox/
H A D0001-version-libraries.patch13 @@ -46,6 +47,7 @@ find_library(json NAMES json-c)
14 IF(EXISTS ${json})
16 TARGET_LINK_LIBRARIES(blobmsg_json ubox ${json})
21 @@ -55,6 +57,7 @@ IF(EXISTS ${json})
22 TARGET_LINK_LIBRARIES(jshn blobmsg_json ${json})
/OK3568_Linux_fs/buildroot/package/libfastjson/
H A DConfig.in6 Libfastjson - A fast json library for C
8 Libfastjson is a fork from json-c. The aim of this project
9 is not to provide a slightly modified clone of json-c.
12 - a small library with essential json handling functions
13 - sufficiently good json support (not 100% standards
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0021-test-json.c-define-M_PIl.patch4 Subject: [PATCH] test-json.c: define M_PIl
7 src/test/test-json.c:305:50: error: 'M_PIl' undeclared (first use in this function); did you mean '…
14 src/test/test-json.c | 4 ++++
17 --- a/src/test/test-json.c
18 +++ b/src/test/test-json.c
/OK3568_Linux_fs/buildroot/package/python-json-schema-validator/
H A Dpython-json-schema-validator.hash1 # md5 from https://pypi.python.org/pypi/json-schema-validator/json, sha256 locally computed
2 md5 7691b41739faaa8b0965279e72889932 json-schema-validator-2.4.1.tar.gz
3 sha256 1562a21d83e56231cef09b9aa2c06e8f845974bd26f24be293de6cab9a2fac91 json-schema-validator-2.4…
/OK3568_Linux_fs/buildroot/package/python-flask-expects-json/
H A Dpython-flask-expects-json.hash1 # md5, sha256 from https://pypi.org/pypi/flask-expects-json/json
2 md5 c1fb8ede58db312d7923212dc97b8ab4 flask-expects-json-1.5.0.tar.gz
3 sha256 0087dc3d089f1ac75a1fc0f259f4dbd02bbb9c356e92e1a080f2309e2f75d053 flask-expects-json-1.5.0.…
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/json-c/
H A Djson-c_0.15.bb3 HOMEPAGE = "https://github.com/json-c/json-c/wiki"
8 https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \
15 UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+)-\d+"
27 install ${S}/tests/valid*json ${D}/${PTEST_PATH}/tests
/OK3568_Linux_fs/buildroot/package/rockchip/camera-engine-rkaiq/
H A Dcamera-engine-rkaiq.mk26 CAMERA_ENGINE_RKAIQ_IQFILE_FORMAT=json
32 CAMERA_ENGINE_RKAIQ_IQFILE_FORMAT=json
38 CAMERA_ENGINE_RKAIQ_IQFILE_FORMAT=json
105 CAMERA_ENGINE_RKAIQ_IQFILE = isp21/*.json
107 CAMERA_ENGINE_RKAIQ_IQFILE = isp32_lite/*.json
109 CAMERA_ENGINE_RKAIQ_IQFILE = isp3x/*.json
151 $(TARGET_DIR)/etc/iqfiles/FakeCamera.json

12345678910>>...37