/external/chromium_org/device/nfc/ |
D | nfc_ndef_record_unittest.cc | 30 scoped_ptr<NfcNdefRecord> record(new NfcNdefRecord()); in TEST() local 33 EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeText, &data)); in TEST() 34 EXPECT_FALSE(record->IsPopulated()); in TEST() 38 EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeText, &data)); in TEST() 39 EXPECT_FALSE(record->IsPopulated()); in TEST() 44 EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeText, &data)); in TEST() 45 EXPECT_FALSE(record->IsPopulated()); in TEST() 48 EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeText, &data)); in TEST() 52 EXPECT_FALSE(record->Populate(NfcNdefRecord::kTypeText, &data)); in TEST() 53 EXPECT_FALSE(record->IsPopulated()); in TEST() [all …]
|
/external/wpa_supplicant_8/src/wps/ |
D | ndef.c | 36 struct ndef_record *record) in ndef_parse_record() argument 42 record->type_length = *pos++; in ndef_parse_record() 46 record->payload_length = *pos++; in ndef_parse_record() 50 record->payload_length = ntohl(*(u32 *)pos); in ndef_parse_record() 57 record->id_length = *pos++; in ndef_parse_record() 59 record->id_length = 0; in ndef_parse_record() 61 record->type = record->type_length == 0 ? NULL : pos; in ndef_parse_record() 62 pos += record->type_length; in ndef_parse_record() 64 record->id = record->id_length == 0 ? NULL : pos; in ndef_parse_record() 65 pos += record->id_length; in ndef_parse_record() [all …]
|
/external/skia/tests/ |
D | RecordOptsTest.cpp | 20 SkRecord record; in DEF_TEST() local 21 SkRecorder recorder(&record, W, H); in DEF_TEST() 33 SkRecordAnnotateCullingPairs(&record); in DEF_TEST() 35 REPORTER_ASSERT(r, 6 == assert_type<SkRecords::PairedPushCull>(r, record, 1)->skip); in DEF_TEST() 36 REPORTER_ASSERT(r, 2 == assert_type<SkRecords::PairedPushCull>(r, record, 4)->skip); in DEF_TEST() 40 SkRecord record; in DEF_TEST() local 41 SkRecorder recorder(&record, W, H); in DEF_TEST() 56 SkRecordNoopCulls(&record); in DEF_TEST() 59 assert_type<SkRecords::NoOp>(r, record, i); in DEF_TEST() 61 assert_type<SkRecords::PushCull>(r, record, 4); in DEF_TEST() [all …]
|
D | RecordPatternTest.cpp | 17 SkRecord record; in DEF_TEST() local 18 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 20 SkRecorder recorder(&record, 1920, 1200); in DEF_TEST() 24 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 27 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 30 REPORTER_ASSERT(r, pattern.match(&record, 0)); in DEF_TEST() 39 SkRecord record; in DEF_TEST() local 40 SkRecorder recorder(&record, 1920, 1200); in DEF_TEST() 52 REPORTER_ASSERT(r, pattern.match(&record, i) == i + 3); in DEF_TEST() 54 REPORTER_ASSERT(r, !pattern.match(&record, i)); in DEF_TEST() [all …]
|
/external/chromium_org/sync/internal_api/public/ |
D | change_record_unittest.cc | 49 const ChangeRecord& record, in CheckChangeRecordValue() argument 51 ExpectChangeRecordActionValue(record.action, value, "action"); in CheckChangeRecordValue() 52 ExpectDictStringValue(base::Int64ToString(record.id), value, "id"); in CheckChangeRecordValue() 53 if (record.action == ChangeRecord::ACTION_DELETE) { in CheckChangeRecordValue() 55 if (record.extra.get()) { in CheckChangeRecordValue() 56 expected_extra_value.reset(record.extra->ToValue()); in CheckChangeRecordValue() 59 EXPECT_EQ(record.extra.get() != NULL, in CheckChangeRecordValue() 64 EntitySpecificsToValue(record.specifics)); in CheckChangeRecordValue() 86 ChangeRecord record; in TEST_F() local 87 record.action = ChangeRecord::ACTION_ADD; in TEST_F() [all …]
|
/external/chromium_org/third_party/skia/tests/ |
D | RecordOptsTest.cpp | 20 SkRecord record; in DEF_TEST() local 21 SkRecorder recorder(&record, W, H); in DEF_TEST() 30 record.replace<SkRecords::NoOp>(2); // NoOps should be allowed. in DEF_TEST() 32 SkRecordNoopSaveRestores(&record); in DEF_TEST() 34 assert_type<SkRecords::NoOp>(r, record, 0); in DEF_TEST() 35 assert_type<SkRecords::DrawRect>(r, record, 1); in DEF_TEST() 36 assert_type<SkRecords::NoOp>(r, record, 2); in DEF_TEST() 37 assert_type<SkRecords::DrawRect>(r, record, 3); in DEF_TEST() 38 assert_type<SkRecords::NoOp>(r, record, 4); in DEF_TEST() 42 SkRecord record; in DEF_TEST() local [all …]
|
D | RecordPatternTest.cpp | 17 SkRecord record; in DEF_TEST() local 18 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 20 SkRecorder recorder(&record, 1920, 1200); in DEF_TEST() 24 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 27 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 30 REPORTER_ASSERT(r, pattern.match(&record, 0)); in DEF_TEST() 39 SkRecord record; in DEF_TEST() local 40 SkRecorder recorder(&record, 1920, 1200); in DEF_TEST() 52 REPORTER_ASSERT(r, pattern.match(&record, i) == i + 3); in DEF_TEST() 54 REPORTER_ASSERT(r, !pattern.match(&record, i)); in DEF_TEST() [all …]
|
D | RecordTest.cpp | 29 void apply(const SkRecord& record) { in apply() argument 30 for (unsigned i = 0; i < record.count(); i++) { in apply() 31 record.visit<void>(i, *this); in apply() 47 void apply(SkRecord* record) { in apply() 48 for (unsigned i = 0; i < record->count(); i++) { in apply() 49 record->mutate<void>(i, *this); in apply() 54 #define APPEND(record, type, ...) SkNEW_PLACEMENT_ARGS(record.append<type>(), type, (__VA_ARGS__)) argument 58 SkRecord record; in DEF_TEST() local 63 APPEND(record, SkRecords::DrawRect, paint, rect); in DEF_TEST() 67 summer.apply(record); in DEF_TEST() [all …]
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/attr/ |
D | README | 35 perf record kill (test-record-basic) 36 perf record -b kill (test-record-branch-any) 37 perf record -j any kill (test-record-branch-filter-any) 38 perf record -j any_call kill (test-record-branch-filter-any_call) 39 perf record -j any_ret kill (test-record-branch-filter-any_ret) 40 perf record -j hv kill (test-record-branch-filter-hv) 41 perf record -j ind_call kill (test-record-branch-filter-ind_call) 42 perf record -j k kill (test-record-branch-filter-k) 43 perf record -j u kill (test-record-branch-filter-u) 44 perf record -c 123 kill (test-record-count) [all …]
|
/external/chromium_org/tools/gn/ |
D | builder.cc | 71 BuilderRecord* record = in ItemDefined() local 73 if (!record) { in ItemDefined() 79 if (record->item()) { in ItemDefined() 83 err.AppendSubErr(Err(record->item()->defined_from(), in ItemDefined() 89 record->set_item(item.Pass()); in ItemDefined() 95 TargetDefined(record, &err); in ItemDefined() 98 ToolchainDefined(record, &err); in ItemDefined() 108 if (record->can_resolve()) { in ItemDefined() 109 if (!ResolveItem(record, &err)) { in ItemDefined() 117 const BuilderRecord* record = GetRecord(label); in GetItem() local [all …]
|
D | loader.cc | 126 ToolchainRecord* record = in Load() local 128 toolchain_records_[Label()] = record; in Load() 133 record->is_toolchain_loaded = true; in Load() 135 record->waiting_on_me.push_back(SourceFileAndOrigin(file, origin)); in Load() 136 ScheduleLoadBuildConfig(&record->settings, Scope::KeyValueMap()); in Load() 140 ToolchainRecord* record; in Load() local 142 record = toolchain_records_[default_toolchain_label_]; in Load() 144 record = toolchain_records_[toolchain_name]; in Load() 146 if (!record) { in Load() 150 record = new ToolchainRecord(build_settings_, toolchain_name, in Load() [all …]
|
/external/chromium_org/net/dns/ |
D | record_rdata_unittest.cc | 25 const uint8 record[] = { in TEST() local 40 DnsRecordParser parser(record, sizeof(record), 0); in TEST() 43 record, first_record_len); in TEST() 45 record + first_record_len, sizeof(record) - first_record_len); in TEST() 73 const uint8 record[] = { in TEST() local 77 DnsRecordParser parser(record, sizeof(record), 0); in TEST() 78 base::StringPiece record_strpiece = MakeStringPiece(record, sizeof(record)); in TEST() 94 const uint8 record[] = { in TEST() local 101 DnsRecordParser parser(record, sizeof(record), 0); in TEST() 102 base::StringPiece record_strpiece = MakeStringPiece(record, sizeof(record)); in TEST() [all …]
|
D | mdns_cache.cc | 64 MDnsCache::Key MDnsCache::Key::CreateFor(const RecordParsed* record) { in CreateFor() argument 65 return Key(record->type(), in CreateFor() 66 record->name(), in CreateFor() 67 GetOptionalFieldForRecord(record)); in CreateFor() 92 scoped_ptr<const RecordParsed> record) { in UpdateDnsRecord() argument 93 Key cache_key = Key::CreateFor(record.get()); in UpdateDnsRecord() 96 if (record->ttl() == 0 && mdns_cache_.find(cache_key) == mdns_cache_.end()) in UpdateDnsRecord() 99 base::Time new_expiration = GetEffectiveExpiration(record.get()); in UpdateDnsRecord() 111 if (record->ttl() != 0 && !record->IsEqual(other_record, true)) { in UpdateDnsRecord() 117 insert_result.first->second = record.release(); in UpdateDnsRecord() [all …]
|
D | record_parsed.cc | 27 DnsResourceRecord record; in CreateFrom() local 30 if (!parser->ReadRecord(&record)) in CreateFrom() 33 switch (record.type) { in CreateFrom() 35 rdata = ARecordRdata::Create(record.rdata, *parser); in CreateFrom() 38 rdata = AAAARecordRdata::Create(record.rdata, *parser); in CreateFrom() 41 rdata = CnameRecordRdata::Create(record.rdata, *parser); in CreateFrom() 44 rdata = PtrRecordRdata::Create(record.rdata, *parser); in CreateFrom() 47 rdata = SrvRecordRdata::Create(record.rdata, *parser); in CreateFrom() 50 rdata = TxtRecordRdata::Create(record.rdata, *parser); in CreateFrom() 53 rdata = NsecRecordRdata::Create(record.rdata, *parser); in CreateFrom() [all …]
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/ |
D | TimelinePresentationModel.js | 65 toPresentationRecord: function(record) argument 67 return record ? this._recordToPresentationRecord.get(record) || null : null; 89 addRecord: function(record) argument 91 if (this._uiUtils.isProgram(record)) { 92 var records = record.children(); 96 this._innerAddRecord(this._rootRecord, record); 104 _innerAddRecord: function(parentRecord, record) argument 110 coalescingBucket = record.thread() ? record.type() : "mainThread"; 111 var coalescedRecord = this._findCoalescedParent(record, parentRecord, coalescingBucket); 115 …var formattedRecord = new WebInspector.TimelinePresentationModel.ActualRecord(record, parentRecord… [all …]
|
D | TimelineUIUtilsImpl.js | 19 isBeginFrame: function(record) argument 21 return record.type() === WebInspector.TimelineModel.RecordType.BeginFrame; 27 isProgram: function(record) argument 29 return record.type() === WebInspector.TimelineModel.RecordType.Program; 44 isEventDivider: function(record) argument 46 return WebInspector.TimelineUIUtilsImpl.isEventDivider(record); 53 countersForRecord: function(record) argument 55 …return record.type() === WebInspector.TimelineModel.RecordType.UpdateCounters ? record.data() : nu… 62 highlightQuadForRecord: function(record) argument 65 switch(record.type()) { [all …]
|
D | TimelineJSProfile.js | 24 function processRecord(record) argument 26 if (record.type() !== WebInspector.TimelineModel.RecordType.FunctionCall && 27 record.type() !== WebInspector.TimelineModel.RecordType.EvaluateScript) 29 var recordStartTime = record.startTime(); 30 var recordEndTime = record.endTime(); 31 var originalChildren = record.children().splice(0); 49 record = new WebInspector.TimelineModel.RecordImpl(timelineModel, event, record); 63 record.setEndTime(Math.min(startTime + totalTime, recordEndTime)); 64 record._selfTime = record.endTime() - record.startTime(); 65 putOriginalChildrenUpToTime(record.endTime()); [all …]
|
/external/skia/src/core/ |
D | SkRecordOpts.cpp | 16 void SkRecordOptimize(SkRecord* record) { in SkRecordOptimize() argument 18 SkRecordNoopCulls(record); in SkRecordOptimize() 19 SkRecordNoopSaveRestores(record); in SkRecordOptimize() 23 SkRecordAnnotateCullingPairs(record); in SkRecordOptimize() 24 SkRecordReduceDrawPosTextStrength(record); // Helpful to run this before BoundDrawPosTextH. in SkRecordOptimize() 25 SkRecordBoundDrawPosTextH(record); in SkRecordOptimize() 37 static bool apply(Pass* pass, SkRecord* record) { in apply() argument 42 while (pattern.search(record, &begin, &end)) { in apply() 43 changed |= pass->onMatch(record, &pattern, begin, end); in apply() 51 bool onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) { in onMatch() [all …]
|
/external/bluetooth/bluedroid/main/ |
D | bte_conf.c | 103 tBTA_DI_RECORD record; in bte_load_did_conf() local 104 record.vendor = config_get_int(config, section_name, "vendorId", LMP_COMPID_BROADCOM); in bte_load_did_conf() 105 …record.vendor_id_source = config_get_int(config, section_name, "vendorIdSource", DI_VENDOR_ID_SOUR… in bte_load_did_conf() 106 record.product = config_get_int(config, section_name, "productId", 0); in bte_load_did_conf() 107 record.version = config_get_int(config, section_name, "version", 0); in bte_load_did_conf() 108 record.primary_record = config_get_bool(config, section_name, "primaryRecord", false); in bte_load_did_conf() 109 …strlcpy(record.client_executable_url, config_get_string(config, section_name, "clientExecutableURL… in bte_load_did_conf() 110 …strlcpy(record.service_description, config_get_string(config, section_name, "serviceDescription", … in bte_load_did_conf() 111 …strlcpy(record.documentation_url, config_get_string(config, section_name, "documentationURL", ""),… in bte_load_did_conf() 113 if (record.vendor_id_source != DI_VENDOR_ID_SOURCE_BTSIG && in bte_load_did_conf() [all …]
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkRecordOpts.cpp | 16 void SkRecordOptimize(SkRecord* record) { in SkRecordOptimize() argument 23 SkRecordNoopSaveLayerDrawRestores(record); in SkRecordOptimize() 35 static bool apply(Pass* pass, SkRecord* record) { in apply() argument 40 while (pattern.search(record, &begin, &end)) { in apply() 41 changed |= pass->onMatch(record, &pattern, begin, end); in apply() 53 bool onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) { in onMatch() 54 record->replace<NoOp>(begin); // Save in onMatch() 55 record->replace<NoOp>(end-1); // Restore in onMatch() 71 bool onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) { in onMatch() 74 record->replace<NoOp>(i); in onMatch() [all …]
|
/external/e2fsprogs/e2fsck/ |
D | revoke.c | 124 struct jbd_revoke_record_s *record; in insert_revoke_hash() local 129 record = kmem_cache_alloc(revoke_record_cache, GFP_NOFS); in insert_revoke_hash() 130 if (!record) in insert_revoke_hash() 133 record->sequence = seq; in insert_revoke_hash() 134 record->blocknr = blocknr; in insert_revoke_hash() 136 list_add(&record->hash, hash_list); in insert_revoke_hash() 158 struct jbd_revoke_record_s *record; in find_revoke_record() local 162 record = (struct jbd_revoke_record_s *) hash_list->next; in find_revoke_record() 163 while (&(record->hash) != hash_list) { in find_revoke_record() 164 if (record->blocknr == blocknr) in find_revoke_record() [all …]
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | GameObjectCollisionSystem.java | 87 CollisionVolumeRecord record = mRecordPool.allocate(); in registerForCollisions() local 88 if (record != null && object != null && boundingVolume != null in registerForCollisions() 90 record.object = object; in registerForCollisions() 91 record.boundingVolume = boundingVolume; in registerForCollisions() 92 record.attackVolumes = attackVolumes; in registerForCollisions() 93 record.vulnerabilityVolumes = vulnerabilityVolumes; in registerForCollisions() 94 record.reactionComponent = reactionComponent; in registerForCollisions() 95 mObjects.add(record); in registerForCollisions() 106 final CollisionVolumeRecord record = mObjects.get(x); in update() local 107 final Vector2 position = record.object.getPosition(); in update() [all …]
|
/external/chromium_org/content/browser/appcache/ |
D | appcache_database_unittest.cc | 271 AppCacheDatabase::CacheRecord record; in TEST() local 272 EXPECT_FALSE(db.FindCache(1, &record)); in TEST() 274 record.cache_id = 1; in TEST() 275 record.group_id = 1; in TEST() 276 record.online_wildcard = true; in TEST() 277 record.update_time = kZeroTime; in TEST() 278 record.cache_size = 100; in TEST() 279 EXPECT_TRUE(db.InsertCache(&record)); in TEST() 280 EXPECT_FALSE(db.InsertCache(&record)); in TEST() 282 record = kZeroRecord; in TEST() [all …]
|
D | appcache_database.cc | 308 bool AppCacheDatabase::FindGroup(int64 group_id, GroupRecord* record) { in FindGroup() argument 309 DCHECK(record); in FindGroup() 324 ReadGroupRecord(statement, record); in FindGroup() 325 DCHECK(record->group_id == group_id); in FindGroup() 330 const GURL& manifest_url, GroupRecord* record) { in FindGroupForManifestUrl() argument 331 DCHECK(record); in FindGroupForManifestUrl() 346 ReadGroupRecord(statement, record); in FindGroupForManifestUrl() 347 DCHECK(record->manifest_url == manifest_url); in FindGroupForManifestUrl() 374 bool AppCacheDatabase::FindGroupForCache(int64 cache_id, GroupRecord* record) { in FindGroupForCache() argument 375 DCHECK(record); in FindGroupForCache() [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/ |
D | trace-event-listener.rb | 23 def record( event_message, *interpolation_arguments ) method in ANTLR3.Debug.TraceEventListener 29 record "(%s): number=%s", __method__, alt_number 33 record "(%s): rule=%s", __method__, rule_name 37 record "(%s): rule=%s", __method__, rule_name 41 record "(%s): decision=%s", __method__, decision_number 45 record "(%s): decision=%s", __method__, decision_number 49 record '(%s): line=%s position=%s', __method__, line, position 53 record '(%s) unique_id=%s text=%p type=%s[%s]', __method__, @adaptor.unique_id( tree ), 58 record '(%s): k=%s unique_id=%s text=%p type=%s[%s]', __method__, i, @adaptor.unique_id( tree ), 63 record '(%s): unique_id=%s', __method__, @adaptor.unique_id( tree ) [all …]
|