Home
last modified time | relevance | path

Searched refs:STRTOL_BASE (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/drivers/peripheral/usb/sample/host/src/
H A Dusbhost_nosdk_speed.c48 #define STRTOL_BASE 10 macro
322 g_busNum = (unsigned int)strtoul(argv[TEST_ONE_TYPE], NULL, STRTOL_BASE); in FillParamData()
323 …g_devAddr = (unsigned int)strtoul(argv[TEST_TWO_TYPE], NULL, STRTOL_BASE); // 2 means get second c… in FillParamData()
324 …g_ifaceNum = (unsigned int)strtoul(argv[TEST_THREE_TYPE], NULL, STRTOL_BASE); // 3 means get thir… in FillParamData()
325 …g_endNum = (unsigned char)strtoul(argv[TEST_FOUR_TYPE], NULL, STRTOL_BASE); // 4 means get fourt… in FillParamData()
330 g_busNum = (unsigned int)strtoul(argv[TEST_ONE_TYPE], NULL, STRTOL_BASE); in FillParamData()
331 …g_devAddr = (unsigned int)strtoul(argv[TEST_TWO_TYPE], NULL, STRTOL_BASE); // 2 means get second c… in FillParamData()
332 …g_ifaceNum = (unsigned int)strtoul(argv[TEST_THREE_TYPE], NULL, STRTOL_BASE); // 3 means get thir… in FillParamData()
333 …g_endNum = (unsigned char)strtoul(argv[TEST_FOUR_TYPE], NULL, STRTOL_BASE); // 4 means get fourt… in FillParamData()
335 g_ifaceNum = (unsigned int)strtoul(argv[TEST_ONE_TYPE], NULL, STRTOL_BASE); in FillParamData()
[all …]
H A Dusbhost_sdkapi_speed.c41 #define STRTOL_BASE 10 macro
306 busNum = (int32_t)strtol(argv[TEST_ONE_TYPE], NULL, STRTOL_BASE); in CheckParam()
307 devAddr = (int32_t)strtol(argv[TEST_TWO_TYPE], NULL, STRTOL_BASE); in CheckParam()
308 ifaceNum = (int32_t)strtol(argv[TEST_THREE_TYPE], NULL, STRTOL_BASE); in CheckParam()
314 busNum = (int32_t)strtol(argv[TEST_ONE_TYPE], NULL, STRTOL_BASE); in CheckParam()
315 devAddr = (int32_t)strtol(argv[TEST_TWO_TYPE], NULL, STRTOL_BASE); in CheckParam()
316 ifaceNum = (int32_t)strtol(argv[TEST_THREE_TYPE], NULL, STRTOL_BASE); in CheckParam()
319 ifaceNum = (int32_t)strtol(argv[TEST_ONE_TYPE], NULL, STRTOL_BASE); in CheckParam()
H A Dusbhost_test.c22 #define STRTOL_BASE 10 macro
209 UsbHostDdkTestSetBaudrate((uint32_t)(strtoul(param, NULL, STRTOL_BASE))); in TestCmdLoopOther()
215 UsbHostDdkTestAddInterface((uint32_t)(strtoul(param, NULL, STRTOL_BASE))); in TestCmdLoopOther()
218 UsbHostDdkTestRemoveInterface((uint32_t)(strtoul(param, NULL, STRTOL_BASE))); in TestCmdLoopOther()
H A Dusbhost_sdkraw_speed.c46 #define STRTOL_BASE 10 macro
557 busNum = (int32_t)strtol(argv[TEST_ONE_TYPE], NULL, STRTOL_BASE); in CheckParam()
558 devAddr = (int32_t)strtol(argv[TEST_TWO_TYPE], NULL, STRTOL_BASE); in CheckParam()
559 ifaceNum = (int32_t)strtol(argv[TEST_THREE_TYPE], NULL, STRTOL_BASE); in CheckParam()
565 busNum = (int32_t)strtol(argv[TEST_ONE_TYPE], NULL, STRTOL_BASE); in CheckParam()
566 devAddr = (int32_t)strtol(argv[TEST_TWO_TYPE], NULL, STRTOL_BASE); in CheckParam()
567 ifaceNum = (int32_t)strtol(argv[TEST_THREE_TYPE], NULL, STRTOL_BASE); in CheckParam()
570 ifaceNum = (int32_t)strtol(argv[TEST_ONE_TYPE], NULL, STRTOL_BASE); in CheckParam()
/ohos5.0/drivers/peripheral/usb/sample/host/liteos_test/src/
H A Dusbhost_speed_test.c33 #define STRTOL_BASE 10 macro
203 writeOrRead = (int32_t)strtol(buffer, NULL, STRTOL_BASE); in GetWriteOrReadFlag()
221 … speedTest->busNum = (int32_t)strtol(argv[2], NULL, STRTOL_BASE); // 2 is argv third element in CheckParam()
222 … speedTest->devAddr = (int32_t)strtol(argv[3], NULL, STRTOL_BASE); // 3 is argv fourth element in CheckParam()
223 … speedTest->ifaceNum = (int32_t)strtol(argv[4], NULL, STRTOL_BASE); // 4 is argv fifth element in CheckParam()
234 …speedTest->ifaceNum = (int32_t)strtol(argv[2], NULL, STRTOL_BASE); // 2 is argv third elem… in CheckParam()
/ohos5.0/drivers/peripheral/audio/test/audio_utils/audio_mixer/
H A Daudio_mixer.c46 #define STRTOL_BASE 10 macro
996 info->value.intVal.vals[0] = strtol(ptr, NULL, STRTOL_BASE); in FillIntVal()
1003 info->value.intVal.vals[0] = strtol(vals, NULL, STRTOL_BASE); in FillIntVal()
1006 info->value.intVal.max = (int32_t)strtol(maxPtr, NULL, STRTOL_BASE); in FillIntVal()
1013 info->value.intVal.max = (int32_t)strtol(maxPtr, NULL, STRTOL_BASE); in FillIntVal()
1016 info->value.intVal.min = (int32_t)strtol(minPtr, NULL, STRTOL_BASE); in FillIntVal()
1018 info->value.intVal.step = outPtr != NULL ? (int32_t)strtol(stepPtr, NULL, STRTOL_BASE) : 0; in FillIntVal()
1020 info->value.intVal.min = (int32_t)strtol(minPtr, NULL, STRTOL_BASE); in FillIntVal()
H A Daudio_mixer_main.c48 #define STRTOL_BASE 10 macro
219 id = (int32_t)strtol(card, NULL, STRTOL_BASE); in UpdateCardName()
371 numid = (int32_t)strtol(ptr, NULL, STRTOL_BASE); in ParseNumId()
529 type = (int32_t)strtol(string, NULL, STRTOL_BASE); in GetPcm()
/ohos5.0/drivers/peripheral/camera/vdi_base/v4l2/src/camera_host/
H A Dhcs_deal.cpp22 #define STRTOL_BASE 10 macro
389 faceDetectMaxNum = (uint8_t)strtol(pNodeValue, NULL, STRTOL_BASE); in DealCameraFaceDetectMaxNum()
551 focalLength = (float)strtol(pNodeValue, NULL, STRTOL_BASE); in DealFocalLength()
744 sensorOrientation = (int32_t)strtol(nodeValue, NULL, STRTOL_BASE); in DealSensorOrientation()
869 zoomRatioRange.push_back((float)strtol(nodeValue, NULL, STRTOL_BASE)); in DealZoomRationRange()
902 jpegOrientation = (int32_t)strtol(nodeValue, NULL, STRTOL_BASE); in DealJpegOrientation()
933 jpegQuality = (int32_t)strtol(nodeValue, NULL, STRTOL_BASE); in DealJpegQuality()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A Dutils.h58 constexpr int32_t STRTOL_BASE = 10; variable
656 int64_t result = std::strtol(param.c_str(), &pEnd, STRTOL_BASE); in ParseResourceInputNumberParam()