Searched refs:testDataA (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/foundation/arkui/napi/test/unittest/ |
H A D | test_napi_threadsafe.cpp | 620 char *testDataA = (char *)malloc(DATA_LENGTH); in CallThreadSafeWithSamePriorityTest() local 621 memset_s(testDataA, DATA_LENGTH, 0, DATA_LENGTH); in CallThreadSafeWithSamePriorityTest() 622 strcpy_s(testDataA, DATA_LENGTH, "hello world from A"); in CallThreadSafeWithSamePriorityTest() 630 …napi_call_threadsafe_function_with_priority(callbackData->tsfn, testDataA, napi_priority_immediate, in CallThreadSafeWithSamePriorityTest() 634 status = napi_call_threadsafe_function_with_priority(callbackData->tsfn, testDataA, in CallThreadSafeWithSamePriorityTest()
|