Home
last modified time | relevance | path

Searched refs:strtol (Results 1 - 15 of 15) sorted by relevance

/drivers/peripheral/usb/sample/host/liteos_test/src/
H A Dusbhost_speed_test.c203 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 element in CheckParam()
/drivers/peripheral/usb/sample/host/src/
H A Dusbhost_sdkapi_speed.c306 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_sdkraw_speed.c557 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()
/drivers/peripheral/audio/hal/hdi_binder/server/src/
H A Dhdf_audio_events.c49 *value = strtol(typeNameTepm, NULL, STRTOL_FORMART_HEX); in AudioPnpMsgReadValue()
/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/
H A Dhdi_service_test.cpp237 int32_t battTemperature = strtol(buf, nullptr, strlen); in ReadTemperatureSysfs()
274 int32_t battVoltage = strtol(buf, nullptr, strlen); in ReadVoltageSysfs()
311 int32_t battCapacity = strtol(buf, nullptr, strlen); in ReadCapacitySysfs()
349 int32_t totalEnergy = strtol(buf, nullptr, strlen); in ReadTotalEnergySysfs()
387 int32_t currentAvg = strtol(buf, nullptr, strlen); in ReadCurrentAverageSysfs()
425 int32_t currentNow = strtol(buf, nullptr, strlen); in ReadCurrentNowSysfs()
463 int32_t chargeNow = strtol(buf, nullptr, strlen); in ReadRemainEnergySysfs()
603 online = strtol(buf, nullptr, STR_TO_LONG_LEN); in ReadPluggedTypeSysfs()
703 int32_t battChargeCounter = strtol(buf, nullptr, strlen); in ReadChargeCounterSysfs()
741 int32_t battPresent = strtol(bu in ReadPresentSysfs()
[all...]
/drivers/peripheral/usb/ddk/host/src/
H A Dddk_uevent_queue.cpp130 DdkDevMgrRemoveDevice(strtol(busNum, nullptr, 10), strtol(devNum, nullptr, 10), &dev); // 10 means decimal in DdkUeventRemoveDevice()
/drivers/peripheral/audio/test/audio_utils/audio_mixer/
H A Daudio_mixer.c996 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.c219 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()
/drivers/hdf_core/adapter/uhdf2/host/
H A Ddevhost.c71 long result = strtol(str, &end, base); in HdfStringToInt()
/drivers/peripheral/camera/vdi_base/v4l2/src/camera_host/
H A Dhcs_deal.cpp389 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()
/drivers/peripheral/audio/hal/hdi_passthrough/src/
H A Daudio_adapter_info_common.c321 int64_t tempRoute = strtol(value, &endptr, DECIMAL_SYSTEM); in TransferRoute()
341 int64_t tempFormat = strtol(value, &endptr, DECIMAL_SYSTEM); in TransferFormat()
/drivers/peripheral/audio/hdi_service/primary_impl/src/
H A Daudio_adapter_info_common.c305 long tempRoute = strtol(value, &endptr, DECIMAL_SYSTEM); in TransferRoute()
329 long tempFormat = strtol(value, &endptr, DECIMAL_SYSTEM); in TransferFormat()
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
H A Daudio_adapter_info_common.cpp775 long tempRoute = strtol(value, &endptr, DECIMAL_SYSTEM); in TransferRoute()
793 long tempFormat = strtol(value, &endptr, DECIMAL_SYSTEM); in TransferFormat()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/device_manager/
H A Dmpi_device_manager.cpp457 return static_cast<int32_t>(strtol(num.c_str(), nullptr, 10)); // 10:decimal in CheckNodePortNum()
/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dpower_supply_provider.cpp91 return static_cast<int32_t>(strtol(str, nullptr, STR_TO_LONG_LEN)); in ParseInt()

Completed in 15 milliseconds