Home
last modified time | relevance | path

Searched refs:snprintf (Results 1 – 25 of 150) sorted by relevance

123456

/device/google/redfin/dumpstate/
DDumpstateDevice.cpp342 snprintf(cmd, sizeof(cmd), in dumpModemThread()
390 snprintf(cmd, sizeof(cmd), in DumpTouch()
397 snprintf(cmd, sizeof(cmd), in DumpTouch()
404 snprintf(cmd, sizeof(cmd), "%s/fw_version", touch_spi_path); in DumpTouch()
408 snprintf(cmd, sizeof(cmd), "%s/status", touch_spi_path); in DumpTouch()
412 snprintf(cmd, sizeof(cmd), in DumpTouch()
419 snprintf(cmd, sizeof(cmd), in DumpTouch()
426 snprintf(cmd, sizeof(cmd), in DumpTouch()
433 snprintf(cmd, sizeof(cmd), in DumpTouch()
440 snprintf(cmd, sizeof(cmd), in DumpTouch()
[all …]
/device/generic/goldfish/camera/
Dmetadata_utils.cpp157 s += snprintf(&value[s], value.size() - s, "%s%u", in prettyPrintCameraMetadata()
166 s += snprintf(&value[s], value.size() - s, "%s%d", in prettyPrintCameraMetadata()
175 s += snprintf(&value[s], value.size() - s, "%s%g", in prettyPrintCameraMetadata()
184 s += snprintf(&value[s], value.size() - s, "%s%" PRId64, in prettyPrintCameraMetadata()
193 s += snprintf(&value[s], value.size() - s, "%s%g", in prettyPrintCameraMetadata()
202 s += snprintf(&value[s], value.size() - s, "%s%d/%d", in prettyPrintCameraMetadata()
211 snprintf(&value[0], value.size(), "%s", "bad type"); in prettyPrintCameraMetadata()
216 snprintf(&value[0], value.size(), "%s", "empty"); in prettyPrintCameraMetadata()
Dexif.cpp183 const int len = snprintf(timeStr, sizeof(timeStr), in createExifData()
196 const int len = snprintf(ddd, sizeof(ddd), "%03d", 0); in createExifData()
324 const int len = snprintf(yyyymmdd, sizeof(yyyymmdd), "%04d:%02d:%02d", in createExifData()
/device/google/contexthub/util/nanotool/
Dsensorevent.cpp155 snprintf(buffer, sizeof(buffer), "%" PRIu64 ".%06" PRIu64 " ms", in GetSampleTimeStr()
177 snprintf(buffer, sizeof(buffer), in ToString()
213 snprintf(buffer, sizeof(buffer), " %f @ %s\n", in StringForSample()
230 snprintf(buffer, sizeof(buffer), " %d @ %s\n", in StringForSample()
250 snprintf(buffer, sizeof(buffer), " X:%f Y:%f Z:%f @ %s%s\n", in StringForSample()
294 snprintf(buffer, sizeof(buffer), " X:%f Y:%f Z:%f @ %s%s\n", in StringForSample()
Dnanomessage.cpp52 snprintf(buffer, sizeof(buffer), format_string, in ToString()
67 snprintf(buffer, sizeof(buffer), format_string, in ToString()
99 snprintf(buffer, sizeof(buffer), format_string, in ToString()
108 snprintf(buffer, sizeof(buffer), "ReadEventResponse %u\n", GetEventType()); in ToString()
225 snprintf(buffer, sizeof(buffer), format_string, in ToString()
Dlog.cpp83 offset += snprintf(&line[offset], sizeof(line) - offset, "%02x ", in DebugBuf()
85 offset_chars += snprintf( in DebugBuf()
93 offset += snprintf(&line[offset], sizeof(line) - offset, " "); in DebugBuf()
132 snprintf(prefix, sizeof(prefix), "%c %6.03f: ", Log::LevelAbbrev(level), in LogEx()
/device/google/barbet/dumpstate/
DDumpstateDevice.cpp344 snprintf(cmd, sizeof(cmd), in dumpModemThread()
390 snprintf(cmd, sizeof(cmd), "%s/appid", touch_spi_path); in DumpTouch()
396 snprintf(cmd, sizeof(cmd), "%s/status", touch_spi_path); in DumpTouch()
400 snprintf(cmd, sizeof(cmd), in DumpTouch()
406 snprintf(cmd, sizeof(cmd), in DumpTouch()
412 snprintf(cmd, sizeof(cmd), in DumpTouch()
467 snprintf(cmd, sizeof(cmd), "%s/stm_fts_cmd", touch_spi_path); in DumpTouch()
470 snprintf(cmd, sizeof(cmd), in DumpTouch()
/device/google/sunfish/dumpstate/
DDumpstateDevice.cpp343 snprintf(cmd, sizeof(cmd), in dumpModemThread()
394 snprintf(cmd, sizeof(cmd), "%s/appid", touch_spi_path); in DumpTouch()
400 snprintf(cmd, sizeof(cmd), "%s/status", touch_spi_path); in DumpTouch()
404 snprintf(cmd, sizeof(cmd), in DumpTouch()
410 snprintf(cmd, sizeof(cmd), in DumpTouch()
416 snprintf(cmd, sizeof(cmd), in DumpTouch()
475 snprintf(cmd, sizeof(cmd), "%s/stm_fts_cmd", touch_spi_path); in DumpTouch()
478 snprintf(cmd, sizeof(cmd), in DumpTouch()
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c977 snprintf(propName, sizeof propName, "vendor.net.eth0.dns%d", nn); in requestOrSendDataCallList()
1023 snprintf(cmd, sizeof(cmd), "AT+CGCONTRDP=%d", cid); in requestOrSendDataCallList()
2311 snprintf(cmd, sizeof(cmd), "AT+CGLA=%d,14,00A400%02X023F00", response[0],
2341 snprintf(cmd, sizeof(cmd), "AT+CCHC=%d", response[0]);
2372 snprintf(cmd, sizeof(cmd), "AT+CCHO=%s", params->aidPtr);
2448 snprintf(cmd, sizeof(cmd), "AT+CCHC=%" PRId32, session_id);
2623 snprintf((char*)(binSimResponse + 1), sresLen / 2, "%s", tmpBinSimResponse);
2629 snprintf((char*)(binSimResponse + 1 + sresLen / 2 + 1), kcLen / 2, "%s", tmpBinSimResponse);
2655 snprintf((char*)(binSimResponse + 2), ckLen / 2 + 1, "%s", tmpBinSimResponse);
2661 snprintf((char*)(binSimResponse + 2 + ckLen / 2 + 1), ikLen / 2 + 1, "%s",
[all …]
/device/google/redbull/json-c/
Djson_object.c41 # define snprintf _snprintf macro
43 # error You do not have snprintf on your system.
604 size = snprintf(buf, sizeof(buf), "NaN"); in json_object_double_to_json_string()
607 size = snprintf(buf, sizeof(buf), "Infinity"); in json_object_double_to_json_string()
609 size = snprintf(buf, sizeof(buf), "-Infinity"); in json_object_double_to_json_string()
611 size = snprintf(buf, sizeof(buf), "%.17g", jso->o.c_double); in json_object_double_to_json_string()
Djson_util.c51 # define snprintf _snprintf macro
53 # error You do not have snprintf on your system.
226 snprintf(buf_cmp_start, sizeof(buf_cmp), "%" PRId64, num64); in json_parse_int64()
/device/google/coral/json-c/
Djson_object.c41 # define snprintf _snprintf macro
43 # error You do not have snprintf on your system.
604 size = snprintf(buf, sizeof(buf), "NaN"); in json_object_double_to_json_string()
607 size = snprintf(buf, sizeof(buf), "Infinity"); in json_object_double_to_json_string()
609 size = snprintf(buf, sizeof(buf), "-Infinity"); in json_object_double_to_json_string()
611 size = snprintf(buf, sizeof(buf), "%.17g", jso->o.c_double); in json_object_double_to_json_string()
Djson_util.c51 # define snprintf _snprintf macro
53 # error You do not have snprintf on your system.
226 snprintf(buf_cmp_start, sizeof(buf_cmp), "%" PRId64, num64); in json_parse_int64()
/device/google/sunfish/json-c/
Djson_object.c41 # define snprintf _snprintf macro
43 # error You do not have snprintf on your system.
604 size = snprintf(buf, sizeof(buf), "NaN"); in json_object_double_to_json_string()
607 size = snprintf(buf, sizeof(buf), "Infinity"); in json_object_double_to_json_string()
609 size = snprintf(buf, sizeof(buf), "-Infinity"); in json_object_double_to_json_string()
611 size = snprintf(buf, sizeof(buf), "%.17g", jso->o.c_double); in json_object_double_to_json_string()
Djson_util.c51 # define snprintf _snprintf macro
53 # error You do not have snprintf on your system.
226 snprintf(buf_cmp_start, sizeof(buf_cmp), "%" PRId64, num64); in json_parse_int64()
/device/google/coral/dumpstate/
DDumpstateDevice.cpp383 snprintf(cmd, sizeof(cmd), "%s/appid", touch_spi_path); in DumpTouch()
389 snprintf(cmd, sizeof(cmd), "%s/status", touch_spi_path); in DumpTouch()
393 snprintf(cmd, sizeof(cmd), in DumpTouch()
399 snprintf(cmd, sizeof(cmd), in DumpTouch()
405 snprintf(cmd, sizeof(cmd), in DumpTouch()
/device/linaro/dragonboard/shared/utils/rmtfs/
Dsharedmem.c133 snprintf(path, sizeof(path), "/dev/qcom_rmtfs_uio%d", client_id); in rmtfs_mem_open_uio()
214 snprintf(path, sizeof(path), "/dev/qcom_rmtfs_mem%d", client_id); in rmtfs_mem_open_rfsa()
222 snprintf(path, sizeof(path), "/sys/class/rmtfs/qcom_rmtfs_mem%d/phys_addr", client_id); in rmtfs_mem_open_rfsa()
237 snprintf(path, sizeof(path), "/sys/class/rmtfs/qcom_rmtfs_mem%d/size", client_id); in rmtfs_mem_open_rfsa()
/device/linaro/poplar/wifi/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c133 snprintf(buf, sizeof(buf), "P2P_SET_NOA %d %d %d", count, start, duration); in wpa_driver_set_p2p_noa()
149 snprintf(buf, sizeof(buf), "P2P_SET_PS %d %d %d", legacy_ps, opp_ps, ctwindow); in wpa_driver_set_p2p_ps()
190 pbuf += snprintf(pbuf, buf_len - wpabuf_len(ap_wps_p2p_ie), in wpa_driver_set_ap_wps_p2p_ie()
/device/google/contexthub/contexthubhal/
Dsystem_comms.cpp939 snprintf(buffer, sizeof(buffer), "App: 0x%016" PRIx64 "\n", id); in dumpAppInfo()
942 snprintf(buffer, sizeof(buffer), in dumpAppInfo()
952 snprintf(buffer, sizeof(buffer), in dumpAppInfo()
961 snprintf(buffer, sizeof(buffer), in dumpAppInfo()
970 snprintf(buffer, sizeof(buffer), " CHRE: %d.%d\n", in dumpAppInfo()
977 snprintf(buffer, sizeof(buffer), in dumpAppInfo()
1009 snprintf(hexId, sizeof(hexId), "%016" PRIX64, id); in saveApps()
1113 snprintf(file, sizeof(file), "%s/%016" PRIX64 ".napp", CHRE_APP_DIR, appName.id); in writeApp()
1132 snprintf(file, sizeof(file), "%s/%016" PRIX64 ".napp", CHRE_APP_DIR, appName.id); in readApp()
1158 snprintf(file, sizeof(file), "%s/%016" PRIX64 ".napp", CHRE_APP_DIR, appName.id); in cmpApp()
/device/generic/goldfish/radio/include/telephony/
Dril_mnc.h53 snprintf(mncStr, sizeof(mncStr), "%03.3u", umnc); in decode()
57 snprintf(mncStr, sizeof(mncStr), "%03.3u", umnc); in decode()
/device/generic/goldfish/sensors/
Dmultihal_sensors_qemu.cpp60 int len = snprintf(buffer, sizeof(buffer), in setSensorsReportingImpl()
89 int len = snprintf(buffer, sizeof(buffer), "time:%" PRId64, value); in setSensorsGuestTime()
101 const int len = snprintf(buffer, sizeof(buffer), "set-delay:%u", intervalMs); in setSensorsUpdateIntervalMs()
/device/google/sunfish/gpt-utils/
Dgpt-utils.cpp567 snprintf(sg_dir_path, sizeof(sg_dir_path) - 1, in get_scsi_node_from_bootdevice()
582 snprintf(sg_node_path, in get_scsi_node_from_bootdevice()
1014 snprintf(buf, sizeof(buf), in prepare_boot_update()
1075 snprintf(path, sizeof(path), in get_dev_path_from_partition_name()
1089 snprintf(buf, buflen, "/dev/block/mmcblk0"); in get_dev_path_from_partition_name()
/device/google/coral/gpt-utils/
Dgpt-utils.cpp567 snprintf(sg_dir_path, sizeof(sg_dir_path) - 1, in get_scsi_node_from_bootdevice()
582 snprintf(sg_node_path, in get_scsi_node_from_bootdevice()
1014 snprintf(buf, sizeof(buf), in prepare_boot_update()
1075 snprintf(path, sizeof(path), in get_dev_path_from_partition_name()
1089 snprintf(buf, buflen, "/dev/block/mmcblk0"); in get_dev_path_from_partition_name()
/device/google/redbull/gpt-utils/
Dgpt-utils.cpp567 snprintf(sg_dir_path, sizeof(sg_dir_path) - 1, in get_scsi_node_from_bootdevice()
582 snprintf(sg_node_path, in get_scsi_node_from_bootdevice()
1014 snprintf(buf, sizeof(buf), in prepare_boot_update()
1075 snprintf(path, sizeof(path), in get_dev_path_from_partition_name()
1089 snprintf(buf, buflen, "/dev/block/mmcblk0"); in get_dev_path_from_partition_name()
/device/generic/opengl-transport/host/commands/emugen/
DApiGen.cpp395 snprintf(buff, bufflen, "%u", (unsigned int) var.type()->bytes()); in getVarEncodingSizeExpression()
400 snprintf(buff, bufflen, "8"); in getVarEncodingSizeExpression()
403 snprintf(buff, bufflen, "0"); in getVarEncodingSizeExpression()
405 snprintf(buff, bufflen, "__size_%s", var.name().c_str()); in getVarEncodingSizeExpression()
414 snprintf(buff, bufflen, "((%s != NULL) ? %s : 0)", varname, lenExpr); in getVarEncodingSizeExpression()
416 snprintf(buff, bufflen, "%s", lenExpr); in getVarEncodingSizeExpression()

123456