/external/libchrome/base/ |
D | value_iterators_unittest.cc | 60 DictStorage storage; in TEST() local 61 storage.emplace("0", std::make_unique<Value>(0)); in TEST() 64 iterator iter(storage.begin()); in TEST() 69 EXPECT_EQ(Value(1), *storage["0"]); in TEST() 73 DictStorage storage; in TEST() local 74 storage.emplace("0", std::make_unique<Value>(0)); in TEST() 77 iterator iter(storage.begin()); in TEST() 82 EXPECT_EQ(Value(1), *storage["0"]); in TEST() 86 DictStorage storage; in TEST() local 87 storage.emplace("0", std::make_unique<Value>(0)); in TEST() [all …]
|
/external/grpc-grpc/src/core/lib/transport/ |
D | metadata_batch.cc | 97 grpc_linked_mdelem* storage) 101 grpc_linked_mdelem* storage) { in maybe_link_callout() argument 103 GRPC_BATCH_INDEX_OF(GRPC_MDKEY(storage->md)); in maybe_link_callout() 109 batch->idx.array[idx] = storage; in maybe_link_callout() 114 storage->md); in maybe_link_callout() 118 grpc_linked_mdelem* storage) { in maybe_unlink_callout() argument 120 GRPC_BATCH_INDEX_OF(GRPC_MDKEY(storage->md)); in maybe_unlink_callout() 130 grpc_linked_mdelem* storage, in grpc_metadata_batch_add_head() argument 133 storage->md = elem_to_add; in grpc_metadata_batch_add_head() 134 return grpc_metadata_batch_link_head(batch, storage); in grpc_metadata_batch_add_head() [all …]
|
D | metadata_batch.h | 65 /** Remove \a storage from the batch, unreffing the mdelem contained */ 67 grpc_linked_mdelem* storage); 71 grpc_linked_mdelem* storage, 74 void grpc_metadata_batch_set_value(grpc_linked_mdelem* storage, 77 /** Add \a storage to the beginning of \a batch. storage->md is 79 \a storage is owned by the caller and must survive for the 83 grpc_linked_mdelem* storage) 86 /** Add \a storage to the end of \a batch. storage->md is 88 \a storage is owned by the caller and must survive for the 92 grpc_linked_mdelem* storage) [all …]
|
/external/brotli/c/enc/ |
D | brotli_bit_stream.c | 101 const Command* cmd, size_t* storage_ix, uint8_t* storage) { in StoreCommandExtra() argument 110 insnumextra + GetCopyExtra(copycode), bits, storage_ix, storage); in StoreCommandExtra() 124 static void StoreVarLenUint8(size_t n, size_t* storage_ix, uint8_t* storage) { in StoreVarLenUint8() argument 126 BrotliWriteBits(1, 0, storage_ix, storage); in StoreVarLenUint8() 129 BrotliWriteBits(1, 1, storage_ix, storage); in StoreVarLenUint8() 130 BrotliWriteBits(3, nbits, storage_ix, storage); in StoreVarLenUint8() 131 BrotliWriteBits(nbits, n - ((size_t)1 << nbits), storage_ix, storage); in StoreVarLenUint8() 141 uint8_t* storage) { in StoreCompressedMetaBlockHeader() argument 147 BrotliWriteBits(1, (uint64_t)is_final_block, storage_ix, storage); in StoreCompressedMetaBlockHeader() 150 BrotliWriteBits(1, 0, storage_ix, storage); in StoreCompressedMetaBlockHeader() [all …]
|
D | compress_fragment.c | 78 uint8_t* storage) { in BuildAndStoreLiteralPrefixCode() argument 113 depths, bits, storage_ix, storage); in BuildAndStoreLiteralPrefixCode() 129 uint8_t* storage) { in BuildAndStoreCommandPrefixCode() argument 171 cmd_depth, BROTLI_NUM_COMMAND_SYMBOLS, tree, storage_ix, storage); in BuildAndStoreCommandPrefixCode() 173 BrotliStoreHuffmanTree(&depth[64], 64, tree, storage_ix, storage); in BuildAndStoreCommandPrefixCode() 182 uint8_t* storage) { in EmitInsertLen() argument 185 BrotliWriteBits(depth[code], bits[code], storage_ix, storage); in EmitInsertLen() 192 BrotliWriteBits(depth[inscode], bits[inscode], storage_ix, storage); in EmitInsertLen() 193 BrotliWriteBits(nbits, tail - (prefix << nbits), storage_ix, storage); in EmitInsertLen() 199 BrotliWriteBits(depth[code], bits[code], storage_ix, storage); in EmitInsertLen() [all …]
|
/external/expat/tests/ |
D | structdata.c | 73 StructData_Init(StructData *storage) in StructData_Init() argument 75 assert(storage != NULL); in StructData_Init() 76 storage->count = 0; in StructData_Init() 77 storage->max_count = 0; in StructData_Init() 78 storage->entries = NULL; in StructData_Init() 82 StructData_AddItem(StructData *storage, in StructData_AddItem() argument 90 assert(storage != NULL); in StructData_AddItem() 92 if (storage->count == storage->max_count) { in StructData_AddItem() 95 storage->max_count += STRUCT_EXTENSION_COUNT; in StructData_AddItem() 96 new = realloc(storage->entries, in StructData_AddItem() [all …]
|
D | chardata.c | 57 CharData_Init(CharData *storage) in CharData_Init() argument 59 assert(storage != NULL); in CharData_Init() 60 storage->count = -1; in CharData_Init() 64 CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len) in CharData_AppendXMLChars() argument 68 assert(storage != NULL); in CharData_AppendXMLChars() 70 maxchars = sizeof(storage->data) / sizeof(storage->data[0]); in CharData_AppendXMLChars() 71 if (storage->count < 0) in CharData_AppendXMLChars() 72 storage->count = 0; in CharData_AppendXMLChars() 75 if ((len + storage->count) > maxchars) { in CharData_AppendXMLChars() 76 len = (maxchars - storage->count); in CharData_AppendXMLChars() [all …]
|
/external/python/oauth2client/tests/contrib/django_util/ |
D | test_django_storage.py | 15 """Tests for the DjangoORM storage class.""" 27 from oauth2client.contrib.django_util.storage import ( 28 DjangoORMStorage as Storage) unknown 50 storage = Storage(FakeCredentialsModel, self.key_name, 53 self.assertEqual(storage.model_class, FakeCredentialsModel) 54 self.assertEqual(storage.key_name, self.key_name) 55 self.assertEqual(storage.key_value, self.key_value) 56 self.assertEqual(storage.property_name, self.property_name) 69 storage = Storage(FakeCredentialsModelMock, self.key_name, 71 credential = storage.locked_get() [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | link_uniform_initializers.cpp | 43 assert(!"No uniform storage found!"); in get_storage() 48 copy_constant_to_storage(union gl_constant_value *storage, in copy_constant_to_storage() argument 57 storage[i].u = val->value.u[i]; in copy_constant_to_storage() 61 storage[i].i = val->value.i[i]; in copy_constant_to_storage() 64 storage[i].f = val->value.f[i]; in copy_constant_to_storage() 70 memcpy(&storage[i * 2].u, &val->value.d[i], sizeof(double)); in copy_constant_to_storage() 73 storage[i].b = val->value.b[i] ? boolean_true : 0; in copy_constant_to_storage() 99 * they have no storage and should be handled elsewhere. 117 struct gl_uniform_storage *const storage = get_storage(prog, name); in set_opaque_binding() local 119 if (!storage) in set_opaque_binding() [all …]
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | md5sum_test.py | 100 test_path = '/storage/emulated/legacy/test/file.dat' 105 '/storage/emulated/legacy/test/file.dat', 112 self.assertTrue('/storage/emulated/legacy/test/file.dat' in out) 114 out['/storage/emulated/legacy/test/file.dat']) 118 test_path = ['/storage/emulated/legacy/test/file0.dat', 119 '/storage/emulated/legacy/test/file1.dat'] 123 '/storage/emulated/legacy/test/file0.dat', 125 '/storage/emulated/legacy/test/file1.dat', 132 self.assertTrue('/storage/emulated/legacy/test/file0.dat' in out) 134 out['/storage/emulated/legacy/test/file0.dat']) [all …]
|
/external/autotest/client/site_tests/hardware_UsbMount/ |
D | hardware_UsbMount.py | 11 from cros import storage as storage_mod 38 @param filter_dict: storage dictionary filter. 44 storage = self.wait_for_device(filter_dict, cycles=1, 47 if not os.path.ismount(storage['mountpoint']): 50 storage_filter = {'fs_uuid': storage['fs_uuid']} 52 # everytime the storage device is un-mounted. 53 self._tmpfile = os.path.join(storage['mountpoint'], 62 logging.debug('storage to umount %s', storage) 65 self.scanner.umount_volume(storage_dict=storage) 66 storage = self.wait_for_device(storage_filter, [all …]
|
/external/perfetto/src/trace_processor/ |
D | proto_trace_parser.cc | 161 utid_name_id_(context->storage->InternString("utid")), in ProtoTraceParser() 162 sched_wakeup_name_id_(context->storage->InternString("sched_wakeup")), in ProtoTraceParser() 163 cpu_freq_name_id_(context->storage->InternString("cpufreq")), in ProtoTraceParser() 164 cpu_idle_name_id_(context->storage->InternString("cpuidle")), in ProtoTraceParser() 165 comm_name_id_(context->storage->InternString("comm")), in ProtoTraceParser() 166 num_forks_name_id_(context->storage->InternString("num_forks")), in ProtoTraceParser() 167 num_irq_total_name_id_(context->storage->InternString("num_irq_total")), in ProtoTraceParser() 169 context->storage->InternString("num_softirq_total")), in ProtoTraceParser() 170 num_irq_name_id_(context->storage->InternString("num_irq")), in ProtoTraceParser() 171 num_softirq_name_id_(context->storage->InternString("num_softirq")), in ProtoTraceParser() [all …]
|
D | event_tracker_unittest.cc | 36 context.storage.reset(new TraceStorage()); in EventTrackerTest() 56 const auto& timestamps = context.storage->slices().start_ns(); in TEST_F() 68 ASSERT_EQ(context.storage->GetThread(1).start_ns, 0); in TEST_F() 70 context.storage->GetString(context.storage->GetThread(1).name_id).c_str(), in TEST_F() 72 ASSERT_EQ(context.storage->slices().utids().front(), 1); in TEST_F() 73 ASSERT_EQ(context.storage->slices().durations().front(), 1); in TEST_F() 84 const auto& timestamps = context.storage->slices().start_ns(); in TEST_F() 102 ASSERT_EQ(context.storage->GetThread(1).start_ns, 0); in TEST_F() 103 ASSERT_EQ(context.storage->slices().durations().at(0), 1u); in TEST_F() 104 ASSERT_EQ(context.storage->slices().durations().at(1), 11u - 1u); in TEST_F() [all …]
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/ |
D | p2.cpp | 8 auto int ao; // expected-error {{illegal storage class on file-scoped variable}} 10 // expected-warning@-2 {{'auto' storage class specifier is not permitted in C++11, and will not be … 13 auto void af(); // expected-error {{illegal storage class on function}} 15 // expected-warning@-2 {{'auto' storage class specifier is not permitted in C++11, and will not be … 18 register int ro; // expected-error {{illegal storage class on file-scoped variable}} 20 // expected-warning@-2 {{'register' storage class specifier is deprecated}} 23 register void rf(); // expected-error {{illegal storage class on function}} 26 auto int ao; // expected-error {{storage class specified for a member declaration}} 28 // expected-warning@-2 {{'auto' storage class specifier is not permitted in C++11, and will not be … 30 auto void af(); // expected-error {{storage class specified for a member declaration}} [all …]
|
/external/python/oauth2client/tests/contrib/ |
D | test_dictionary_storage.py | 45 storage = dictionary_storage.DictionaryStorage(dictionary, key) 47 self.assertEqual(dictionary, storage._dictionary) 48 self.assertEqual(key, storage._key) 49 self.assertIsNone(storage._lock) 54 storage = dictionary_storage.DictionaryStorage(dictionary, key) 57 storage = dictionary_storage.DictionaryStorage( 59 self.assertEqual(storage._lock, lock) 65 storage = dictionary_storage.DictionaryStorage(dictionary, key) 67 self.assertIsNone(storage.get()) 70 returned = storage.get() [all …]
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyRepeatedField.java | 67 this.storage = runtime.newArray(); in RubyRepeatedField() 74 this.storage = runtime.newArray(); in initialize() 97 this.storage.add(arr.eltInternal(i)); in initialize() 115 for (int i = this.storage.size(); i < arrIndex; i++) { in indexSet() 116 this.storage.set(i, defaultValue); in indexSet() 118 this.storage.set(arrIndex, value); in indexSet() 135 if (arrIndex < 0 || arrIndex >= this.storage.size()) { in index() 138 return this.storage.eltInternal(arrIndex); in index() 144 return this.storage.subseq(beg, len); in index() 151 beg += this.storage.size(); in index() [all …]
|
/external/autotest/client/cros/ |
D | storage.py | 5 """Storage device utilities to be used in storage device based tests 16 """Indicates that a storage/volume operation failed. 23 """Scan device for storage points. 25 It also performs basic operations on found storage devices as mount/umount, 28 Each storage device is defined by a dictionary containing the following 44 make the filter matching all the values for said key in the storage 62 expressions (str). If an element of self.storage matches the regex 77 for storage in self.storages: 80 if not re.match(storage_filter[key], storage[key]): 84 ret.append(storage.copy()) [all …]
|
/external/libchrome/mojo/public/cpp/base/ |
D | values_unittest.cc | 87 std::vector<base::Value::DictStorage::value_type> storage; in TEST() local 88 storage.emplace_back("null", std::make_unique<base::Value>()); in TEST() 89 storage.emplace_back("bool", std::make_unique<base::Value>(false)); in TEST() 90 storage.emplace_back("int", std::make_unique<base::Value>(0)); in TEST() 91 storage.emplace_back("double", std::make_unique<base::Value>(0.0)); in TEST() 92 storage.emplace_back("string", std::make_unique<base::Value>("0")); in TEST() 93 storage.emplace_back( in TEST() 95 storage.emplace_back( in TEST() 97 storage.emplace_back( in TEST() 101 base::Value::DictStorage(std::move(storage), base::KEEP_LAST_OF_DUPES)); in TEST() [all …]
|
/external/clang/lib/AST/ |
D | TemplateName.cpp | 55 Storage = StorageType::getFromOpaqueValue(Ptr); in TemplateName() 58 TemplateName::TemplateName(TemplateDecl *Template) : Storage(Template) {} in TemplateName() 59 TemplateName::TemplateName(OverloadedTemplateStorage *Storage) in TemplateName() argument 60 : Storage(Storage) {} in TemplateName() 61 TemplateName::TemplateName(SubstTemplateTemplateParmStorage *Storage) in TemplateName() argument 62 : Storage(Storage) {} in TemplateName() 63 TemplateName::TemplateName(SubstTemplateTemplateParmPackStorage *Storage) in TemplateName() argument 64 : Storage(Storage) {} in TemplateName() 65 TemplateName::TemplateName(QualifiedTemplateName *Qual) : Storage(Qual) {} in TemplateName() 66 TemplateName::TemplateName(DependentTemplateName *Dep) : Storage(Dep) {} in TemplateName() [all …]
|
/external/mesa3d/src/compiler/glsl/tests/ |
D | copy_constant_to_storage_tests.cpp | 32 copy_constant_to_storage(union gl_constant_value *storage, 50 gl_constant_value storage[17]; member in copy_constant_to_storage 73 const unsigned red_zone_size = ARRAY_SIZE(storage) - val->type->components(); in int_test() 74 fill_storage_array_with_sentinels(storage, in int_test() 78 linker::copy_constant_to_storage(storage, in int_test() 84 verify_data(storage, 0, val, red_zone_size, 0xF00F); in int_test() 93 const unsigned red_zone_size = ARRAY_SIZE(storage) - val->type->components(); in uint_test() 94 fill_storage_array_with_sentinels(storage, in uint_test() 98 linker::copy_constant_to_storage(storage, in uint_test() 104 verify_data(storage, 0, val, red_zone_size, 0xF00F); in uint_test() [all …]
|
D | uniform_initializer_utils.cpp | 31 fill_storage_array_with_sentinels(gl_constant_value *storage, in fill_storage_array_with_sentinels() argument 36 storage[i].u = 0xDEADBEEF; in fill_storage_array_with_sentinels() 39 storage[data_size + i].u = 0xBADDC0DE; in fill_storage_array_with_sentinels() 46 red_zone_is_intact(gl_constant_value *storage, in red_zone_is_intact() argument 53 if (storage[idx].u != 0xBADDC0DE) in red_zone_is_intact() 55 << "storage[" << idx << "].u = " << storage[idx].u in red_zone_is_intact() 208 uint64_storage(union gl_constant_value *storage) in uint64_storage() argument 211 memcpy(&val, &storage->i, sizeof(uint64_t)); in uint64_storage() 216 double_storage(union gl_constant_value *storage) in double_storage() argument 219 memcpy(&val, &storage->i, sizeof(double)); in double_storage() [all …]
|
/external/python/google-api-python-client/docs/dyn/ |
D | storage_v1.buckets.html | 75 <h1><a href="storage_v1.html">Cloud Storage JSON API</a> . <a href="storage_v1.buckets.html">bucket… 143 … "kind": "storage#bucket", # The kind of item this is. For buckets, this is always storage#bucket. 164 …"kind": "storage#bucketAccessControl", # The kind of item this is. For bucket access control entri… 195 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri… 221 …of the bucket. Object data for objects in the bucket resides in physical storage within this regio… 245 …"storageClass": "A String", # Target storage class. Required iff the type of the action is SetStor… 249 …"matchesStorageClass": [ # Objects having any of the storage classes specified by this condition w… 262 …storage class, used whenever no storageClass is specified for a newly-created object. This defines… 281 …, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole. 283 # - roles/storage.admin — Full control of Google Cloud Storage resources. [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramInterfaceDefinitionUtil.cpp | 63 VariableSearchFilter VariableSearchFilter::createStorageFilter (glu::Storage storage) in createStorageFilter() argument 65 DE_ASSERT(storage < glu::STORAGE_LAST); in createStorageFilter() 68 filter.m_storageBits = (1u << storage); in createStorageFilter() 72 …er VariableSearchFilter::createShaderTypeStorageFilter (glu::ShaderType type, glu::Storage storage) in createShaderTypeStorageFilter() argument 74 return logicalAnd(createShaderTypeFilter(type), createStorageFilter(storage)); in createShaderTypeStorageFilter() 101 DE_ASSERT(variable.storage < glu::STORAGE_LAST); in matchesFilter() 102 return (m_storageBits & (1u << variable.storage)) != 0; in matchesFilter() 107 DE_ASSERT(block.storage < glu::STORAGE_LAST); in matchesFilter() 108 return (m_storageBits & (1u << block.storage)) != 0; in matchesFilter() 143 const glu::Storage storage = shader->getDefaultBlock().interfaceBlocks[ndx].storage; in shaderContainsIOBlocks() local [all …]
|
/external/libese/apps/boot/card/src/com/android/verifiedboot/storage/ |
D | VersionStorage.java | 17 package com.android.verifiedboot.storage; 22 import com.android.verifiedboot.storage.BackupInterface; 30 private byte[] storage; field in VersionStorage 33 storage = new byte[NUM_SLOTS * SLOT_BYTES]; in VersionStorage() 35 Util.arrayFillNonAtomic(storage, (short) 0, (short) storage.length, (byte) 0x00); in VersionStorage() 51 Util.arrayCopy(storage, (short)(SLOT_BYTES * slot), in getSlot() 79 storage, (short)(SLOT_BYTES * slot), SLOT_BYTES); in setSlot() 94 inBytesLength > (short)(storage.length + 1)) { in restore() 101 Util.arrayCopy(inBytes, inBytesOffset, storage, (short) 0, inBytesLength); in restore() 111 * Copies storage to outBytes with a leading version byte which can be [all …]
|
/external/eigen/doc/ |
D | StorageOrders.dox | 3 /** \eigenManualPage TopicStorageOrders Storage orders 5 There are two different storage orders for matrices and two-dimensional arrays: column-major and ro… 6 This page explains these storage orders and how to specify which one should be used. 11 \section TopicStorageOrdersIntro Column-major and row-major storage 50 \section TopicStorageOrdersInEigen Storage orders in Eigen 52 The storage order of a matrix or a two-dimensional array can be set by specifying the \c Options te… 58 specify the storage order. 60 If the storage order is not specified, then Eigen defaults to storing the entry in column-major. Th… 63 Matrices and arrays using one storage order can be assigned to matrices and arrays using the other … 69 \section TopicStorageOrdersWhich Which storage order to choose? [all …]
|