Home
last modified time | relevance | path

Searched refs:sscanf (Results 1 – 25 of 74) sorted by relevance

123

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dns_addr.c125 (1 < (i = sscanf(buf, "%d-%d-%d-%d-%d", in Field()
133 if (1 < (i = sscanf(buf,"%x.%x.%x.%x.%x.%x", in Field()
141 if (1 < (i = sscanf(buf,"%x:%x:%x:%x:%x:%x", in Field()
150 if (1 < (i = sscanf(buf,"%x,%x,%x", in Field()
205 (void)sscanf(bp, fmt, hp); in Field()
210 (void)sscanf(buf, fmt, hp); in Field()
/device/google/marlin/dataservices/datatop/src/
Ddatatop_helpers.c320 sscanf(str, "%"PRIu64, &(dp->data.d_ulong)); in dtop_store_dp()
327 sscanf(str, "%"PRId64, &(dp->data.d_long)); in dtop_store_dp()
334 sscanf(str, "%u", &(dp->data.d_uint)); in dtop_store_dp()
341 sscanf(str, "%d", &(dp->data.d_int)); in dtop_store_dp()
348 sscanf(str, "%c", &(dp->data.d_uchar)); in dtop_store_dp()
355 sscanf(str, "%c", &(dp->data.d_char)); in dtop_store_dp()
362 sscanf(str, "%s", dp->data.d_str); in dtop_store_dp()
/device/google/bonito/health/
DLearnedCapacityBackupRestore.cpp51 if (sscanf(buffer.c_str(), "%d", &sw_cap_) < 1) in ReadPersistData()
78 if (sscanf(buffer.c_str(), "%d", &nom_cap_) < 1) in ReadNominalCapacity()
94 if (sscanf(buffer.c_str(), "%d", &hw_cap_) < 1) in ReadCapacity()
/device/google/crosshatch/json-c/
Djson_util.c150 return (sscanf(buf, "%lf", retval)==1 ? 0 : 1); in json_parse_double()
163 (void)sscanf(" -01234567890123456789012345", "%" SCNd64, &num64); in sscanf_is_broken_test()
167 (void)sscanf(" 01234567890123456789012345", "%" SCNd64, &num64); in sscanf_is_broken_test()
197 if (sscanf(buf, "%" SCNd64, &num64) != 1) in json_parse_int64()
/device/google/bonito/json-c/
Djson_util.c150 return (sscanf(buf, "%lf", retval)==1 ? 0 : 1); in json_parse_double()
163 (void)sscanf(" -01234567890123456789012345", "%" SCNd64, &num64); in sscanf_is_broken_test()
167 (void)sscanf(" 01234567890123456789012345", "%" SCNd64, &num64); in sscanf_is_broken_test()
197 if (sscanf(buf, "%" SCNd64, &num64) != 1) in json_parse_int64()
/device/generic/goldfish/sensors/
Dsensors_qemu.c329 if (sscanf(buff, "acceleration:%g:%g:%g", params+0, params+1, params+2) in sensor_device_poll_event_locked()
341 if (sscanf(buff, "gyroscope:%g:%g:%g", params+0, params+1, params+2) in sensor_device_poll_event_locked()
354 if (sscanf(buff, "orientation:%g:%g:%g", params+0, params+1, params+2) in sensor_device_poll_event_locked()
369 if (sscanf(buff, "magnetic:%g:%g:%g", params+0, params+1, params+2) in sensor_device_poll_event_locked()
382 if (sscanf(buff, "magnetic-uncalibrated:%g:%g:%g", params+0, params+1, params+2) in sensor_device_poll_event_locked()
396 if (sscanf(buff, "temperature:%g", params+0) == 1) { in sensor_device_poll_event_locked()
405 if (sscanf(buff, "proximity:%g", params+0) == 1) { in sensor_device_poll_event_locked()
413 if (sscanf(buff, "light:%g", params+0) == 1) { in sensor_device_poll_event_locked()
422 if (sscanf(buff, "pressure:%g", params+0) == 1) { in sensor_device_poll_event_locked()
431 if (sscanf(buff, "humidity:%g", params+0) == 1) { in sensor_device_poll_event_locked()
[all …]
/device/google/marlin/health/
DLearnedCapacityBackupRestore.cpp60 if (sscanf(buffer.c_str(), "%d", &sw_cap_) < 1) in ReadFromStorage()
87 if (sscanf(buffer.c_str(), "%d", &hw_cap_) < 1) in ReadFromSRAM()
DCycleCountBackupRestore.cpp52 if (sscanf(buffer.c_str(), "%d %d %d %d %d %d %d %d", in ReadFromStorage()
86 if (sscanf(buffer.c_str(), "%d %d %d %d %d %d %d %d", in ReadFromSRAM()
DHealthService.cpp108 if (sscanf(lines[6].c_str(), "ufs version: 0x%7s\n", rev) < 1) { in get_storage_info()
127 if ((ret = sscanf(line.c_str(), in get_storage_info()
/device/google/wahoo/health/
DLearnedCapacityBackupRestore.cpp60 if (sscanf(buffer.c_str(), "%d", &sw_cap_) < 1) in ReadFromStorage()
87 if (sscanf(buffer.c_str(), "%d", &hw_cap_) < 1) in ReadFromSRAM()
DCycleCountBackupRestore.cpp52 if (sscanf(buffer.c_str(), "%d %d %d %d %d %d %d %d", in ReadFromStorage()
86 if (sscanf(buffer.c_str(), "%d %d %d %d %d %d %d %d", in ReadFromSRAM()
DHealthService.cpp108 if (sscanf(lines[6].c_str(), "hba->ufs_version = 0x%7s\n", rev) < 1) { in get_storage_info()
127 if ((ret = sscanf(lines[i].c_str(), in get_storage_info()
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/
Dsscanf.c15 sscanf(const char *__restrict str, char const *__restrict fmt, ...) in sscanf() function
Dstdlib.mk15 sscanf.c \
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetServByPort/
DGetServByPort.c47 || ( 1 != sscanf ( Argv[1], "%d", &PortNumber ))) { in main()
/device/linaro/bootloader/arm-trusted-firmware/include/lib/stdlib/
Dstdio.h69 int sscanf(const char *__restrict, char const *__restrict, ...);
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetNetByAddr/
DGetNetByAddr.c50 || ( 4 != sscanf ( Argv[1], in main()
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dsscanf.c68 sscanf(const char *str, char const *fmt, ...) in sscanf() function
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/
Dparser.dlg225 {int t; sscanf(&zzlextext[1],"%o",&t); zzlextext[0] = t;}
231 {int t; sscanf(&zzlextext[3],"%x",&t); zzlextext[0] = t;}
237 {int t; sscanf(&zzlextext[1],"%d",&t); zzlextext[0] = t;}
Ddlg_a.c255 {int t; sscanf(&zzlextext[1],"%o",&t); zzlextext[0] = t;}
262 {int t; sscanf(&zzlextext[3],"%x",&t); zzlextext[0] = t;}
269 {int t; sscanf(&zzlextext[1],"%d",&t); zzlextext[0] = t;}
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DSimpleFileParsing.c570 sscanf (mGlobals.SourceFile.FileBufferPtr, "%x", Value); in SFPGetNumber()
1327 sscanf (TempString, "%x", &Value32); in SFPGetGuid()
1342 sscanf (TempString, "%x", &Value32); in SFPGetGuid()
1355 sscanf (TempString, "%x", &Value32); in SFPGetGuid()
1370 sscanf (TempString, "%x", &Value32); in SFPGetGuid()
1415 sscanf (TempString2, "%x", &Value32); in SFPGetGuid()
/device/linaro/hikey/wpan/uim/
Duim.c311 sscanf((const char*)buf, "%s", uart_dev_name); in st_uart_config()
327 sscanf((const char*)buf, "%d", &cust_baud_rate); in st_uart_config()
343 sscanf((const char*)buf, "%d", &flow_ctrl); in st_uart_config()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DSimpleFileParsing.c550 sscanf (mGlobals.SourceFile.FileBufferPtr, "%x", &Val); in SFPGetNumber()
1308 sscanf (TempString, "%x", &Value32); in SFPGetGuid()
1323 sscanf (TempString, "%x", &Value32); in SFPGetGuid()
1336 sscanf (TempString, "%x", &Value32); in SFPGetGuid()
1351 sscanf (TempString, "%x", &Value32); in SFPGetGuid()
1396 sscanf (TempString2, "%x", &Value32); in SFPGetGuid()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetHostByAddr/
DGetHostByAddr.c54 || ( 4 != sscanf ( Argv[1], in main()
/device/generic/goldfish/include/
Dqemud.h121 if (sscanf(header, "%04x", &size) != 1) { in qemud_channel_recv()

123