Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 57) sorted by relevance

123

/device/google/bonito/json-c/
Djson_object.h119 extern struct json_object* json_object_get(struct json_object *obj);
129 int json_object_put(struct json_object *obj);
143 extern int json_object_is_type(struct json_object *obj, enum json_type type);
159 extern enum json_type json_object_get_type(struct json_object *obj);
171 extern const char* json_object_to_json_string(struct json_object *obj);
179 extern const char* json_object_to_json_string_ext(struct json_object *obj, int
252 extern struct lh_table* json_object_get_object(struct json_object *obj);
257 extern int json_object_object_length(struct json_object* obj);
275 extern void json_object_object_add(struct json_object* obj, const char *key,
295 …S_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
[all …]
Djson_object_iterator.c67 json_object_iter_begin(struct json_object* obj) in json_object_iter_begin() argument
74 pTable = json_object_get_object(obj); in json_object_iter_begin()
87 json_object_iter_end(const struct json_object* obj) in json_object_iter_end() argument
91 JASSERT(NULL != obj); in json_object_iter_end()
92 JASSERT(json_object_is_type(obj, json_type_object)); in json_object_iter_end()
Djson_util.c70 struct json_object *obj; in json_object_from_file() local
94 obj = json_tokener_parse(pb->buf); in json_object_from_file()
96 return obj; in json_object_from_file()
101 int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags) in json_object_to_file_ext() argument
107 if(!obj) { in json_object_to_file_ext()
118 if(!(json_str = json_object_to_json_string_ext(obj,flags))) { in json_object_to_file_ext()
143 int json_object_to_file(const char *filename, struct json_object *obj) in json_object_to_file() argument
145 return json_object_to_file_ext(filename, obj, JSON_C_TO_STRING_PLAIN); in json_object_to_file()
Djson_object_iterator.h109 json_object_iter_begin(struct json_object* obj);
140 json_object_iter_end(const struct json_object* obj);
Djson_tokener.c162 struct json_object* obj; in json_tokener_parse() local
163 obj = json_tokener_parse_verbose(str, &jerr_ignored); in json_tokener_parse()
164 return obj; in json_tokener_parse()
170 struct json_object* obj; in json_tokener_parse_verbose() local
175 obj = json_tokener_parse_ex(tok, str, -1); in json_tokener_parse_verbose()
178 if (obj != NULL) in json_tokener_parse_verbose()
179 json_object_put(obj); in json_tokener_parse_verbose()
180 obj = NULL; in json_tokener_parse_verbose()
184 return obj; in json_tokener_parse_verbose()
235 struct json_object *obj = NULL; in json_tokener_parse_ex() local
[all …]
Djson_util.h34 extern int json_object_to_file(const char *filename, struct json_object *obj);
35 extern int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags);
/device/google/coral/json-c/
Djson_object.h119 extern struct json_object* json_object_get(struct json_object *obj);
129 int json_object_put(struct json_object *obj);
143 extern int json_object_is_type(struct json_object *obj, enum json_type type);
159 extern enum json_type json_object_get_type(struct json_object *obj);
171 extern const char* json_object_to_json_string(struct json_object *obj);
179 extern const char* json_object_to_json_string_ext(struct json_object *obj, int
252 extern struct lh_table* json_object_get_object(struct json_object *obj);
257 extern int json_object_object_length(struct json_object* obj);
275 extern void json_object_object_add(struct json_object* obj, const char *key,
295 …S_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
[all …]
Djson_object_iterator.c67 json_object_iter_begin(struct json_object* obj) in json_object_iter_begin() argument
74 pTable = json_object_get_object(obj); in json_object_iter_begin()
87 json_object_iter_end(const struct json_object* obj) in json_object_iter_end() argument
91 JASSERT(NULL != obj); in json_object_iter_end()
92 JASSERT(json_object_is_type(obj, json_type_object)); in json_object_iter_end()
Djson_util.c70 struct json_object *obj; in json_object_from_file() local
94 obj = json_tokener_parse(pb->buf); in json_object_from_file()
96 return obj; in json_object_from_file()
101 int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags) in json_object_to_file_ext() argument
107 if(!obj) { in json_object_to_file_ext()
118 if(!(json_str = json_object_to_json_string_ext(obj,flags))) { in json_object_to_file_ext()
143 int json_object_to_file(const char *filename, struct json_object *obj) in json_object_to_file() argument
145 return json_object_to_file_ext(filename, obj, JSON_C_TO_STRING_PLAIN); in json_object_to_file()
Djson_object_iterator.h109 json_object_iter_begin(struct json_object* obj);
140 json_object_iter_end(const struct json_object* obj);
Djson_tokener.c162 struct json_object* obj; in json_tokener_parse() local
163 obj = json_tokener_parse_verbose(str, &jerr_ignored); in json_tokener_parse()
164 return obj; in json_tokener_parse()
170 struct json_object* obj; in json_tokener_parse_verbose() local
175 obj = json_tokener_parse_ex(tok, str, -1); in json_tokener_parse_verbose()
178 if (obj != NULL) in json_tokener_parse_verbose()
179 json_object_put(obj); in json_tokener_parse_verbose()
180 obj = NULL; in json_tokener_parse_verbose()
184 return obj; in json_tokener_parse_verbose()
235 struct json_object *obj = NULL; in json_tokener_parse_ex() local
[all …]
Djson_util.h34 extern int json_object_to_file(const char *filename, struct json_object *obj);
35 extern int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags);
/device/google/crosshatch/json-c/
Djson_object.h119 extern struct json_object* json_object_get(struct json_object *obj);
129 int json_object_put(struct json_object *obj);
143 extern int json_object_is_type(struct json_object *obj, enum json_type type);
159 extern enum json_type json_object_get_type(struct json_object *obj);
171 extern const char* json_object_to_json_string(struct json_object *obj);
179 extern const char* json_object_to_json_string_ext(struct json_object *obj, int
252 extern struct lh_table* json_object_get_object(struct json_object *obj);
257 extern int json_object_object_length(struct json_object* obj);
275 extern void json_object_object_add(struct json_object* obj, const char *key,
295 …S_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
[all …]
Djson_object_iterator.c67 json_object_iter_begin(struct json_object* obj) in json_object_iter_begin() argument
74 pTable = json_object_get_object(obj); in json_object_iter_begin()
87 json_object_iter_end(const struct json_object* obj) in json_object_iter_end() argument
91 JASSERT(NULL != obj); in json_object_iter_end()
92 JASSERT(json_object_is_type(obj, json_type_object)); in json_object_iter_end()
Djson_util.c70 struct json_object *obj; in json_object_from_file() local
94 obj = json_tokener_parse(pb->buf); in json_object_from_file()
96 return obj; in json_object_from_file()
101 int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags) in json_object_to_file_ext() argument
107 if(!obj) { in json_object_to_file_ext()
118 if(!(json_str = json_object_to_json_string_ext(obj,flags))) { in json_object_to_file_ext()
143 int json_object_to_file(const char *filename, struct json_object *obj) in json_object_to_file() argument
145 return json_object_to_file_ext(filename, obj, JSON_C_TO_STRING_PLAIN); in json_object_to_file()
Djson_object_iterator.h109 json_object_iter_begin(struct json_object* obj);
140 json_object_iter_end(const struct json_object* obj);
Djson_tokener.c162 struct json_object* obj; in json_tokener_parse() local
163 obj = json_tokener_parse_verbose(str, &jerr_ignored); in json_tokener_parse()
164 return obj; in json_tokener_parse()
170 struct json_object* obj; in json_tokener_parse_verbose() local
175 obj = json_tokener_parse_ex(tok, str, -1); in json_tokener_parse_verbose()
178 if (obj != NULL) in json_tokener_parse_verbose()
179 json_object_put(obj); in json_tokener_parse_verbose()
180 obj = NULL; in json_tokener_parse_verbose()
184 return obj; in json_tokener_parse_verbose()
235 struct json_object *obj = NULL; in json_tokener_parse_ex() local
[all …]
Djson_util.h34 extern int json_object_to_file(const char *filename, struct json_object *obj);
35 extern int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags);
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/input/
Dfoo.attrib18 dir obj in
19 len obj fooStructEncodingSize(obj)
20 custom_pack obj fooStructPack(ptr, obj)
21 …custom_unpack obj FooStruct unpacked; inptr_obj_unpacked = (void*)(&unpacked); fooStructUnpack((un…
24 dir obj out
25 len obj fooStructEncodingSize(obj)
26 custom_host_pack_tmp_alloc obj FooStruct tmp; forPacking_obj = (void*)tmp
27 custom_host_pack obj fooStructPack((unsigned char*)outptr_obj.get(), (FooStruct*)forPacking_obj)
28obj std::vector<unsigned char> forUnpacking_obj(__size_obj); stream->readback(&forUnpacking_obj[0]…
/device/google/cuttlefish/host/frontend/gcastv2/https/include/https/
DSafeCallbackable.h22 std::function<void()> makeSafeCallback(T *obj, std::function<void(T *)> f) { in makeSafeCallback() argument
23 auto weak_me = std::weak_ptr<T>(obj->shared_from_this()); in makeSafeCallback()
34 T *obj, void (T::*f)(const Params&...), const Params&... params) { in makeSafeCallback() argument
36 obj, in makeSafeCallback()
44 T *obj, void (T::*f)(Params...), const Params&... params) { in makeSafeCallback() argument
46 obj, in makeSafeCallback()
/device/google/contexthub/util/common/
DJSONObject.h65 void setObject(const sp<JSONObject> &obj);
139 bool getObject(KEY key, sp<JSONObject> *obj) const { in getObject()
141 return value.getObject(obj); in getObject()
144 bool getArray(KEY key, sp<JSONArray> *obj) const { in getArray()
146 return value.getArray(obj); in getArray()
190 void setObject(const char *key, const sp<JSONObject> &obj) { in setObject()
192 val.setObject(obj); in setObject()
196 void setArray(const char *key, const sp<JSONArray> &obj) { in setArray()
198 val.setArray(obj); in setArray()
245 void addObject(const sp<JSONObject> &obj) { in addObject()
[all …]
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/wrapper/
Dfoo_wrapper_entry.cpp13 void fooSetComplexStruct(const FooStruct* obj);
14 void fooGetComplexStruct(FooStruct* obj);
54 void fooSetComplexStruct(const FooStruct* obj) in fooSetComplexStruct() argument
57 ctx->fooSetComplexStruct( obj); in fooSetComplexStruct()
60 void fooGetComplexStruct(FooStruct* obj) in fooGetComplexStruct() argument
63 ctx->fooGetComplexStruct( obj); in fooGetComplexStruct()
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/encoder/
Dfoo_entry.cpp13 void fooSetComplexStruct(const FooStruct* obj);
14 void fooGetComplexStruct(FooStruct* obj);
55 void fooSetComplexStruct(const FooStruct* obj) in fooSetComplexStruct() argument
58 ctx->fooSetComplexStruct(ctx, obj); in fooSetComplexStruct()
61 void fooGetComplexStruct(FooStruct* obj) in fooGetComplexStruct() argument
64 ctx->fooGetComplexStruct(ctx, obj); in fooGetComplexStruct()
/device/google/cuttlefish/host/commands/modem_simulator/
Dthread_looper.h39 T *obj, void (T::*f)(const Params&...), const Params&... params) { in makeSafeCallback() argument
40 return makeSafeCallback<T>(obj, in makeSafeCallback()
46 T *obj, void (T::*f)(Params...), const Params&... params) { in makeSafeCallback() argument
47 return makeSafeCallback<T>(obj, in makeSafeCallback()
/device/generic/goldfish/MultiDisplayProvider/jni/
Dcom_android_emulator_multidisplay.cpp93 static jobject nativeCreateSurface(JNIEnv *env, jobject obj, jint id, jint width, jint height) in nativeCreateSurface() argument
108 static jint nativeOpen(JNIEnv* env, jobject obj) { in nativeOpen() argument
122 static bool nativeReadPipe(JNIEnv* env, jobject obj, jintArray arr) { in nativeReadPipe() argument
153 static bool nativeReleaseListener(JNIEnv* env, jobject obj, jint id) { in nativeReleaseListener() argument
162 static bool nativeResizeListener(JNIEnv* env, jobject obj, jint id, jint w, jint h) { in nativeResizeListener() argument

123