Lines Matching refs:testData
472 char *testData = reinterpret_cast<char *>(data);
473 EXPECT_NE(testData, nullptr) << "testData is nullptr";
477 ret = strcmp(testData, "hello world from B");
479 ret = strcmp(testData, "hello world from A");
484 ret = strcmp(testData, "hello world from A");
486 ret = strcmp(testData, "hello world from B");
507 char *testData = reinterpret_cast<char *>(data);
508 EXPECT_NE(testData, nullptr) << "testData is nullptr";
511 ret = strcmp(testData, "hello world from A");
513 ret = strcmp(testData, "hello world from B");
515 ret = strcmp(testData, "hello world from C");
517 ret = strcmp(testData, "hello world from D");
579 char *testData = (char *)malloc(DATA_LENGTH);
580 if (testData == nullptr) {
583 memset_s(testData, DATA_LENGTH, 0, DATA_LENGTH);
585 strcpy_s(testData, DATA_LENGTH, "hello world from A");
587 strcpy_s(testData, DATA_LENGTH, "hello world from B");
589 strcpy_s(testData, DATA_LENGTH, "hello world from C");
591 strcpy_s(testData, DATA_LENGTH, "hello world from D");
594 napi_call_threadsafe_function_with_priority(tsfn, testData, priority, true);