Searched refs:num1 (Results 1 - 6 of 6) sorted by relevance
/test/xts/acts/pcs/pcs_ndk/entry/src/main/cpp/ |
H A D | softwareNdk.cpp | 23 napi_value num1 = nullptr;
in InitArray() local 24 napi_create_int32(env, array[0], &num1);
in InitArray() 30 napi_set_element(env, result, 0, num1);
in InitArray() 39 napi_value num1 = nullptr;
in GetBool() local 40 napi_create_int32(env, res1 ? 0 : 1, &num1);
in GetBool() 46 napi_set_element(env, result, 0, num1);
in GetBool()
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | utils.py | 794 def calculate_percent(num1, num2): 797 num1: number, 被除数 802 if not isinstance(num1, (int, float)) or not isinstance(num2, (int, float)): 803 LOG.error("num1 or num2 is not a numeric type") 805 if num1 > num2: 806 LOG.error("the dividend(num1) is greater than the divisor(num2)") 808 if num1 == 0 or num2 == 0: 811 ret = str(num1 / num2 * 100)
|
/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/ |
H A D | image_packer_test.cpp | 182 int32_t num1 = 0;
in setDelayTimes() local 190 if (napi_get_value_int32(env, item1, &num1) != napi_ok) {
in setDelayTimes() 195 delayTimesArray[i] = num1;
in setDelayTimes()
|
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 5175 uint32_t num1 = 2; in EnumeratorIndexedPropertyCbInfo2() local 5176 OH_JSVM_CreateUint32(env, num1, &index1); in EnumeratorIndexedPropertyCbInfo2() 8410 int32_t num1; in Thread1Func() local 8411 OH_JSVM_GetValueInt32(env, value, &num1); in Thread1Func() 8438 int32_t num1; in Thread2Func() local 8439 OH_JSVM_GetValueInt32(env, value, &num1); in Thread2Func()
|
/test/xts/acts/arkui/ace_napi_test_es/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 94 int num1 = 0;
member
|
/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 108 int num1 = 0; member
|
Completed in 48 milliseconds