/external/conscrypt/openjdk-integ-tests/src/test/resources/crypto/ |
D | parse_records.py | 38 def format_records(record): argument 42 if 'key' in record and 'iv' in record and 'plaintext' in record and 'ciphertext' in record: 44 return ["{key},{iv},{plaintext},{ciphertext}".format(**record)] 45 elif 'key' in record and 'nonce' in record and 'plaintext' in record and 'ciphertext' in record: 47 return ["{key},{nonce},{plaintext},{ciphertext}".format(**record)] 48 elif 'key' in record and 'plaintext' in record and 'ciphertext' in record: 50 return ["{key},,{plaintext},{ciphertext}".format(**record)] 51 elif 'keys' in record and 'iv' in record and 'plaintext' in record and 'ciphertext' in record: 53 return ["{keys}{keys}{keys},{iv},{plaintext},{ciphertext}".format(**record)] 54 elif 'keys' in record and 'plaintext' in record and 'ciphertext' in record: [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() 55 record->payload_length = len; in ndef_parse_record() 62 record->id_length = *pos++; in ndef_parse_record() 64 record->id_length = 0; in ndef_parse_record() 66 record->type = record->type_length == 0 ? NULL : pos; in ndef_parse_record() 67 pos += record->type_length; in ndef_parse_record() 69 record->id = record->id_length == 0 ? NULL : pos; in ndef_parse_record() 70 pos += record->id_length; in ndef_parse_record() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkAllocationCallbackUtil.cpp | 132 AllocationCallbackRecord record; in allocation() local 134 record.type = TYPE_ALLOCATION; in allocation() 135 record.data.allocation.size = size; in allocation() 136 record.data.allocation.alignment = alignment; in allocation() 137 record.data.allocation.scope = scope; in allocation() 138 record.data.allocation.returnedPtr = returnedPtr; in allocation() 140 return record; in allocation() 145 AllocationCallbackRecord record; in reallocation() local 147 record.type = TYPE_REALLOCATION; in reallocation() 148 record.data.reallocation.original = original; in reallocation() [all …]
|
/external/skia/tests/ |
D | RecordTest.cpp | 31 void apply(const SkRecord& record) { in apply() argument 32 for (int i = 0; i < record.count(); i++) { in apply() 33 record.visit(i, *this); in apply() 49 void apply(SkRecord* record) { in apply() 50 for (int i = 0; i < record->count(); i++) { in apply() 51 record->mutate(i, *this); in apply() 56 #define APPEND(record, type, ...) new (record.append<type>()) type{__VA_ARGS__} argument 60 SkRecord record; in DEF_TEST() local 65 APPEND(record, SkRecords::DrawRect, paint, rect); in DEF_TEST() 69 summer.apply(record); in DEF_TEST() [all …]
|
D | RecordPatternTest.cpp | 24 SkRecord record; in DEF_TEST() local 25 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 27 SkRecorder recorder(&record, 1920, 1200); in DEF_TEST() 31 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 34 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 37 REPORTER_ASSERT(r, pattern.match(&record, 0)); in DEF_TEST() 46 SkRecord record; in DEF_TEST() local 47 SkRecorder recorder(&record, 1920, 1200); in DEF_TEST() 59 REPORTER_ASSERT(r, pattern.match(&record, i) == i + 3); in DEF_TEST() 61 REPORTER_ASSERT(r, !pattern.match(&record, i)); in DEF_TEST() [all …]
|
D | RecordOptsTest.cpp | 24 SkRecord record; in DEF_TEST() local 25 SkRecorder recorder(&record, W, H); in DEF_TEST() 31 record.replace<SkRecords::NoOp>(1); // NoOps should be allowed. in DEF_TEST() 33 SkRecordNoopSaveRestores(&record); in DEF_TEST() 35 REPORTER_ASSERT(r, 2 == count_instances_of_type<SkRecords::DrawRect>(record)); in DEF_TEST() 39 SkRecord record; in DEF_TEST() local 40 SkRecorder recorder(&record, W, H); in DEF_TEST() 46 SkRecordNoopSaveRestores(&record); in DEF_TEST() 48 assert_type<SkRecords::NoOp>(r, record, i); in DEF_TEST() 53 SkRecord record; in DEF_TEST() local [all …]
|
D | RecordDrawTest.cpp | 34 SkRecord record; in DEF_TEST() local 35 SkRecorder recorder(&record, W, H); in DEF_TEST() 37 REPORTER_ASSERT(r, 0 == record.count()); in DEF_TEST() 39 REPORTER_ASSERT(r, 0 == record.count()); // the save was not recorded (yet) in DEF_TEST() 41 REPORTER_ASSERT(r, 1 == record.count()); in DEF_TEST() 43 REPORTER_ASSERT(r, 3 == record.count()); // now we see the save in DEF_TEST() 45 REPORTER_ASSERT(r, 4 == record.count()); in DEF_TEST() 47 assert_type<SkRecords::DrawPaint>(r, record, 0); in DEF_TEST() 48 assert_type<SkRecords::Save> (r, record, 1); in DEF_TEST() 49 assert_type<SkRecords::Concat> (r, record, 2); in DEF_TEST() [all …]
|
/external/skqp/tests/ |
D | RecordTest.cpp | 31 void apply(const SkRecord& record) { in apply() argument 32 for (int i = 0; i < record.count(); i++) { in apply() 33 record.visit(i, *this); in apply() 49 void apply(SkRecord* record) { in apply() 50 for (int i = 0; i < record->count(); i++) { in apply() 51 record->mutate(i, *this); in apply() 56 #define APPEND(record, type, ...) new (record.append<type>()) type{__VA_ARGS__} argument 60 SkRecord record; in DEF_TEST() local 65 APPEND(record, SkRecords::DrawRect, paint, rect); in DEF_TEST() 69 summer.apply(record); in DEF_TEST() [all …]
|
D | RecordPatternTest.cpp | 24 SkRecord record; in DEF_TEST() local 25 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 27 SkRecorder recorder(&record, 1920, 1200); in DEF_TEST() 31 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 34 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 37 REPORTER_ASSERT(r, pattern.match(&record, 0)); in DEF_TEST() 46 SkRecord record; in DEF_TEST() local 47 SkRecorder recorder(&record, 1920, 1200); in DEF_TEST() 59 REPORTER_ASSERT(r, pattern.match(&record, i) == i + 3); in DEF_TEST() 61 REPORTER_ASSERT(r, !pattern.match(&record, i)); in DEF_TEST() [all …]
|
D | RecordOptsTest.cpp | 24 SkRecord record; in DEF_TEST() local 25 SkRecorder recorder(&record, W, H); in DEF_TEST() 31 record.replace<SkRecords::NoOp>(1); // NoOps should be allowed. in DEF_TEST() 33 SkRecordNoopSaveRestores(&record); in DEF_TEST() 35 REPORTER_ASSERT(r, 2 == count_instances_of_type<SkRecords::DrawRect>(record)); in DEF_TEST() 39 SkRecord record; in DEF_TEST() local 40 SkRecorder recorder(&record, W, H); in DEF_TEST() 46 SkRecordNoopSaveRestores(&record); in DEF_TEST() 48 assert_type<SkRecords::NoOp>(r, record, i); in DEF_TEST() 53 SkRecord record; in DEF_TEST() local [all …]
|
D | RecordDrawTest.cpp | 34 SkRecord record; in DEF_TEST() local 35 SkRecorder recorder(&record, W, H); in DEF_TEST() 37 REPORTER_ASSERT(r, 0 == record.count()); in DEF_TEST() 39 REPORTER_ASSERT(r, 0 == record.count()); // the save was not recorded (yet) in DEF_TEST() 41 REPORTER_ASSERT(r, 1 == record.count()); in DEF_TEST() 43 REPORTER_ASSERT(r, 3 == record.count()); // now we see the save in DEF_TEST() 45 REPORTER_ASSERT(r, 4 == record.count()); in DEF_TEST() 47 assert_type<SkRecords::DrawPaint>(r, record, 0); in DEF_TEST() 48 assert_type<SkRecords::Save> (r, record, 1); in DEF_TEST() 49 assert_type<SkRecords::Concat> (r, record, 2); in DEF_TEST() [all …]
|
/external/skqp/src/core/ |
D | SkRecordOpts.cpp | 26 static bool apply(Pass* pass, SkRecord* record) { in apply() argument 31 while (match.search(record, &begin, &end)) { in apply() 32 changed |= pass->onMatch(record, &match, begin, end); in apply() 39 static void multiple_set_matrices(SkRecord* record) { in multiple_set_matrices() argument 46 bool onMatch(SkRecord* record, Match* pattern, int begin, int end) { in multiple_set_matrices() 47 record->replace<NoOp>(begin); // first SetMatrix in multiple_set_matrices() 51 while (apply(&pass, record)); in multiple_set_matrices() 57 static void apply_matrix_to_draw_params(SkRecord* record) { 64 bool onMatch(SkRecord* record, Pattern* pattern, int begin, int end) { 65 record->replace<NoOp>(begin); // first SetMatrix [all …]
|
/external/skia/src/core/ |
D | SkRecordOpts.cpp | 26 static bool apply(Pass* pass, SkRecord* record) { in apply() argument 31 while (match.search(record, &begin, &end)) { in apply() 32 changed |= pass->onMatch(record, &match, begin, end); in apply() 39 static void multiple_set_matrices(SkRecord* record) { in multiple_set_matrices() argument 46 bool onMatch(SkRecord* record, Match* pattern, int begin, int end) { in multiple_set_matrices() 47 record->replace<NoOp>(begin); // first SetMatrix in multiple_set_matrices() 51 while (apply(&pass, record)); in multiple_set_matrices() 57 static void apply_matrix_to_draw_params(SkRecord* record) { 64 bool onMatch(SkRecord* record, Pattern* pattern, int begin, int end) { 65 record->replace<NoOp>(begin); // first SetMatrix [all …]
|
/external/mesa3d/src/gallium/drivers/ddebug/ |
D | dd_draw.c | 858 dd_free_record(struct pipe_screen *screen, struct dd_draw_record *record) in dd_free_record() argument 860 u_log_page_destroy(record->log_page); in dd_free_record() 861 dd_unreference_copy_of_call(&record->call); in dd_free_record() 862 dd_unreference_copy_of_draw_state(&record->draw_state); in dd_free_record() 863 screen->fence_reference(screen, &record->prev_bottom_of_pipe, NULL); in dd_free_record() 864 screen->fence_reference(screen, &record->top_of_pipe, NULL); in dd_free_record() 865 screen->fence_reference(screen, &record->bottom_of_pipe, NULL); in dd_free_record() 866 util_queue_fence_destroy(&record->driver_finished); in dd_free_record() 867 FREE(record); in dd_free_record() 871 dd_write_record(FILE *f, struct dd_draw_record *record) in dd_write_record() argument [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/ |
D | DataRecord.java | 62 DataRecord record = new DataRecord(); in read() local 63 record.pl = in.namedIndex("pl", EPluralization.names); in read() 64 record.pluralNames = in.stringTable("pluralName"); in read() 65 record.genders = in.namedIndexArray("gender", EGender.names); in read() 66 record.singularNames = in.stringArray("singularName"); in read() 67 record.halfNames = in.stringArray("halfName"); in read() 68 record.numberNames = in.stringArray("numberName"); in read() 69 record.mediumNames = in.stringArray("mediumName"); in read() 70 record.shortNames = in.stringArray("shortName"); in read() 71 record.measures = in.stringArray("measure"); in read() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
D | DataRecord.java | 60 DataRecord record = new DataRecord(); in read() local 61 record.pl = in.namedIndex("pl", EPluralization.names); in read() 62 record.pluralNames = in.stringTable("pluralName"); in read() 63 record.genders = in.namedIndexArray("gender", EGender.names); in read() 64 record.singularNames = in.stringArray("singularName"); in read() 65 record.halfNames = in.stringArray("halfName"); in read() 66 record.numberNames = in.stringArray("numberName"); in read() 67 record.mediumNames = in.stringArray("mediumName"); in read() 68 record.shortNames = in.stringArray("shortName"); in read() 69 record.measures = in.stringArray("measure"); in read() [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/e2fsprogs/e2fsck/ |
D | revoke.c | 145 struct jbd2_revoke_record_s *record; in insert_revoke_hash() local 148 record = kmem_cache_alloc(jbd2_revoke_record_cache, GFP_NOFS); in insert_revoke_hash() 149 if (!record) in insert_revoke_hash() 152 record->sequence = seq; in insert_revoke_hash() 153 record->blocknr = blocknr; in insert_revoke_hash() 156 list_add(&record->hash, hash_list); in insert_revoke_hash() 174 struct jbd2_revoke_record_s *record; in find_revoke_record() local 179 record = (struct jbd2_revoke_record_s *) hash_list->next; in find_revoke_record() 180 while (&(record->hash) != hash_list) { in find_revoke_record() 181 if (record->blocknr == blocknr) { in find_revoke_record() [all …]
|
/external/e2fsprogs/debugfs/ |
D | revoke.c | 145 struct jbd2_revoke_record_s *record; in insert_revoke_hash() local 148 record = kmem_cache_alloc(jbd2_revoke_record_cache, GFP_NOFS); in insert_revoke_hash() 149 if (!record) in insert_revoke_hash() 152 record->sequence = seq; in insert_revoke_hash() 153 record->blocknr = blocknr; in insert_revoke_hash() 156 list_add(&record->hash, hash_list); in insert_revoke_hash() 174 struct jbd2_revoke_record_s *record; in find_revoke_record() local 179 record = (struct jbd2_revoke_record_s *) hash_list->next; in find_revoke_record() 180 while (&(record->hash) != hash_list) { in find_revoke_record() 181 if (record->blocknr == blocknr) { in find_revoke_record() [all …]
|
/external/toolchain-utils/automation/common/ |
D | logger.py | 85 def formatTime(self, record): argument 86 ct = self.converter(record.created) 88 return '%s.%02d' % (t, record.msecs / 10) 90 def formatLevelName(self, record): argument 91 if record.levelname in ['WARNING', 'CRITICAL']: 92 levelname = record.levelname[:4] 94 levelname = record.levelname 99 def formatMessagePrefix(self, record): argument 101 return ' %s%s:%s ' % (self._coder('black', 'bold'), record.prefix, 106 def format(self, record): argument [all …]
|
/external/slf4j/jul-to-slf4j/src/main/java/org/slf4j/bridge/ |
D | SLF4JBridgeHandler.java | 197 protected Logger getSLF4JLogger(LogRecord record) { in getSLF4JLogger() argument 198 String name = record.getLoggerName(); in getSLF4JLogger() 205 protected void callLocationAwareLogger(LocationAwareLogger lal, LogRecord record) { in callLocationAwareLogger() argument 206 int julLevelValue = record.getLevel().intValue(); in callLocationAwareLogger() 220 String i18nMessage = getMessageI18N(record); in callLocationAwareLogger() 221 lal.log(null, FQCN, slf4jLevel, i18nMessage, null, record.getThrown()); in callLocationAwareLogger() 224 protected void callPlainSLF4JLogger(Logger slf4jLogger, LogRecord record) { in callPlainSLF4JLogger() argument 225 String i18nMessage = getMessageI18N(record); in callPlainSLF4JLogger() 226 int julLevelValue = record.getLevel().intValue(); in callPlainSLF4JLogger() 228 slf4jLogger.trace(i18nMessage, record.getThrown()); in callPlainSLF4JLogger() [all …]
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | CensusModulesTest.java | 280 StatsTestUtils.MetricsRecord record = statsRecorder.pollRecord(); in testClientInterceptors() local 281 assertNotNull(record); in testClientInterceptors() 282 TagValue methodTag = record.tags.get(RpcMeasureConstants.RPC_METHOD); in testClientInterceptors() 285 TagValue extraTag = record.tags.get(StatsTestUtils.EXTRA_TAG); in testClientInterceptors() 287 assertEquals(2, record.tags.size()); in testClientInterceptors() 289 assertNull(record.tags.get(StatsTestUtils.EXTRA_TAG)); in testClientInterceptors() 290 assertEquals(1, record.tags.size()); in testClientInterceptors() 314 record = statsRecorder.pollRecord(); in testClientInterceptors() 315 assertNotNull(record); in testClientInterceptors() 316 methodTag = record.tags.get(RpcMeasureConstants.RPC_METHOD); in testClientInterceptors() [all …]
|
/external/swiftshader/third_party/subzero/tests_lit/parse_errs/ |
D | insertextract-err.ll | 16 ; MIN: Error{{.*}} Invalid function record: <6 4 3> 19 ; MIN: Error{{.*}} Invalid function record: <6 5 3> 22 ; MIN: Error{{.*}} Invalid function record: <6 6 3> 29 ; MIN: Error{{.*}} Invalid function record: <6 4 3> 32 ; MIN: Error{{.*}} Invalid function record: <6 5 3> 35 ; MIN: Error{{.*}} Invalid function record: <6 6 3> 42 ; MIN: Error{{.*}} Invalid function record: <6 4 3> 45 ; MIN: Error{{.*}} Invalid function record: <6 5 3> 48 ; MIN: Error{{.*}} Invalid function record: <6 6 3> 55 ; MIN: Error{{.*}} Invalid function record: <6 4 3> [all …]
|
/external/antlr/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 …]
|
/external/v8/tools/clang/plugins/ |
D | FindBadConstructsConsumer.cpp | 31 bool InTestingNamespace(const Decl* record) { in InTestingNamespace() argument 32 return GetNamespace(record).find("testing") != std::string::npos; in InTestingNamespace() 72 bool IsPodOrTemplateType(const CXXRecordDecl& record) { in IsPodOrTemplateType() argument 73 return record.isPOD() || in IsPodOrTemplateType() 74 record.getDescribedClassTemplate() || in IsPodOrTemplateType() 75 record.getTemplateSpecializationKind() || in IsPodOrTemplateType() 76 record.isDependentType(); in IsPodOrTemplateType() 262 CXXRecordDecl* record) { in CheckChromeClass() argument 272 if (!IsPodOrTemplateType(*record)) in CheckChromeClass() 273 CheckCtorDtorWeight(record_location, record); in CheckChromeClass() [all …]
|