/third_party/skia/tests/ |
D | MessageBusTest.cpp | 41 SkTArray<TestMessage> messages; in DECLARE_SKMESSAGEBUS_MESSAGE() local 42 inbox1.poll(&messages); in DECLARE_SKMESSAGEBUS_MESSAGE() 43 REPORTER_ASSERT(r, 2 == messages.count()); in DECLARE_SKMESSAGEBUS_MESSAGE() 44 REPORTER_ASSERT(r, 5 == messages[0].x); in DECLARE_SKMESSAGEBUS_MESSAGE() 45 REPORTER_ASSERT(r, 6 == messages[1].x); in DECLARE_SKMESSAGEBUS_MESSAGE() 50 inbox1.poll(&messages); in DECLARE_SKMESSAGEBUS_MESSAGE() 51 REPORTER_ASSERT(r, 1 == messages.count()); in DECLARE_SKMESSAGEBUS_MESSAGE() 52 REPORTER_ASSERT(r, 1 == messages[0].x); in DECLARE_SKMESSAGEBUS_MESSAGE() 55 inbox1.poll(&messages); in DECLARE_SKMESSAGEBUS_MESSAGE() 56 REPORTER_ASSERT(r, 0 == messages.count()); in DECLARE_SKMESSAGEBUS_MESSAGE() [all …]
|
/third_party/flutter/skia/tests/ |
D | MessageBusTest.cpp | 38 SkTArray<TestMessage> messages; in DEF_TEST() local 39 inbox1.poll(&messages); in DEF_TEST() 40 REPORTER_ASSERT(r, 2 == messages.count()); in DEF_TEST() 41 REPORTER_ASSERT(r, 5 == messages[0].x); in DEF_TEST() 42 REPORTER_ASSERT(r, 6 == messages[1].x); in DEF_TEST() 47 inbox1.poll(&messages); in DEF_TEST() 48 REPORTER_ASSERT(r, 1 == messages.count()); in DEF_TEST() 49 REPORTER_ASSERT(r, 1 == messages[0].x); in DEF_TEST() 52 inbox1.poll(&messages); in DEF_TEST() 53 REPORTER_ASSERT(r, 0 == messages.count()); in DEF_TEST() [all …]
|
/third_party/vk-gl-cts/scripts/verify/ |
D | verify.py | 55 messages = [] 63 …messages.append(error(filename, "Wrong number of test results, expected %d, found %d" % (len(mustp… 71 messages.append(error(filename, "Multiple results for " + result.name)) 85 messages.append(error(filename, result.name + ": " + result.statusCode)) 87 messages.append(error(filename, "Missing result for " + caseName)) 90 messages.append(error(filename, "Results are not in the expected order")) 92 return messages 98 messages = [] 111 messages.append(error(statementPath, "Multiple CONFORM_VERSIONs")) 120 messages.append(error(statementPath, "Multiple PRODUCTs")) [all …]
|
/third_party/ltp/testcases/kernel/syscalls/syslog/ |
D | syslog07 | 75 if [ -e /var/log/messages ]; then 76 emerg_old=`grep -c "syslogtst: emergency log" /var/log/messages` 77 alert_old=`grep -c "syslogtst: alert log" /var/log/messages` 78 crit_old=`grep -c "syslogtst: critical log" /var/log/messages` 79 err_old=`grep -c "syslogtst: error log" /var/log/messages` 80 warning_old=`grep -c "syslogtst: warning log" /var/log/messages` 81 notice_old=`grep -c "syslogtst: notice log" /var/log/messages` 82 info_old=`grep -c "syslogtst: info log" /var/log/messages` 83 debug_old=`grep -c "syslogtst: debug log" /var/log/messages` 102 emerg_new=`grep -c "syslogtst: emergency log" /var/log/messages` [all …]
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | RepeatedFieldBuilder.java | 72 private List<MType> messages; field in RepeatedFieldBuilder 127 List<MType> messages, in RepeatedFieldBuilder() argument 131 this.messages = messages; in RepeatedFieldBuilder() 148 messages = new ArrayList<MType>(messages); in ensureMutableMessageList() 159 this.builders = new ArrayList<SingleFieldBuilder<MType, BType, IType>>(messages.size()); in ensureBuilders() 160 for (int i = 0; i < messages.size(); i++) { in ensureBuilders() 172 return messages.size(); in getCount() 181 return messages.isEmpty(); in isEmpty() 211 return messages.get(index); in getMessage() 219 return messages.get(index); in getMessage() [all …]
|
D | RepeatedFieldBuilderV3.java | 72 private List<MType> messages; field in RepeatedFieldBuilderV3 127 List<MType> messages, in RepeatedFieldBuilderV3() argument 131 this.messages = messages; in RepeatedFieldBuilderV3() 148 messages = new ArrayList<MType>(messages); in ensureMutableMessageList() 159 this.builders = new ArrayList<SingleFieldBuilderV3<MType, BType, IType>>(messages.size()); in ensureBuilders() 160 for (int i = 0; i < messages.size(); i++) { in ensureBuilders() 172 return messages.size(); in getCount() 181 return messages.isEmpty(); in isEmpty() 211 return messages.get(index); in getMessage() 219 return messages.get(index); in getMessage() [all …]
|
/third_party/typescript_eslint/packages/parser/tests/lib/ |
D | tsx.ts | 18 const messages = linter.verify(code, config); constant 20 expect(messages).toStrictEqual([ 42 const messages = linter.verify(code, config); constant 44 expect(messages).toStrictEqual([]); 52 const messages = linter.verify(code, config, { filename: 'test.ts' }); constant 54 expect(messages).toStrictEqual([ 76 const messages = linter.verify(code, config, { filename: 'test.ts' }); constant 78 expect(messages).toStrictEqual([ 95 const messages = linter.verify(code, config, { filename: 'test.tsx' }); constant 97 expect(messages).toStrictEqual([]); [all …]
|
/third_party/protobuf/objectivec/Tests/ |
D | GPBConcurrencyTests.m | 81 - (void)readForeignMessage:(NSArray *)messages { 83 for (TestAllTypes *message in messages) { 90 NSArray *messages = [self createMessagesWithType:[TestAllTypes class]]; 93 object:messages]; 96 for (TestAllTypes *message in messages) { 101 - (void)readRepeatedInt32:(NSArray *)messages { 103 for (TestAllTypes *message in messages) { 110 NSArray *messages = [self createMessagesWithType:[TestAllTypes class]]; 113 object:messages]; 116 for (TestAllTypes *message in messages) { [all …]
|
/third_party/flutter/flutter/packages/flutter_tools/lib/src/android/ |
D | android_studio_validator.dart | 31 final List<ValidationMessage> messages = <ValidationMessage>[]; 37 messages 41 plugins.validatePackage(messages, <String>['flutter-intellij', 'flutter-intellij.jar'], 43 plugins.validatePackage(messages, <String>['Dart'], 'Dart'); 46 type = _hasIssues(messages) ? ValidationType.partial : ValidationType.installed; 47 messages.addAll(_studio.validationMessages 51 messages.addAll(_studio.validationMessages 53 messages.add(ValidationMessage(userMessages.androidStudioNeedsUpdate)); 55 messages.add(ValidationMessage(userMessages.androidStudioResetDir)); 59 return ValidationResult(type, messages, statusInfo: studioVersionText); [all …]
|
D | android_workflow.dart | 62 Future<bool> _checkJavaVersion(String javaBinary, List<ValidationMessage> messages) async { 66 messages.add(ValidationMessage.error(userMessages.androidCantRunJavaBinary(javaBinary))); 82 messages.add(ValidationMessage.error(userMessages.androidUnknownJavaVersion)); 85 messages.add(ValidationMessage(userMessages.androidJavaVersion(javaVersion))); 95 final List<ValidationMessage> messages = <ValidationMessage>[]; 101 …messages.add(ValidationMessage.error(userMessages.androidBadSdkDir(kAndroidHome, androidHomeDir))); 103 … messages.add(ValidationMessage.error(userMessages.androidMissingSdkInstructions(kAndroidHome))); 105 return ValidationResult(ValidationType.missing, messages); 109 messages.add(ValidationMessage.hint(userMessages.androidSdkLicenseOnly(kAndroidHome))); 110 return ValidationResult(ValidationType.partial, messages); [all …]
|
/third_party/gettext/gettext-tools/tests/ |
D | xgettext-its-1 | 46 cat <<\EOF > its/messages.loc 58 cat <<\EOF > its/messages.its 110 cat <<\EOF >messages.xml 112 <!DOCTYPE messages PUBLIC "" "" [ 115 <messages xmlns="http://www.gnu.org/s/gettext/ns/messages/1.0" 298 …XGETTEXT} --itstool --no-wrap --omit-header -o messages.pot messages.xml 2>messages.err || { cat m… 299 ${DIFF} messages.ok messages.pot 308 cp messages.xml data/messages.msg.in 314 …--no-wrap --omit-header --directory=.. -o messages.pot.in data/messages.msg.in 2>messages.err || {… 316 < messages.pot.in > messages.pot [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
D | diagnostic_test.cpp | 87 std::ostringstream messages; in TEST() local 89 auto consumer = [&messages, &message_count](spv_message_level_t, const char*, in TEST() 93 messages << msg; in TEST() 104 EXPECT_THAT(messages.str(), Eq("FirstSecond")); in TEST() 108 std::ostringstream messages; in TEST() local 110 auto consumer = [&messages, &message_count](spv_message_level_t, const char*, in TEST() 114 messages << msg; in TEST() 124 EXPECT_THAT(messages.str(), Eq("FirstSecond")); in TEST() 128 std::ostringstream messages; in TEST() local 130 auto consumer = [&messages, &message_count](spv_message_level_t, const char*, in TEST() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/test/ |
D | diagnostic_test.cpp | 87 std::ostringstream messages; in TEST() local 89 auto consumer = [&messages, &message_count](spv_message_level_t, const char*, in TEST() 93 messages << msg; in TEST() 104 EXPECT_THAT(messages.str(), Eq("FirstSecond")); in TEST() 108 std::ostringstream messages; in TEST() local 110 auto consumer = [&messages, &message_count](spv_message_level_t, const char*, in TEST() 114 messages << msg; in TEST() 124 EXPECT_THAT(messages.str(), Eq("FirstSecond")); in TEST() 128 std::ostringstream messages; in TEST() local 130 auto consumer = [&messages, &message_count](spv_message_level_t, const char*, in TEST() [all …]
|
/third_party/spirv-tools/test/ |
D | diagnostic_test.cpp | 87 std::ostringstream messages; in TEST() local 89 auto consumer = [&messages, &message_count](spv_message_level_t, const char*, in TEST() 93 messages << msg; in TEST() 104 EXPECT_THAT(messages.str(), Eq("FirstSecond")); in TEST() 108 std::ostringstream messages; in TEST() local 110 auto consumer = [&messages, &message_count](spv_message_level_t, const char*, in TEST() 114 messages << msg; in TEST() 124 EXPECT_THAT(messages.str(), Eq("FirstSecond")); in TEST() 128 std::ostringstream messages; in TEST() local 130 auto consumer = [&messages, &message_count](spv_message_level_t, const char*, in TEST() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | DebugTest.cpp | 60 std::vector<Message> *messages = in Callback() local 62 messages->push_back(m); in Callback() 85 std::vector<Message> messages; in TEST_P() local 86 glDebugMessageCallbackKHR(Callback, &messages); in TEST_P() 89 ASSERT_EQ(0u, messages.size()); in TEST_P() 199 std::vector<Message> messages; in TEST_P() local 201 glDebugMessageCallbackKHR(Callback, &messages); in TEST_P() 216 ASSERT_EQ(1u, messages.size()); in TEST_P() 218 const Message &m = messages.front(); in TEST_P() 233 std::vector<Message> messages; in TEST_P() local [all …]
|
/third_party/wayland_standard/tests/ |
D | message-test.c | 39 } messages[] = { in TEST() local 49 for (i = 0; i < ARRAY_LENGTH(messages); ++i) { in TEST() 50 assert(wl_message_get_since(messages[i].message) == in TEST() 51 messages[i].expected_version); in TEST() 73 } messages[] = { in TEST() local 88 for (i = 0; i < ARRAY_LENGTH(messages); ++i) { in TEST() 89 assert(wl_message_count_arrays(messages[i].message) == in TEST() 90 messages[i].expected_array_count); in TEST()
|
/third_party/typescript/tests/baselines/reference/ |
D | typeFromPropertyAssignment6.types | 7 >Outer.Inner = class I { messages() { return [] }} : typeof I 11 >class I { messages() { return [] }} : typeof I 14 messages() { return [] } 15 >messages : () => any[] 25 var msgs = Outer.i.messages() 27 >Outer.i.messages() : any[] 28 >Outer.i.messages : () => any[] 32 >messages : () => any[]
|
D | typeFromPropertyAssignment6.symbols | 12 messages() { return [] } 13 >messages : Symbol(I.messages, Decl(a.js, 0, 23)) 22 var msgs = Outer.i.messages() 24 >Outer.i.messages : Symbol(I.messages, Decl(a.js, 0, 23)) 28 >messages : Symbol(I.messages, Decl(a.js, 0, 23))
|
/third_party/node/test/parallel/ |
D | test-child-process-ipc.js | 42 const messages = [ variable 49 const test = messages.shift(); 52 if (messages.length) { 53 debug(`writing '${messages[0]}'`); 54 child.stdin.write(messages[0]); 56 assert.strictEqual(messages.length, 0); 59 }, messages.length));
|
D | test-http2-error-order.js | 10 const messages = []; variable 21 messages.push('Stream:created'); 23 .on('close', () => messages.push('Stream:close')) 24 .on('error', (err) => messages.push('Stream:error')) 36 messages.push('Request:error'); 41 assert.deepStrictEqual(messages, expected);
|
/third_party/flutter/flutter/packages/flutter_tools/lib/src/macos/ |
D | xcode_validator.dart | 17 final List<ValidationMessage> messages = <ValidationMessage>[]; 24 messages.add(ValidationMessage(userMessages.xcodeLocation(xcode.xcodeSelectPath))); 29 messages.add(ValidationMessage(xcode.versionText)); 33 messages.add(ValidationMessage.error( 40 messages.add(ValidationMessage.error(userMessages.xcodeEula)); 44 messages.add(ValidationMessage.error(userMessages.xcodeMissingSimct)); 50 messages.add(ValidationMessage.error(userMessages.xcodeMissing)); 52 messages.add(ValidationMessage.error(userMessages.xcodeIncomplete)); 56 return ValidationResult(xcodeStatus, messages, statusInfo: xcodeVersionInfo);
|
/third_party/jsframework/runtime/main/extend/i18n/ |
D | I18n.ts | 43 public messages: any; property in I18n 47 this.messages = options.messages; 61 if (!this._hasMessage(this.messages)) { 64 let value = this._getMessage(this.messages, path); 91 if (!this._hasMessage(this.messages)) { 94 let value = this._getMessage(this.messages, path); 136 private _getMessage(messages: any[], path: string): any { 137 for (const i in messages) { 138 const value = getValue(path, messages[i]);
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_async_debug.c | 52 new_max > SIZE_MAX / sizeof(*adbg->messages)) { in u_async_debug_message() 58 realloc(adbg->messages, new_max * sizeof(*adbg->messages)); in u_async_debug_message() 65 adbg->messages = new_msg; in u_async_debug_message() 68 msg = &adbg->messages[adbg->count++]; in u_async_debug_message() 94 free(adbg->messages[i].msg); in u_async_debug_cleanup() 95 free(adbg->messages); in u_async_debug_cleanup() 104 const struct util_debug_message *msg = &adbg->messages[i]; in _u_async_debug_drain()
|
/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gsttracerrecord.c | 29 static GList *messages; /* NULL */ variable 47 messages = g_list_append (messages, g_strdup (dbg_msg)); in tracer_log_func() 56 messages = NULL; in setup() 67 g_list_free_full (messages, (GDestroyNotify) g_free); in cleanup() 68 messages = NULL; in cleanup() 89 fail_unless_equals_int (g_list_length (messages), 1); in GST_START_TEST() 90 str = (gchar *) messages->data; in GST_START_TEST() 130 str = (gchar *) messages->data; in GST_START_TEST()
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | webServer.ts | 32 const messages: any[] = []; constant 36 writeMessage: s => messages.push(s), 41 … return { getMessages: () => messages, clearMessages: () => messages.length = 0, session }; 132 const messages = getMessages(); constant 133 …assert.equal(messages.length, logLevel === server.LogLevel.verbose ? 4 : 1, `Expected ${JSON.strin… 135 verifyLogMessages(messages[0], "info"); 136 verifyLogMessages(messages[1], "perf"); 137 verifyLogMessages(messages[2], "info");
|