/third_party/ffmpeg/compat/atomics/win32/ |
H A D | stdatomic.h | 83 #define atomic_store(object, desired) \ 85 *(object) = (desired); \ 89 #define atomic_store_explicit(object, desired, order) \ 90 atomic_store(object, desired) 92 #define atomic_load(object) \ 93 (MemoryBarrier(), *(object)) 95 #define atomic_load_explicit(object, order) \ 96 atomic_load(object) 98 #define atomic_exchange(object, desired) \ 99 InterlockedExchangePointer((PVOID volatile *)object, (PVOI 104 atomic_compare_exchange_strong(intptr_t *object, intptr_t *expected, intptr_t desired) atomic_compare_exchange_strong() argument [all...] |
/third_party/ffmpeg/compat/atomics/gcc/ |
H A D | stdatomic.h | 86 #define atomic_store(object, desired) \ 88 *(object) = (desired); \ 92 #define atomic_store_explicit(object, desired, order) \ 93 atomic_store(object, desired) 95 #define atomic_load(object) \ 96 (__sync_synchronize(), *(object)) 98 #define atomic_load_explicit(object, order) \ 99 atomic_load(object) 101 #define atomic_exchange(object, desired) \ 103 __typeof__(object) _ob [all...] |
/third_party/ffmpeg/compat/atomics/suncc/ |
H A D | stdatomic.h | 83 static inline void atomic_store(intptr_t *object, intptr_t desired) in atomic_store() argument 85 *object = desired; in atomic_store() 89 #define atomic_store_explicit(object, desired, order) \ 90 atomic_store(object, desired) 92 static inline intptr_t atomic_load(intptr_t *object) in atomic_load() argument 95 return *object; in atomic_load() 98 #define atomic_load_explicit(object, order) \ 99 atomic_load(object) 101 #define atomic_exchange(object, desired) \ 102 atomic_swap_ptr(object, desire 107 atomic_compare_exchange_strong(intptr_t *object, intptr_t *expected, intptr_t desired) atomic_compare_exchange_strong() argument 124 atomic_fetch_add(intptr_t *object, intptr_t operand) atomic_fetch_add() argument 132 atomic_fetch_or(intptr_t *object, intptr_t operand) atomic_fetch_or() argument 141 atomic_fetch_xor(intptr_t *object, intptr_t operand) atomic_fetch_xor() argument 150 atomic_fetch_and(intptr_t *object, intptr_t operand) atomic_fetch_and() argument [all...] |
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/ |
H A D | descriptor.js | 48 function fieldDescriptorProto_TypeFromJSON(object) { 49 switch (object) { 105 throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum FieldDescriptorProto_Type"); 109 function fieldDescriptorProto_TypeToJSON(object) { 110 switch (object) { 148 throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum FieldDescriptorProto_Type"); 159 function fieldDescriptorProto_LabelFromJSON(object) { 160 switch (object) { 171 throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum FieldDescriptorProto_Label"); 175 function fieldDescriptorProto_LabelToJSON(object) { [all...] |
/third_party/ffmpeg/compat/atomics/pthread/ |
H A D | stdatomic.h | 91 static inline void atomic_store(intptr_t *object, intptr_t desired) in atomic_store() argument 94 *object = desired; in atomic_store() 98 #define atomic_store_explicit(object, desired, order) \ 99 atomic_store(object, desired) 101 static inline intptr_t atomic_load(intptr_t *object) in atomic_load() argument 105 ret = *object; in atomic_load() 110 #define atomic_load_explicit(object, order) \ 111 atomic_load(object) 113 static inline intptr_t atomic_exchange(intptr_t *object, intptr_t desired) in atomic_exchange() argument 117 ret = *object; in atomic_exchange() 126 atomic_compare_exchange_strong(intptr_t *object, intptr_t *expected, intptr_t desired) atomic_compare_exchange_strong() argument [all...] |
/third_party/ffmpeg/compat/atomics/dummy/ |
H A D | stdatomic.h | 85 #define atomic_store(object, desired) \ 87 *(object) = (desired); \ 90 #define atomic_store_explicit(object, desired, order) \ 91 atomic_store(object, desired) 93 #define atomic_load(object) \ 94 (*(object)) 96 #define atomic_load_explicit(object, order) \ 97 atomic_load(object) 99 static inline intptr_t atomic_exchange(intptr_t *object, intptr_t desired) in atomic_exchange() argument 101 intptr_t ret = *object; in atomic_exchange() 109 atomic_compare_exchange_strong(intptr_t *object, intptr_t *expected, intptr_t desired) atomic_compare_exchange_strong() argument [all...] |
/third_party/elfutils/lib/ |
H A D | stdatomic-fbsd.h | 265 #define atomic_compare_exchange_strong_explicit(object, expected, \ 267 __c11_atomic_compare_exchange_strong(object, expected, desired, \ 269 #define atomic_compare_exchange_weak_explicit(object, expected, \ 271 __c11_atomic_compare_exchange_weak(object, expected, desired, \ 273 #define atomic_exchange_explicit(object, desired, order) \ 274 __c11_atomic_exchange(object, desired, order) 275 #define atomic_fetch_add_explicit(object, operand, order) \ 276 __c11_atomic_fetch_add(object, operand, order) 277 #define atomic_fetch_and_explicit(object, operand, order) \ 278 __c11_atomic_fetch_and(object, operan [all...] |
/third_party/python/Lib/ |
H A D | pprint.py | 26 Format a Python object into a pretty-printed representation. 29 Pretty-print a Python object to a stream [default is sys.stdout]. 48 def pprint(object, stream=None, indent=1, width=80, depth=None, *, 50 """Pretty-print a Python object to a stream [default is sys.stdout].""" 55 printer.pprint(object) 57 def pformat(object, indent=1, width=80, depth=None, *, 59 """Format a Python object into a pretty-printed representation.""" 62 underscore_numbers=underscore_numbers).pformat(object) 64 def pp(object, *args, sort_dicts=False, **kwargs): 65 """Pretty-print a Python object""" [all...] |
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/ |
H A D | sigstore_common.js | 24 function hashAlgorithmFromJSON(object) { 25 switch (object) { 45 throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum HashAlgorithm"); 49 function hashAlgorithmToJSON(object) { 50 switch (object) { 64 throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum HashAlgorithm"); 144 function publicKeyDetailsFromJSON(object) { 145 switch (object) { 204 throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum PublicKeyDetails"); 208 function publicKeyDetailsToJSON(object) { [all...] |
H A D | sigstore_verification.js | 12 fromJSON(object) { 14 issuer: isSet(object.issuer) ? String(object.issuer) : "", 15 san: isSet(object.san) ? sigstore_common_1.SubjectAlternativeName.fromJSON(object.san) : undefined, 16 oids: Array.isArray(object?.oids) ? object.oids.map((e) => sigstore_common_1.ObjectIdentifierValuePair.fromJSON(e)) : [], 36 fromJSON(object) { 38 identities: Array.isArray(object?.identities) 39 ? object [all...] |
H A D | events.js | 11 fromJSON(object) { 13 id: isSet(object.id) ? String(object.id) : "", 14 source: isSet(object.source) ? String(object.source) : "", 15 specVersion: isSet(object.specVersion) ? String(object.specVersion) : "", 16 type: isSet(object.type) ? String(object.type) : "", 17 attributes: isObject(object [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | objects-visiting-inl.h | 46 T HeapVisitor<ResultType, ConcreteVisitor>::Cast(HeapObject object) { in Cast() argument 47 return T::cast(object); in Cast() 51 ResultType HeapVisitor<ResultType, ConcreteVisitor>::Visit(HeapObject object) { in Visit() argument 52 return Visit(object.map(cage_base()), object); in Visit() 57 HeapObject object) { in Visit() 63 map, ConcreteVisitor::template Cast<TypeName>(object)); in Visit() 69 map, ConcreteVisitor::template Cast<ConsString>(object)); in Visit() 71 return visitor->VisitDataObject(map, object); in Visit() 74 map, ConcreteVisitor::template Cast<JSObject>(object)); in Visit() 56 Visit(Map map, HeapObject object) Visit() argument 122 VisitShortcutCandidate( Map map, ConsString object) VisitShortcutCandidate() argument 128 VisitDataObject( Map map, HeapObject object) VisitDataObject() argument 153 VisitJSObjectFast( Map map, JSObject object) VisitJSObjectFast() argument 166 VisitJSApiObject( Map map, JSObject object) VisitJSApiObject() argument 179 VisitStruct( Map map, HeapObject object) VisitStruct() argument 192 VisitFreeSpace( Map map, FreeSpace object) VisitFreeSpace() argument 207 VisitNativeContext(Map map, NativeContext object) VisitNativeContext() argument 216 VisitJSApiObject(Map map, JSObject object) VisitJSApiObject() argument 223 VisitSharedFunctionInfo( Map map, SharedFunctionInfo object) VisitSharedFunctionInfo() argument [all...] |
H A D | concurrent-marking.cc | 27 #include "src/heap/weak-object-worklists.h" 64 // Helper class for storing in-object slot addresses and values. 104 static V8_INLINE T Cast(HeapObject object) { in Cast() argument 105 return T::cast(object); in Cast() 112 int VisitJSObject(Map map, JSObject object) { in VisitJSObject() argument 113 return VisitJSObjectSubclass(map, object); in VisitJSObject() 116 int VisitJSObjectFast(Map map, JSObject object) { in VisitJSObjectFast() argument 117 return VisitJSObjectSubclassFast(map, object); in VisitJSObjectFast() 120 int VisitJSExternalObject(Map map, JSExternalObject object) { in VisitJSExternalObject() argument 121 return VisitJSObjectSubclass(map, object); in VisitJSExternalObject() 125 VisitWasmInstanceObject(Map map, WasmInstanceObject object) VisitWasmInstanceObject() argument 128 VisitWasmSuspenderObject(Map map, WasmSuspenderObject object) VisitWasmSuspenderObject() argument 133 VisitJSWeakCollection(Map map, JSWeakCollection object) VisitJSWeakCollection() argument 137 VisitJSFinalizationRegistry(Map map, JSFinalizationRegistry object) VisitJSFinalizationRegistry() argument 141 VisitConsString(Map map, ConsString object) VisitConsString() argument 145 VisitSlicedString(Map map, SlicedString object) VisitSlicedString() argument 149 VisitThinString(Map map, ThinString object) VisitThinString() argument 153 VisitSeqOneByteString(Map map, SeqOneByteString object) VisitSeqOneByteString() argument 159 VisitSeqTwoByteString(Map map, SeqTwoByteString object) VisitSeqTwoByteString() argument 181 ShouldVisit(HeapObject object) ShouldVisit() argument 185 ShouldVisitUnaccounted(HeapObject object) ShouldVisitUnaccounted() argument 204 Object object = p.Relaxed_Load(cage_base()); global() variable 246 VisitJSObjectSubclassFast(Map map, T object) VisitJSObjectSubclassFast() argument 252 VisitJSObjectSubclass(Map map, T object) VisitJSObjectSubclass() argument 266 VisitLeftTrimmableArray(Map map, T object) VisitLeftTrimmableArray() argument 287 Object object = snapshot.value(i); VisitPointersInSnapshot() local 301 VisitFullyWithSnapshot(Map map, T object) VisitFullyWithSnapshot() argument 312 MakeSlotSnapshot(Map map, T object, int size) MakeSlotSnapshot() argument 321 RecordSlot(HeapObject object, TSlot slot, HeapObject target) RecordSlot() argument 364 Cast(HeapObject object) Cast() argument 369 Cast(HeapObject object) Cast() argument 374 Cast(HeapObject object) Cast() argument 379 Cast(HeapObject object) Cast() argument 384 Cast(HeapObject object) Cast() argument 390 Cast(HeapObject object) Cast() argument 397 Cast(HeapObject object) Cast() argument 502 HeapObject object; Run() local [all...] |
/third_party/node/deps/v8/src/handles/ |
H A D | maybe-handles-inl.h | 11 #include "src/objects/maybe-object-inl.h" 17 MaybeHandle<T>::MaybeHandle(T object, Isolate* isolate) in MaybeHandle() argument 18 : MaybeHandle(handle(object, isolate)) {} in MaybeHandle() 21 MaybeHandle<T>::MaybeHandle(T object, LocalHeap* local_heap) in MaybeHandle() argument 22 : MaybeHandle(handle(object, local_heap)) {} in MaybeHandle() 24 MaybeObjectHandle::MaybeObjectHandle(MaybeObject object, Isolate* isolate) { in MaybeObjectHandle() argument 26 DCHECK(!object->IsCleared()); in MaybeObjectHandle() 27 if (object->GetHeapObjectIfWeak(&heap_object)) { in MaybeObjectHandle() 31 handle_ = handle(object->cast<Object>(), isolate); in MaybeObjectHandle() 36 MaybeObjectHandle::MaybeObjectHandle(MaybeObject object, in MaybeObjectHandle() argument 49 MaybeObjectHandle(Handle<Object> object) MaybeObjectHandle() argument 52 MaybeObjectHandle(Object object, Isolate* isolate) MaybeObjectHandle() argument 56 MaybeObjectHandle(Object object, LocalHeap* local_heap) MaybeObjectHandle() argument 60 MaybeObjectHandle(Object object, HeapObjectReferenceType reference_type, Isolate* isolate) MaybeObjectHandle() argument 65 MaybeObjectHandle(Handle<Object> object, HeapObjectReferenceType reference_type) MaybeObjectHandle() argument 69 Weak(Handle<Object> object) Weak() argument 73 Weak(Object object, Isolate* isolate) Weak() argument 102 Handle<Object> MaybeObjectHandle::object() const { object() function in v8::internal::MaybeObjectHandle 106 handle(MaybeObject object, Isolate* isolate) handle() argument 110 handle(MaybeObject object, LocalHeap* local_heap) handle() argument [all...] |
/third_party/jerryscript/tests/unit-core/ |
H A D | test-internal-properties.cpp | 54 jerry_value_t object = jerry_create_object (); in HWTEST_F() local 95 bool set_result_1 = jerry_set_property (object, prop_name_1, prop_value_1); in HWTEST_F() 96 bool set_result_2 = jerry_set_property (object, prop_name_2, prop_value_2); in HWTEST_F() 97 bool set_result_3 = jerry_set_property (object, prop_name_3, prop_value_3); in HWTEST_F() 104 bool set_internal_result_1 = jerry_set_internal_property (object, internal_prop_name_1, internal_prop_value_1); in HWTEST_F() 105 bool set_internal_result_2 = jerry_set_internal_property (object, internal_prop_name_2, internal_prop_value_2); in HWTEST_F() 106 bool set_internal_result_3 = jerry_set_internal_property (object, internal_prop_name_3, internal_prop_value_3); in HWTEST_F() 113 jerry_value_t has_result_1 = jerry_has_property (object, prop_name_1); in HWTEST_F() 114 jerry_value_t has_result_2 = jerry_has_property (object, prop_name_2); in HWTEST_F() 115 jerry_value_t has_result_3 = jerry_has_property (object, prop_name_ in HWTEST_F() [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | heap-refs.cc | 36 // kSmi: The underlying V8 object is a Smi and the data is an instance of the 38 // object is a Smi, it's safe to access the handle in order to extract the 41 // kBackgroundSerializedHeapObject: The underlying V8 object is a HeapObject 44 // object. Allows serialization from the background thread. 46 // kUnserializedHeapObject: The underlying V8 object is a HeapObject and the 50 // kNeverSerializedHeapObject: The underlying V8 object is a (potentially 53 // handle, the object can be accessed concurrently to the main thread. 55 // kUnserializedReadOnlyHeapObject: The underlying V8 object is a read-only 70 HeapObject object) { in IsReadOnlyHeapObjectForCompiler() 75 return (object in IsReadOnlyHeapObjectForCompiler() 69 IsReadOnlyHeapObjectForCompiler(PtrComprCageBase cage_base, HeapObject object) IsReadOnlyHeapObjectForCompiler() argument 83 ObjectData(JSHeapBroker* broker, ObjectData** storage, Handle<Object> object, ObjectDataKind kind) ObjectData() argument 128 Handle<Object> object() const { return object_; } object() function in v8::internal::compiler::ObjectData 217 PropertyCellData(JSHeapBroker* broker, ObjectData** storage, Handle<PropertyCell> object, ObjectDataKind kind) PropertyCellData() argument 277 JSReceiverData(JSHeapBroker* broker, ObjectData** storage, Handle<JSReceiver> object, ObjectDataKind kind) JSReceiverData() argument 284 JSObjectData(JSHeapBroker* broker, ObjectData** storage, Handle<JSObject> object, ObjectDataKind kind) JSObjectData() argument 389 JSTypedArrayData(JSHeapBroker* broker, ObjectData** storage, Handle<JSTypedArray> object, ObjectDataKind kind) JSTypedArrayData() argument 396 JSDataViewData(JSHeapBroker* broker, ObjectData** storage, Handle<JSDataView> object, ObjectDataKind kind) JSDataViewData() argument 403 JSBoundFunctionData(JSHeapBroker* broker, ObjectData** storage, Handle<JSBoundFunction> object, ObjectDataKind kind) JSBoundFunctionData() argument 410 JSFunctionData(JSHeapBroker* broker, ObjectData** storage, Handle<JSFunction> object, ObjectDataKind kind) JSFunctionData() argument 504 BigIntData(JSHeapBroker* broker, ObjectData** storage, Handle<BigInt> object, ObjectDataKind kind) BigIntData() argument 730 HeapObjectData(JSHeapBroker* broker, ObjectData** storage, Handle<HeapObject> object, ObjectDataKind kind) HeapObjectData() argument 814 MapData(JSHeapBroker* broker, ObjectData** storage, Handle<Map> object, ObjectDataKind kind) MapData() argument 848 FixedArrayBaseData(JSHeapBroker* broker, ObjectData** storage, Handle<FixedArrayBase> object, ObjectDataKind kind) FixedArrayBaseData() argument 861 FixedArrayData(JSHeapBroker* broker, ObjectData** storage, Handle<FixedArray> object, ObjectDataKind kind) FixedArrayData() argument 869 ScriptContextTableData(JSHeapBroker* broker, ObjectData** storage, Handle<ScriptContextTable> object, ObjectDataKind kind) ScriptContextTableData() argument 876 JSArrayData(JSHeapBroker* broker, ObjectData** storage, Handle<JSArray> object, ObjectDataKind kind) JSArrayData() argument 883 JSGlobalObjectData(JSHeapBroker* broker, ObjectData** storage, Handle<JSGlobalObject> object, ObjectDataKind kind) JSGlobalObjectData() argument 890 JSGlobalProxyData(JSHeapBroker* broker, ObjectData** storage, Handle<JSGlobalProxy> object, ObjectDataKind kind) JSGlobalProxyData() argument 973 TryGetOrCreateData(Handle<Object> object, GetOrCreateDataFlags flags) TryGetOrCreateData() argument 2055 Handle<Object> ObjectRef::object() const { object() function in v8::internal::compiler::ObjectRef 2102 Handle<T> TinyRef<T>::object() const { object() function in v8::internal::compiler::TinyRef [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-shaper.hh | 72 #define HB_SHAPER_DATA_TYPE(shaper, object) hb_##shaper##_##object##_data_t 73 #define HB_SHAPER_DATA_CREATE_FUNC(shaper, object) _hb_##shaper##_shaper_##object##_data_create 74 #define HB_SHAPER_DATA_DESTROY_FUNC(shaper, object) _hb_##shaper##_shaper_##object##_data_destroy 76 #define HB_SHAPER_DATA_INSTANTIATE_SHAPERS(shaper, object) \ 78 struct HB_SHAPER_DATA_TYPE (shaper, object); /* Type forward declaration. */ \ 79 extern "C" HB_INTERNAL HB_SHAPER_DATA_TYPE (shaper, object) * \ 80 HB_SHAPER_DATA_CREATE_FUNC (shaper, object) (hb [all...] |
/third_party/node/benchmark/misc/ |
H A D | object-property-bench.js | 13 const object = {}; 17 object.p1 = 21; 18 object.p2 = 21; 19 object.p1 += object.p2; 25 const object = {}; 29 object['p1'] = 21; 30 object['p2'] = 21; 31 object['p1'] += object['p [all...] |
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_pipeline_cache.h | 52 /** Writes this cache object to the given blob 54 * Because the cache works with both raw blob data and driver object data 69 bool (*serialize)(struct vk_pipeline_cache_object *object, 72 /** Constructs an object from cached data 76 * returns the created object 85 /** Destroys the object 89 void (*destroy)(struct vk_pipeline_cache_object *object); 98 * the pipeline cache is destroyed. Each object also has a pointer to a 100 * [de]serialize the object and clean it up when the reference count hits 0. 102 * The rest of the details of any given object ar 118 vk_pipeline_cache_object_init(struct vk_device *device, struct vk_pipeline_cache_object *object, const struct vk_pipeline_cache_object_ops *ops, const void *key_data, uint32_t key_size) vk_pipeline_cache_object_init() argument 133 vk_pipeline_cache_object_finish(struct vk_pipeline_cache_object *object) vk_pipeline_cache_object_finish() argument 139 vk_pipeline_cache_object_ref(struct vk_pipeline_cache_object *object) vk_pipeline_cache_object_ref() argument 147 vk_pipeline_cache_object_unref(struct vk_pipeline_cache_object *object) vk_pipeline_cache_object_unref() argument [all...] |
H A D | vk_pipeline_cache.c | 53 raw_data_object_serialize(struct vk_pipeline_cache_object *object, in raw_data_object_serialize() argument 57 container_of(object, struct raw_data_object, base); in raw_data_object_serialize() 86 raw_data_object_destroy(struct vk_pipeline_cache_object *object) in raw_data_object_destroy() argument 89 container_of(object, struct raw_data_object, base); in raw_data_object_destroy() 139 const struct vk_pipeline_cache_object *object = void_object; in object_key_hash() local 140 return _mesa_hash_data(object->key_data, object->key_size); in object_key_hash() 161 struct vk_pipeline_cache_object *object) in vk_pipeline_cache_remove_object() 165 _mesa_set_search_pre_hashed(cache->object_cache, hash, object); in vk_pipeline_cache_remove_object() 166 if (entry && entry->key == (const void *)object) { in vk_pipeline_cache_remove_object() 159 vk_pipeline_cache_remove_object(struct vk_pipeline_cache *cache, uint32_t hash, struct vk_pipeline_cache_object *object) vk_pipeline_cache_remove_object() argument 219 vk_pipeline_cache_object_serialize(struct vk_pipeline_cache *cache, struct vk_pipeline_cache_object *object, struct blob *blob, uint32_t *data_size) vk_pipeline_cache_object_serialize() argument 286 struct vk_pipeline_cache_object *object = vk_pipeline_cache_object_deserialize() local 323 struct vk_pipeline_cache_object *object = NULL; vk_pipeline_cache_lookup_object() local 390 vk_pipeline_cache_add_object(struct vk_pipeline_cache *cache, struct vk_pipeline_cache_object *object) vk_pipeline_cache_add_object() argument 451 struct vk_pipeline_cache_object *object = vk_pipeline_cache_lookup_nir() local 560 struct vk_pipeline_cache_object *object = vk_pipeline_cache_load() local 704 struct vk_pipeline_cache_object *object = (void *)entry->key; vk_common_GetPipelineCacheData() local [all...] |
/third_party/json/tests/src/ |
H A D | unit-diagnostics.cpp | 41 j["object"]["object"] = true; 42 CHECK_THROWS_WITH_AS(j["object"].at("not_found"), "[json.exception.out_of_range.403] (/object) key 'not_found' not found", json::out_of_range); 102 CHECK_THROWS_WITH_AS(j.unflatten(), "[json.exception.type_error.315] (/~1foo) values in object must be primitive", json::type_error); 110 j_arr.push_back(json::object()); 111 j_arr.push_back(json::object()); 112 j_arr.push_back(json::object()); 113 j_arr.push_back(json::object()); 114 json j_obj = json::object(); 121 auto object = json::object(); global() variable [all...] |
/third_party/node/test/js-native-api/test_object/ |
H A D | test_null.c | 7 napi_value return_value, object, key; in SetProperty() local 10 NODE_API_CALL(env, napi_create_object(env, &object)); in SetProperty() 19 napi_set_property(NULL, object, key, object)); in SetProperty() 21 napi_set_property(env, NULL, key, object); in SetProperty() 24 napi_set_property(env, object, NULL, object); in SetProperty() 27 napi_set_property(env, object, key, NULL); in SetProperty() 34 napi_value return_value, object, key, prop; in GetProperty() local 37 NODE_API_CALL(env, napi_create_object(env, &object)); in GetProperty() 62 napi_value return_value, object, key; TestBoolValuedPropApi() local 102 napi_value return_value, object; SetNamedProperty() local 127 napi_value return_value, object, prop; GetNamedProperty() local 152 napi_value return_value, object; HasNamedProperty() local 178 napi_value return_value, object; SetElement() local 200 napi_value return_value, object, prop; GetElement() local 223 napi_value return_value, object; TestBoolValuedElementApi() local 254 napi_value object, return_value; DefineProperties() local [all...] |
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | array-prototype-fill.js | 55 // should not throw, even when applied to a frozen object. 83 var object = { 96 Array.prototype.fill.call (object, 42); 98 assert (kLength === object.length); 102 assert (42 === object[i]); 109 var object = {}; 110 object.length = kMaxSafeInt; 112 Array.prototype.fill.call (object, 42, Math.pow (2, 32) - 4); 114 assert (kMaxSafeInt === object.length); 115 assert (42 === object[kMaxSafeIn [all...] |
/third_party/jerryscript/tests/jerry/ |
H A D | json-stringify.js | 106 object = {"a": 1, "b": [1, true, {"a": "foo"}]}; 107 assert (JSON.stringify (object) == '{"a":1,"b":[1,true,{"a":"foo"}]}'); 109 object = {"a": [1], "b": {}}; 110 assert (JSON.stringify(object) === '{"a":[1],"b":{}}'); 129 object = { "a": "JSON", "b": new String("JSON"), "c": 3 }; 130 assert (JSON.stringify (object, replacer_function) == '{"a":"FOO","b":"JSON","c":3}'); 133 assert (JSON.stringify (object, filter) == '{"a":"JSON","b":"JSON"}'); 160 JSON.stringify (object, replacer_thrower) 169 object = { "a": 2 }; 170 assert (JSON.stringify (object, [all...] |
/third_party/cJSON/ |
H A D | cJSON.h | 113 /* next/prev allow you to walk array/object chains. Alternatively, use GetArraySize/GetArrayItem/GetObjectItem */ 116 /* An array or object item will have a child pointer pointing to a chain of the items in the array/object. */ 134 /* The item's name string, if this item is the child of, or is in the list of subitems of an object. */ 160 /* Supply a block of JSON, and this returns a cJSON object you can interrogate. */ 180 /* Returns the number of items in an array (or object). */ 184 /* Get item "string" from object. Case insensitive. */ 185 CJSON_PUBLIC(cJSON *) cJSON_GetObjectItem(const cJSON * const object, const char * const string); 186 CJSON_PUBLIC(cJSON *) cJSON_GetObjectItemCaseSensitive(const cJSON * const object, const char * const string); 187 CJSON_PUBLIC(cJSON_bool) cJSON_HasObjectItem(const cJSON *object, cons [all...] |