/external/oj-libjdwp/src/share/back/ |
D | bag.h | 35 struct bag; 42 struct bag *bagCreateBag(int itemSize, int initialAllocation); 48 struct bag *bagDup(struct bag *); 52 void bagDestroyBag(struct bag *theBag); 57 void *bagFind(struct bag *theBag, void *key); 62 void *bagAdd(struct bag *theBag); 67 void bagDelete(struct bag *theBag, void *condemned); 71 void bagDeleteAll(struct bag *theBag); 75 int bagSize(struct bag *theBag); 86 jboolean bagEnumerateOver(struct bag *theBag,
|
D | bag.c | 31 struct bag { struct 38 struct bag * argument 40 struct bag *theBag = (struct bag *)jvmtiAllocate(sizeof(struct bag)); in bagCreateBag() 56 struct bag * 57 bagDup(struct bag *oldBag) in bagDup() 59 struct bag *newBag = bagCreateBag(oldBag->itemSize, in bagDup() 69 bagDestroyBag(struct bag *theBag) in bagDestroyBag() 78 bagFind(struct bag *theBag, void *key) in bagFind() 94 bagAdd(struct bag *theBag) in bagAdd() 121 bagDelete(struct bag *theBag, void *condemned) in bagDelete() [all …]
|
D | eventHelper.h | 34 struct bag *eventHelper_createEventBag(void); 37 jbyte suspendPolicy, struct bag *eventBag); 38 void eventHelper_recordClassUnload(jint id, char *signature, struct bag *eventBag); 44 struct bag *eventBag); 46 jbyte eventHelper_reportEvents(jbyte sessionID, struct bag *eventBag);
|
D | standardHandlers.c | 42 struct bag *eventBag) in handleClassPrepare() 81 struct bag *eventBag) in handleGarbageCollectionFinish() 89 struct bag *eventBag) in handleFrameEvent() 128 struct bag *eventBag) in genericHandler()
|
D | classTrack.c | 107 struct bag* deletedTagBag; 151 struct bag * 164 struct bag* deleted = bagCreateBag(sizeof(char*), bagSize(deletedTagBag)); in classTrack_processUnloads()
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_futures.py | 602 def _make_callback(self, bag, thing): argument 605 bag.append(thing) 612 bag = [] 615 cb1 = self._make_callback(bag, 42) 616 cb2 = self._make_callback(bag, 17) 617 cb3 = self._make_callback(bag, 100) 626 self.assertEqual(bag, []) 631 self.assertEqual(bag, [17, 100]) 635 bag = [] 638 cb1 = self._make_callback(bag, 42) [all …]
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | pollset_set.cc | 47 void grpc_pollset_set_add_pollset_set(grpc_pollset_set* bag, in grpc_pollset_set_add_pollset_set() argument 49 grpc_pollset_set_impl->add_pollset_set(bag, item); in grpc_pollset_set_add_pollset_set() 52 void grpc_pollset_set_del_pollset_set(grpc_pollset_set* bag, in grpc_pollset_set_del_pollset_set() argument 54 grpc_pollset_set_impl->del_pollset_set(bag, item); in grpc_pollset_set_del_pollset_set()
|
D | pollset_set.h | 38 void (*add_pollset_set)(grpc_pollset_set* bag, grpc_pollset_set* item); 39 void (*del_pollset_set)(grpc_pollset_set* bag, grpc_pollset_set* item); 50 void grpc_pollset_set_add_pollset_set(grpc_pollset_set* bag, 52 void grpc_pollset_set_del_pollset_set(grpc_pollset_set* bag,
|
D | ev_epollsig_linux.cc | 1392 static void add_poll_object(poll_obj* bag, poll_obj_type bag_type, argument 1398 GPR_ASSERT(bag->obj_type == bag_type); 1404 gpr_mu_lock(&bag->mu); 1423 gpr_mu_unlock(&bag->mu); 1427 if (item->pi == bag->pi) { 1454 (void*)bag); 1473 poll_obj_string(bag_type), (void*)bag); 1482 pi_new = polling_island_lock(bag->pi); 1494 poll_obj_string(bag_type), (void*)bag); 1495 } else if (bag->pi == nullptr) { [all …]
|
D | ev_poll_posix.cc | 1290 static void pollset_set_add_pollset_set(grpc_pollset_set* bag, argument 1293 gpr_mu_lock(&bag->mu); 1294 if (bag->pollset_set_count == bag->pollset_set_capacity) { 1295 bag->pollset_set_capacity = GPR_MAX(8, 2 * bag->pollset_set_capacity); 1296 bag->pollset_sets = static_cast<grpc_pollset_set**>( 1297 gpr_realloc(bag->pollset_sets, 1298 bag->pollset_set_capacity * sizeof(*bag->pollset_sets))); 1300 bag->pollset_sets[bag->pollset_set_count++] = item; 1301 for (i = 0, j = 0; i < bag->fd_count; i++) { 1302 if (fd_is_orphaned(bag->fds[i])) { [all …]
|
D | ev_posix.cc | 370 static void pollset_set_add_pollset_set(grpc_pollset_set* bag, in pollset_set_add_pollset_set() argument 372 GRPC_POLLING_API_TRACE("pollset_set_add_pollset_set(%p, %p)", bag, item); in pollset_set_add_pollset_set() 373 g_event_engine->pollset_set_add_pollset_set(bag, item); in pollset_set_add_pollset_set() 376 static void pollset_set_del_pollset_set(grpc_pollset_set* bag, in pollset_set_del_pollset_set() argument 378 GRPC_POLLING_API_TRACE("pollset_set_del_pollset_set(%p, %p)", bag, item); in pollset_set_del_pollset_set() 379 g_event_engine->pollset_set_del_pollset_set(bag, item); in pollset_set_del_pollset_set()
|
D | pollset_set_windows.cc | 40 static void pollset_set_add_pollset_set(grpc_pollset_set* bag, in pollset_set_add_pollset_set() argument 43 static void pollset_set_del_pollset_set(grpc_pollset_set* bag, in pollset_set_del_pollset_set() argument
|
D | pollset_set_custom.cc | 37 void pollset_set_add_pollset_set(grpc_pollset_set* bag, in pollset_set_add_pollset_set() argument 40 void pollset_set_del_pollset_set(grpc_pollset_set* bag, in pollset_set_del_pollset_set() argument
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowArscAssetManager10.java | 869 ResolvedBag bag = assetmanager.GetBag(resid); in nativeGetResourceBagValue() local 870 if (bag == null) { in nativeGetResourceBagValue() 874 final Ref<Integer> type_spec_flags = new Ref<>(bag.type_spec_flags); in nativeGetResourceBagValue() 877 for (ResolvedBag.Entry entry : bag.entries) { in nativeGetResourceBagValue() 905 ResolvedBag bag = assetmanager.GetBag(resid); in nativeGetStyleAttributes() local 906 if (bag == null) { in nativeGetStyleAttributes() 910 int[] array = new int[bag.entry_count]; in nativeGetStyleAttributes() 915 for (int i = 0; i < bag.entry_count; i++) { in nativeGetStyleAttributes() 916 int attr_resid = bag.entries[i].key; in nativeGetStyleAttributes() 929 ResolvedBag bag = assetmanager.GetBag(resid); in nativeGetResourceStringArray() local [all …]
|
D | ShadowArscAssetManager9.java | 865 ResolvedBag bag = assetmanager.GetBag(resid); in nativeGetResourceBagValue() local 866 if (bag == null) { in nativeGetResourceBagValue() 870 final Ref<Integer> type_spec_flags = new Ref<>(bag.type_spec_flags); in nativeGetResourceBagValue() 873 for (ResolvedBag.Entry entry : bag.entries) { in nativeGetResourceBagValue() 901 ResolvedBag bag = assetmanager.GetBag(resid); in nativeGetStyleAttributes() local 902 if (bag == null) { in nativeGetStyleAttributes() 906 int[] array = new int[bag.entry_count]; in nativeGetStyleAttributes() 911 for (int i = 0; i < bag.entry_count; i++) { in nativeGetStyleAttributes() 912 int attr_resid = bag.entries[i].key; in nativeGetStyleAttributes() 925 ResolvedBag bag = assetmanager.GetBag(resid); in nativeGetResourceStringArray() local [all …]
|
/external/webrtc/talk/media/devices/ |
D | win32devicemanager.cc | 206 CComPtr<IPropertyBag> bag; in GetDevices() local 208 __uuidof(bag), reinterpret_cast<void**>(&bag)))) { in GetDevices() 211 if (SUCCEEDED(bag->Read(kFriendlyName, &name, 0)) && in GetDevices() 215 if (SUCCEEDED(bag->Read(kDevicePath, &path, 0)) && in GetDevices() 230 HRESULT GetStringProp(IPropertyStore* bag, PROPERTYKEY key, std::string* out) { in GetStringProp() argument 235 HRESULT hr = bag->GetValue(key, &var); in GetStringProp()
|
/external/jemalloc/test/unit/ |
D | ph.c | 171 uint64_t bag[NNODES]; in TEST_BEGIN() local 182 bag[j] = j; in TEST_BEGIN() 187 bag[j] = NNODES - j - 1; in TEST_BEGIN() 191 bag[j] = gen_rand64_range(sfmt, NNODES); in TEST_BEGIN() 201 nodes[k].key = bag[k]; in TEST_BEGIN()
|
D | rb.c | 234 uint64_t bag[NNODES]; in TEST_BEGIN() local 245 bag[j] = j; in TEST_BEGIN() 250 bag[j] = NNODES - j - 1; in TEST_BEGIN() 254 bag[j] = gen_rand64_range(sfmt, NNODES); in TEST_BEGIN() 262 nodes[k].key = bag[k]; in TEST_BEGIN()
|
/external/jemalloc_new/test/unit/ |
D | ph.c | 177 uint64_t bag[NNODES]; in TEST_BEGIN() local 188 bag[j] = j; in TEST_BEGIN() 194 bag[j] = NNODES - j - 1; in TEST_BEGIN() 199 bag[j] = gen_rand64_range(sfmt, NNODES); in TEST_BEGIN() 210 nodes[k].key = bag[k]; in TEST_BEGIN()
|
D | rb.c | 232 uint64_t bag[NNODES]; in TEST_BEGIN() local 243 bag[j] = j; in TEST_BEGIN() 249 bag[j] = NNODES - j - 1; in TEST_BEGIN() 254 bag[j] = gen_rand64_range(sfmt, NNODES); in TEST_BEGIN() 263 nodes[k].key = bag[k]; in TEST_BEGIN()
|
/external/python/cpython2/Lib/test/ |
D | test_string.py | 310 m.bag = Bag() 311 m.bag.foo = Bag() 312 m.bag.foo.who = 'tim' 313 m.bag.what = 'ham' 326 m.bag = Bag() 327 m.bag.foo = Bag() 328 m.bag.foo.who = 'tim' 329 m.bag.what = 'ham'
|
D | test_file.py | 243 bag = self.open(TESTFN, "wb") 244 bag.write(filler * nchunks) 245 bag.writelines(testlines) 246 bag.close()
|
/external/python/cpython3/Lib/test/ |
D | test_string.py | 294 m.bag = Bag() 295 m.bag.foo = Bag() 296 m.bag.foo.who = 'tim' 297 m.bag.what = 'ham' 342 m.bag = Bag() 343 m.bag.foo = Bag() 344 m.bag.foo.who = 'tim' 345 m.bag.what = 'ham'
|
D | test_file.py | 237 bag = self.open(TESTFN, "wb") 238 bag.write(filler * nchunks) 239 bag.writelines(testlines) 240 bag.close()
|
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs8_x509.c | 946 static int add_bag_attributes(CBB *bag, const char *name, const uint8_t *key_id, in add_bag_attributes() argument 953 if (!CBB_add_asn1(bag, &attrs, CBS_ASN1_SET)) { in add_bag_attributes() 989 CBB_flush(bag); in add_bag_attributes() 994 CBB bag, bag_oid, bag_contents, cert_bag, cert_type, wrapped_cert, cert_value; in add_cert_bag() local 996 !CBB_add_asn1(cbb, &bag, CBS_ASN1_SEQUENCE) || in add_cert_bag() 997 !CBB_add_asn1(&bag, &bag_oid, CBS_ASN1_OBJECT) || in add_cert_bag() 999 !CBB_add_asn1(&bag, &bag_contents, in add_cert_bag() 1015 !add_bag_attributes(&bag, name, key_id, key_id_len) || in add_cert_bag() 1203 CBB content_info, oid, wrapper, data, safe_contents, bag, bag_oid, in PKCS12_create() local 1214 !CBB_add_asn1(&safe_contents, &bag, CBS_ASN1_SEQUENCE) || in PKCS12_create() [all …]
|