Home
last modified time | relevance | path

Searched refs:objects (Results 1 - 25 of 467) sorted by relevance

12345678910>>...19

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DSlabAllocatorTests.cpp45 // Allocate multiple objects and check their data is correct.
51 std::vector<Foo*> objects; in TEST() local
54 EXPECT_TRUE(std::find(objects.begin(), objects.end(), ptr) == objects.end()); in TEST()
55 objects.push_back(ptr); in TEST()
60 EXPECT_EQ(objects[i]->value, i); in TEST()
63 EXPECT_TRUE(IsPtrAligned(objects[i], alignof(Foo))); in TEST()
66 // Deallocate all of the objects. in TEST()
67 for (Foo* object : objects) { in TEST()
76 std::vector<AlignedFoo*> objects; TEST() local
103 std::set<Foo*> objects; TEST() local
132 std::set<Foo*> objects; TEST() local
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DResourceMap_unittest.cpp23 std::vector<size_t> objects(kSize, 1); in TEST()
26 resourceMap.assign(index + 1, &objects[index]); in TEST()
33 ASSERT_EQ(&objects[index], found); in TEST()
44 std::vector<size_t> objects(kSize, 1); in TEST()
47 resourceMap.assign(index + 1, &objects[index]); in TEST()
60 std::vector<size_t> objects; in TEST() local
64 objects.push_back(index); in TEST()
69 objects.push_back(kLargeIndex); in TEST()
71 for (size_t &object : objects) in TEST()
76 for (size_t object : objects) in TEST()
92 std::vector<size_t> objects; TEST() local
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DUnknownFieldSetLite.java77 Object[] objects = Arrays.copyOf(first.objects, count); in mutableCopyOf()
78 System.arraycopy(second.objects, 0, objects, first.count, second.count); in mutableCopyOf()
79 return new UnknownFieldSetLite(count, tags, objects, /* isMutable= */ true); in mutableCopyOf()
89 private Object[] objects; field in UnknownFieldSetLite
103 private UnknownFieldSetLite(int count, int[] tags, Object[] objects, boolean isMutable) { in UnknownFieldSetLite() argument
106 this.objects = objects; in UnknownFieldSetLite()
137 output.writeUInt64(fieldNumber, (Long) objects[ in writeTo()
354 hashCode(Object[] objects, int count) hashCode() argument
[all...]
H A DRawMessageInfo.java176 private final Object[] objects; field in RawMessageInfo
179 RawMessageInfo(MessageLite defaultInstance, String info, Object[] objects) { in RawMessageInfo() argument
182 this.objects = objects; in RawMessageInfo()
203 return objects; in getObjects()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_handle_table.c49 void **objects; member
51 /** Number of objects the handle can currently hold */
53 /** Number of consecutive objects allocated at the start of the table */
70 ht->objects = (void **)CALLOC(HANDLE_TABLE_INITIAL_SIZE, sizeof(void *)); in handle_table_create()
71 if(!ht->objects) { in handle_table_create()
114 new_objects = (void **)REALLOC((void *)ht->objects, in handle_table_resize()
123 ht->objects = new_objects; in handle_table_resize()
141 object = ht->objects[index]; in handle_table_clear()
143 ht->objects[index] = NULL; in handle_table_clear()
165 if(!ht->objects[h in handle_table_add()
[all...]
/third_party/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify13.c42 #define EVENT_MAX ARRAY_SIZE(objects)
56 } objects[] = { variable
104 for (i = 0; i < ARRAY_SIZE(objects); i++) { in create_objects()
105 if (objects[i].is_dir) in create_objects()
106 SAFE_MKDIR(objects[i].path, 0755); in create_objects()
108 SAFE_FILE_PRINTF(objects[i].path, "0"); in create_objects()
116 for (i = 0; i < ARRAY_SIZE(objects); i++) in get_object_stats()
117 fanotify_save_fid(objects[i].path, &objects[i].fid); in get_object_stats()
125 for (i = 0; i < ARRAY_SIZE(objects); in setup_marks()
[all...]
/third_party/python/Lib/distutils/
H A Dccompiler.py111 # shared libraries/objects at runtime
114 # 'objects': a list of object files (or similar, such as explicitly
116 self.objects = []
127 linker_so linker used to create shared objects and libraries
294 self.objects.append(object)
296 def set_link_objects(self, objects):
298 every link to 'objects'. This does not affect any standard object
302 self.objects = objects[:]
337 objects
[all...]
H A Dbcppcompiler.py85 macros, objects, extra_postargs, pp_opts, build = \
95 for obj in objects:
141 return objects
147 objects,
153 (objects, output_dir) = self._fix_object_args (objects, output_dir)
157 if self._need_link (objects, output_filename):
158 lib_args = [output_filename, '/u'] + objects
173 objects,
189 (objects, output_di
[all...]
H A Dunixccompiler.py122 def create_static_lib(self, objects, output_libname,
124 objects, output_dir = self._fix_object_args(objects, output_dir)
129 if self._need_link(objects, output_filename):
133 objects + self.objects)
148 def link(self, target_desc, objects,
153 objects, output_dir = self._fix_object_args(objects, output_dir)
165 if self._need_link(objects, output_filenam
[all...]
H A D_msvccompiler.py326 macros, objects, extra_postargs, pp_opts, build = compile_info
338 for obj in objects:
405 return objects
409 objects,
417 objects, output_dir = self._fix_object_args(objects, output_dir)
421 if self._need_link(objects, output_filename):
422 lib_args = objects + ['/OUT:' + output_filename]
436 objects,
451 objects, output_di
[all...]
H A Dmsvccompiler.py350 macros, objects, extra_postargs, pp_opts, build = compile_info
359 for obj in objects:
424 return objects
428 objects,
436 (objects, output_dir) = self._fix_object_args(objects, output_dir)
440 if self._need_link(objects, output_filename):
441 lib_args = objects + ['/OUT:' + output_filename]
454 objects,
469 (objects, output_di
[all...]
H A Dmsvc9compiler.py463 macros, objects, extra_postargs, pp_opts, build = compile_info
472 for obj in objects:
537 return objects
541 objects,
549 (objects, output_dir) = self._fix_object_args(objects, output_dir)
553 if self._need_link(objects, output_filename):
554 lib_args = objects + ['/OUT:' + output_filename]
567 objects,
582 (objects, output_di
[all...]
/third_party/mesa3d/bin/
H A Drefcnt-log-helper.py25 # Take a log file produced by GALLIUM_REFCNT_LOG, filter it to the objects that
45 objects = {}
58 if cur_object in objects:
59 del objects[cur_object]
63 objects[cur_object] = []
64 if prev_object in objects:
65 objects[prev_object] += stack
72 for stack in objects.values():
/third_party/typescript/tests/baselines/reference/
H A DobjectRest2.js3 declare function connectionFromArray(objects: number, args: any): {};
7 const { objects } = await { objects: 12 };
9 ...connectionFromArray(objects, args)
30 const { objects } = yield { objects: 12 };
31 return Object.assign({}, connectionFromArray(objects, args));
H A DgenericWithIndexerOfTypeParameterType1.js3 private objects = <{ [objectId: string]: T; }>{};
5 return this.objects;
14 this.objects = {};
17 return this.objects;
/third_party/ffmpeg/libavcodec/
H A Dav3a_parser.c70 uint16_t objects; member
219 int16_t objects = 0; in read_av3a_frame_header() local
315 // for only objects in read_av3a_frame_header()
317 objects = get_bits(&gb, 7); in read_av3a_frame_header()
318 objects += 1; in read_av3a_frame_header()
323 total_bitrate = codecBitrateConfigTable[CHANNEL_CONFIG_MONO].bitrateTable[obj_brt_idx] * objects; in read_av3a_frame_header()
335 objects = get_bits(&gb, 7); in read_av3a_frame_header()
336 objects += 1; in read_av3a_frame_header()
358 /* channels += objects; */ in read_av3a_frame_header()
360 total_bitrate = bitrate_bed_mc + bitrate_per_obj * objects; in read_av3a_frame_header()
[all...]
H A Dpgssubdec.c40 #define MAX_OBJECT_REFS 2 // Max objects per display set
66 PGSSubObjectRef objects[MAX_OBJECT_REFS]; member
98 PGSSubObjects objects; member
107 for (i = 0; i < ctx->objects.count; i++) { in flush_cache()
108 av_freep(&ctx->objects.object[i].rle); in flush_cache()
109 ctx->objects.object[i].rle_buffer_size = 0; in flush_cache()
110 ctx->objects.object[i].rle_remaining_len = 0; in flush_cache()
112 ctx->objects.count = 0; in flush_cache()
116 static PGSSubObject * find_object(int id, PGSSubObjects *objects) in find_object() argument
120 for (i = 0; i < objects in find_object()
[all...]
/third_party/nghttp2/doc/_exts/rubydomain/
H A Drubydomain.py222 objects = self.env.domaindata['rb']['objects']
223 if fullname in objects:
228 self.env.doc2path(objects[fullname][0]),
230 objects[fullname] = (self.env.docname, self.objtype)
593 'objects': {}, # fullname -> docname, objtype
601 for fullname, (fn, _) in list(self.data['objects'].items()):
603 del self.data['objects'][fullname]
620 objects = self.data['objects']
[all...]
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_log.c88 struct vk_object_base **objects = NULL; in __vk_log_impl() local
92 objects = (struct vk_object_base **) objects_or_instance; in __vk_log_impl()
94 if (unlikely(objects[i] == NULL)) { in __vk_log_impl()
99 if (unlikely(!objects[i]->client_visible)) { in __vk_log_impl()
101 "of type %s", objects[i], in __vk_log_impl()
102 vk_ObjectType_to_str(objects[i]->type)); in __vk_log_impl()
106 instance = vk_object_to_instance(objects[i]); in __vk_log_impl()
109 assert(vk_object_to_instance(objects[i]) == instance); in __vk_log_impl()
183 struct vk_object_base *base = objects[i]; in __vk_log_impl()
263 vk_debug_report(instance, flags, object_count ? objects[ in __vk_log_impl()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
H A DTestCompatibility.java256 Character[] objects = new Character[10]; in testCompatibility()
257 levels = new byte[objects.length]; in testCompatibility()
258 for (int i = 0; i < objects.length; i++) { in testCompatibility()
259 objects[i] = new Character((char)('a'+i)); in testCompatibility()
262 Bidi.reorderVisually(levels, 3, objects, 3, 7); in testCompatibility()
264 for (int i = 0; i < objects.length; i++) { in testCompatibility()
265 strbidi += objects[i].toString(); in testCompatibility()
267 for (int i = 0; i < objects.length; i++) { in testCompatibility()
268 objects[i] = new Character((char)('a'+i)); in testCompatibility()
271 java.text.Bidi.reorderVisually(levels, 3, objects, in testCompatibility()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/
H A DTestCompatibility.java259 Character[] objects = new Character[10]; in testCompatibility()
260 levels = new byte[objects.length]; in testCompatibility()
261 for (int i = 0; i < objects.length; i++) { in testCompatibility()
262 objects[i] = new Character((char)('a'+i)); in testCompatibility()
265 Bidi.reorderVisually(levels, 3, objects, 3, 7); in testCompatibility()
267 for (int i = 0; i < objects.length; i++) { in testCompatibility()
268 strbidi += objects[i].toString(); in testCompatibility()
270 for (int i = 0; i < objects.length; i++) { in testCompatibility()
271 objects[i] = new Character((char)('a'+i)); in testCompatibility()
274 java.text.Bidi.reorderVisually(levels, 3, objects, in testCompatibility()
[all...]
/third_party/skia/tools/gpu/gl/command_buffer/
H A DGLTestContext_command_buffer.cpp147 if (auto objects = Get()) { in CurrentDisplay()
148 return objects->fDisplay; in CurrentDisplay()
154 if (auto objects = Get()) { in CurrentSurface()
157 return objects->fDrawSurface; in CurrentSurface()
159 return objects->fReadSurface; in CurrentSurface()
168 if (auto objects = Get()) { in CurrentContext()
169 return objects->fContext; in CurrentContext()
177 if (auto objects = Get()) { in MakeCurrent()
178 objects->fDisplay = display; in MakeCurrent()
179 objects in MakeCurrent()
196 static thread_local TLSCurrentObjects objects; Get() local
[all...]
/third_party/vixl/test/
H A Dtest-pool-manager.cc135 // Store pointers to ForwardReference objects - TestObject is responsible
237 // Store pointers to ForwardReference objects - TestBranchObject is
286 printf("Number of objects: %d\n", static_cast<int>(objects_.size()))); in DumpCurrentState()
362 // Fuzz test that uses literal-like objects, that get deleted when they are
371 std::vector<TestObject *> objects; in TEST() local
373 // Create objects. in TEST()
375 objects.push_back(TestObject::CreateRandom(i)); in TEST()
379 for (int i = 0; !objects.empty(); ++i) { in TEST()
388 TestObject *object = objects[RandomObjectID(objects in TEST()
446 std::vector<TestBranchObject *> objects; TEST() local
[all...]
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/resources/
H A Dfuzz_library.js60 let objects = [];
62 objects.push(obj);
65 return objects[seed % objects.length];
/third_party/skia/tools/
H A Dmerge_static_libs.py33 objects = []
44 # The static library is non-thin, and we extracted objects
46 objects.append(os.path.abspath(obj))
48 # The static library is thin, so it contains the paths to its objects
50 objects.append(obj)
52 raise Exception('Failed to extract objects from %s.' % in_lib)
54 if not subprocess.call([ar, '-crs', out_lib] + objects) == 0:

Completed in 15 milliseconds

12345678910>>...19