/third_party/icu/icu4c/source/test/iotest/ |
H A D | strtst.c | 58 /* Test sprintf */ in TestString() 371 cNumPrinted = sprintf(buffer, cFormat, cValue);\ 526 sprintf(testBuf, "%x", (int)num); in TestStringCompatibility() 533 sprintf(testBuf, "%X", (int)num); in TestStringCompatibility() 540 sprintf(testBuf, "%o", (int)num); in TestStringCompatibility() 547 /* sprintf is not compatible on all platforms e.g. the iSeries*/ in TestStringCompatibility() 548 sprintf(testBuf, "%d", (int)num); in TestStringCompatibility() 555 sprintf(testBuf, "%i", (int)num); in TestStringCompatibility() 562 sprintf(testBuf, "%f", (double)num); in TestStringCompatibility() 569 /* sprintf(testBu in TestStringCompatibility() [all...] |
/third_party/protobuf/php/src/Google/Protobuf/ |
H A D | Syntax.php | 37 throw new UnexpectedValueException(sprintf( 47 throw new UnexpectedValueException(sprintf(
|
H A D | NullValue.php | 32 throw new UnexpectedValueException(sprintf( 43 throw new UnexpectedValueException(sprintf(
|
/kernel/linux/linux-5.10/drivers/edac/ |
H A D | edac_device_sysfs.c | 35 return sprintf(data, "%u\n", ctl_info->log_ue); in edac_device_ctl_log_ue_show() 52 return sprintf(data, "%u\n", ctl_info->log_ce); in edac_device_ctl_log_ce_show() 69 return sprintf(data, "%u\n", ctl_info->panic_on_ue); in edac_device_ctl_panic_on_ue_show() 86 return sprintf(data, "%u\n", ctl_info->poll_msec); in edac_device_ctl_poll_msec_show() 312 return sprintf(data, "%u\n", instance->counters.ue_count); in instance_ue_count_show() 318 return sprintf(data, "%u\n", instance->counters.ce_count); in instance_ce_count_show() 419 return sprintf(data, "%u\n", block->counters.ue_count); in block_ue_count_show() 427 return sprintf(data, "%u\n", block->counters.ce_count); in block_ce_count_show()
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | traps.c | 404 sprintf(buf, "IA-64 Illegal operation fault"); in ia64_illegal_op_fault() 448 sprintf(buf, "General Exception: %s%s", reason[code], in ia64_fault() 466 sprintf(buf, "Disabled FPL fault---not supposed to happen!"); in ia64_fault() 490 sprintf(buf, "NaT consumption"); in ia64_fault() 499 sprintf(buf, "Unsupported data reference"); in ia64_fault() 584 sprintf(buf, "Unimplemented Instruction Address fault"); in ia64_fault() 603 sprintf(buf, "IA-32 Interruption Fault (int 0x%lx)", isr >> 16); in ia64_fault() 607 sprintf(buf, "Fault %lu", vector); in ia64_fault()
|
/kernel/linux/linux-6.6/arch/ia64/kernel/ |
H A D | traps.c | 404 sprintf(buf, "IA-64 Illegal operation fault"); in ia64_illegal_op_fault() 448 sprintf(buf, "General Exception: %s%s", reason[code], in ia64_fault() 466 sprintf(buf, "Disabled FPL fault---not supposed to happen!"); in ia64_fault() 490 sprintf(buf, "NaT consumption"); in ia64_fault() 499 sprintf(buf, "Unsupported data reference"); in ia64_fault() 584 sprintf(buf, "Unimplemented Instruction Address fault"); in ia64_fault() 603 sprintf(buf, "IA-32 Interruption Fault (int 0x%lx)", isr >> 16); in ia64_fault() 607 sprintf(buf, "Fault %lu", vector); in ia64_fault()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | abx500.c | 110 ret = sprintf(alarm_node, "temp%d_min_alarm", i + 1); in gpadc_monitor() 114 ret = sprintf(alarm_node, "temp%d_max_alarm", i + 1); in gpadc_monitor() 152 return sprintf(buf, "%d\n", temp); in input_show() 224 return sprintf(buf, "%lu\n", data->min[attr->index]); in min_show() 233 return sprintf(buf, "%lu\n", data->max[attr->index]); in max_show() 242 return sprintf(buf, "%lu\n", data->max_hyst[attr->index]); in max_hyst_show() 251 return sprintf(buf, "%d\n", data->min_alarm[attr->index]); in min_alarm_show() 260 return sprintf(buf, "%d\n", data->max_alarm[attr->index]); in max_alarm_show()
|
H A D | lm93.c | 1107 return sprintf(buf, "%d\n", LM93_IN_FROM_REG(nr, data->block3[nr])); in in_show() 1141 return sprintf(buf, "%ld\n", rc); in in_min_show() 1206 return sprintf(buf, "%ld\n", rc); in in_max_show() 1262 return sprintf(buf, "%d\n", LM93_TEMP_FROM_REG(data->block2[nr])); in temp_show() 1274 return sprintf(buf, "%d\n", LM93_TEMP_FROM_REG(data->temp_lim[nr].min)); in temp_min_show() 1307 return sprintf(buf, "%d\n", LM93_TEMP_FROM_REG(data->temp_lim[nr].max)); in temp_max_show() 1340 return sprintf(buf, "%d\n", LM93_TEMP_FROM_REG(data->block10.base[nr])); in temp_auto_base_show() 1373 return sprintf(buf, "%d\n", LM93_TEMP_FROM_REG(data->boost[nr])); in temp_auto_boost_show() 1408 return sprintf(buf, "%d\n", in temp_auto_boost_hyst_show() 1450 return sprintf(bu in temp_auto_offset_show() [all...] |
H A D | f71882fg.c | 1381 return sprintf(buf, "%d\n", speed); in show_fan() 1390 return sprintf(buf, "%d\n", speed); in show_fan_full_speed() 1423 return sprintf(buf, "1\n"); in show_fan_beep() 1425 return sprintf(buf, "0\n"); in show_fan_beep() 1459 return sprintf(buf, "1\n"); in show_fan_alarm() 1461 return sprintf(buf, "0\n"); in show_fan_alarm() 1470 return sprintf(buf, "%d\n", data->in[nr] * 8); in show_in() 1478 return sprintf(buf, "%d\n", data->in1_max * 8); in show_in_max() 1513 return sprintf(buf, "1\n"); in show_in_beep() 1515 return sprintf(bu in show_in_beep() [all...] |
H A D | fschmd.c | 328 return sprintf(buf, "%d\n", (data->volt[index] * dmi_vref * in in_value_show() 331 return sprintf(buf, "%d\n", (data->volt[index] * in in_value_show() 344 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_act[index])); in temp_value_show() 353 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[index])); in temp_max_show() 388 return sprintf(buf, "0\n"); in temp_fault_show() 390 return sprintf(buf, "1\n"); in temp_fault_show() 401 return sprintf(buf, "1\n"); in temp_alarm_show() 403 return sprintf(buf, "0\n"); in temp_alarm_show() 415 return sprintf(buf, "%u\n", RPM_FROM_REG(data->fan_act[index])); in fan_value_show() 425 return sprintf(bu in fan_div_show() [all...] |
/kernel/linux/linux-5.10/drivers/video/backlight/ |
H A D | backlight.c | 186 return sprintf(buf, "%d\n", bd->props.power); in bl_power_show() 227 return sprintf(buf, "%d\n", bd->props.brightness); in brightness_show() 275 return sprintf(buf, "%s\n", backlight_types[bd->props.type]); in type_show() 284 return sprintf(buf, "%d\n", bd->props.max_brightness); in max_brightness_show() 296 rc = sprintf(buf, "%d\n", bd->ops->get_brightness(bd)); in actual_brightness_show() 298 rc = sprintf(buf, "%d\n", bd->props.brightness); in actual_brightness_show() 311 return sprintf(buf, "unknown\n"); in scale_show() 313 return sprintf(buf, "%s\n", backlight_scale_types[bd->props.scale]); in scale_show()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | hdaps.c | 350 return sprintf(buf, "(%d,%d)\n", x, y); in hdaps_position_show() 362 return sprintf(buf, "(%d,%d)\n", x, y); in hdaps_variance_show() 375 return sprintf(buf, "%u\n", temp); in hdaps_temp1_show() 388 return sprintf(buf, "%u\n", temp); in hdaps_temp2_show() 395 return sprintf(buf, "%u\n", KEYBD_ISSET(km_activity)); in hdaps_keyboard_activity_show() 402 return sprintf(buf, "%u\n", MOUSE_ISSET(km_activity)); in hdaps_mouse_activity_show() 408 return sprintf(buf, "(%d,%d)\n", rest_x, rest_y); in hdaps_calibrate_show() 425 return sprintf(buf, "%u\n", hdaps_invert); in hdaps_invert_show()
|
/kernel/linux/linux-5.10/drivers/staging/iio/adc/ |
H A D | ad7816.c | 127 return sprintf(buf, "power-save\n"); in ad7816_show_mode() 128 return sprintf(buf, "full\n"); in ad7816_show_mode() 159 return sprintf(buf, "full\npower-save\n"); in ad7816_show_available_modes() 172 return sprintf(buf, "%d\n", chip->channel_id); in ad7816_show_channel() 234 return sprintf(buf, "%d.%.2d\n", value, data * 25); in ad7816_show_value() 236 return sprintf(buf, "%u\n", data); in ad7816_show_value() 284 return sprintf(buf, "%d\n", value); in ad7816_show_oti() 286 return sprintf(buf, "%u\n", chip->oti_data[chip->channel_id]); in ad7816_show_oti()
|
/kernel/linux/linux-6.6/drivers/staging/iio/adc/ |
H A D | ad7816.c | 127 return sprintf(buf, "power-save\n"); in ad7816_show_mode() 128 return sprintf(buf, "full\n"); in ad7816_show_mode() 159 return sprintf(buf, "full\npower-save\n"); in ad7816_show_available_modes() 172 return sprintf(buf, "%d\n", chip->channel_id); in ad7816_show_channel() 234 return sprintf(buf, "%d.%.2d\n", value, data * 25); in ad7816_show_value() 236 return sprintf(buf, "%u\n", data); in ad7816_show_value() 284 return sprintf(buf, "%d\n", value); in ad7816_show_oti() 286 return sprintf(buf, "%u\n", chip->oti_data[chip->channel_id]); in ad7816_show_oti()
|
/kernel/linux/linux-6.6/drivers/video/backlight/ |
H A D | backlight.c | 186 return sprintf(buf, "%d\n", bd->props.power); in bl_power_show() 227 return sprintf(buf, "%d\n", bd->props.brightness); in brightness_show() 275 return sprintf(buf, "%s\n", backlight_types[bd->props.type]); in type_show() 284 return sprintf(buf, "%d\n", bd->props.max_brightness); in max_brightness_show() 298 rc = sprintf(buf, "%d\n", rc); in actual_brightness_show() 300 rc = sprintf(buf, "%d\n", bd->props.brightness); in actual_brightness_show() 314 return sprintf(buf, "unknown\n"); in scale_show() 316 return sprintf(buf, "%s\n", backlight_scale_types[bd->props.scale]); in scale_show()
|
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | hdaps.c | 350 return sprintf(buf, "(%d,%d)\n", x, y); in hdaps_position_show() 362 return sprintf(buf, "(%d,%d)\n", x, y); in hdaps_variance_show() 375 return sprintf(buf, "%u\n", temp); in hdaps_temp1_show() 388 return sprintf(buf, "%u\n", temp); in hdaps_temp2_show() 395 return sprintf(buf, "%u\n", KEYBD_ISSET(km_activity)); in hdaps_keyboard_activity_show() 402 return sprintf(buf, "%u\n", MOUSE_ISSET(km_activity)); in hdaps_mouse_activity_show() 408 return sprintf(buf, "(%d,%d)\n", rest_x, rest_y); in hdaps_calibrate_show() 425 return sprintf(buf, "%u\n", hdaps_invert); in hdaps_invert_show()
|
/kernel/linux/linux-6.6/drivers/edac/ |
H A D | edac_device_sysfs.c | 35 return sprintf(data, "%u\n", ctl_info->log_ue); in edac_device_ctl_log_ue_show() 52 return sprintf(data, "%u\n", ctl_info->log_ce); in edac_device_ctl_log_ce_show() 69 return sprintf(data, "%u\n", ctl_info->panic_on_ue); in edac_device_ctl_panic_on_ue_show() 86 return sprintf(data, "%u\n", ctl_info->poll_msec); in edac_device_ctl_poll_msec_show() 312 return sprintf(data, "%u\n", instance->counters.ue_count); in instance_ue_count_show() 318 return sprintf(data, "%u\n", instance->counters.ce_count); in instance_ce_count_show() 420 return sprintf(data, "%u\n", block->counters.ue_count); in block_ue_count_show() 428 return sprintf(data, "%u\n", block->counters.ce_count); in block_ce_count_show()
|
/third_party/libwebsockets/lib/roles/ws/ |
H A D | client-ws.c | 167 p += sprintf(p, "Upgrade: websocket\x0d\x0a" in lws_generate_client_ws_handshake() 172 p += sprintf(p, "\x0d\x0a"); in lws_generate_client_ws_handshake() 174 p += sprintf(p, "Sec-WebSocket-Protocol: %s\x0d\x0a", in lws_generate_client_ws_handshake() 204 p += sprintf(p, "Sec-WebSocket-Extensions: "); in lws_generate_client_ws_handshake() 205 p += sprintf(p, "%s", ext->client_offer); in lws_generate_client_ws_handshake() 211 p += sprintf(p, "\x0d\x0a"); in lws_generate_client_ws_handshake() 215 p += sprintf(p, "Sec-WebSocket-Version: %d\x0d\x0a", in lws_generate_client_ws_handshake() 221 n = sprintf(buf, "%s258EAFA5-E914-47DA-95CA-C5AB0DC85B11", in lws_generate_client_ws_handshake()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 333 // int sprintf(char *, const char *, ...) - a very rough implementation to make 349 sprintf(OutputBuffer++, "%c", *FmtStr++); in lle_X_sprintf() 352 sprintf(OutputBuffer, "%c%c", *FmtStr, *(FmtStr+1)); in lle_X_sprintf() 375 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf() 391 sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal.getZExtValue()); in lle_X_sprintf() 393 sprintf(Buffer, FmtBuf,uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf() 396 sprintf(Buffer, FmtBuf, Args[ArgNo++].DoubleVal); break; in lle_X_sprintf() 398 sprintf(Buffer, FmtBuf, (void*)GVTOP(Args[ArgNo++])); break; in lle_X_sprintf() 400 sprintf(Buffer, FmtBuf, (char*)GVTOP(Args[ArgNo++])); break; in lle_X_sprintf()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | lm93.c | 1107 return sprintf(buf, "%d\n", LM93_IN_FROM_REG(nr, data->block3[nr])); in in_show() 1141 return sprintf(buf, "%ld\n", rc); in in_min_show() 1206 return sprintf(buf, "%ld\n", rc); in in_max_show() 1262 return sprintf(buf, "%d\n", LM93_TEMP_FROM_REG(data->block2[nr])); in temp_show() 1274 return sprintf(buf, "%d\n", LM93_TEMP_FROM_REG(data->temp_lim[nr].min)); in temp_min_show() 1307 return sprintf(buf, "%d\n", LM93_TEMP_FROM_REG(data->temp_lim[nr].max)); in temp_max_show() 1340 return sprintf(buf, "%d\n", LM93_TEMP_FROM_REG(data->block10.base[nr])); in temp_auto_base_show() 1373 return sprintf(buf, "%d\n", LM93_TEMP_FROM_REG(data->boost[nr])); in temp_auto_boost_show() 1408 return sprintf(buf, "%d\n", in temp_auto_boost_hyst_show() 1450 return sprintf(bu in temp_auto_offset_show() [all...] |
H A D | f71882fg.c | 517 return sprintf(buf, "%s\n", f71882fg_names[data->type]); in name_show() 545 return sprintf(buf, "%d\n", temp); in show_temp() 554 return sprintf(buf, "%d\n", data->temp_high[nr] * 1000); in show_temp_max() 594 return sprintf(buf, "%d\n", temp_max_hyst); in show_temp_max_hyst() 639 return sprintf(buf, "1\n"); in show_temp_alarm() 641 return sprintf(buf, "0\n"); in show_temp_alarm() 650 return sprintf(buf, "%d\n", data->temp_ovt[nr] * 1000); in show_temp_crit() 690 return sprintf(buf, "%d\n", temp_crit_hyst); in show_temp_crit_hyst() 700 return sprintf(buf, "1\n"); in show_temp_fault() 702 return sprintf(bu in show_temp_fault() [all...] |
H A D | fschmd.c | 328 return sprintf(buf, "%d\n", (data->volt[index] * dmi_vref * in in_value_show() 331 return sprintf(buf, "%d\n", (data->volt[index] * in in_value_show() 344 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_act[index])); in temp_value_show() 353 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[index])); in temp_max_show() 388 return sprintf(buf, "0\n"); in temp_fault_show() 390 return sprintf(buf, "1\n"); in temp_fault_show() 401 return sprintf(buf, "1\n"); in temp_alarm_show() 403 return sprintf(buf, "0\n"); in temp_alarm_show() 415 return sprintf(buf, "%u\n", RPM_FROM_REG(data->fan_act[index])); in fan_value_show() 425 return sprintf(bu in fan_div_show() [all...] |
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A D | ps.c | 476 sprintf(out, fmt, ll); in string_field() 492 if (which>=PS_COMM && !*out) sprintf(out = buf, "[%s]", tb->str); in string_field() 496 sprintf(out, "%lld", ll); in string_field() 525 s += sprintf(s, j ? "%0*ld": "%*ld", pad, (long)(seconds/unit)); in string_field() 533 sprintf(s, ".%02lld", (100*(ll%TT.ticks))/TT.ticks); in string_field() 543 sprintf(out, "%d", sl/10); in string_field() 544 if (which!=PS_C && sl<1000) sprintf(out+strlen(out), ".%d", sl%10); in string_field() 558 if (TT.forcek) sprintf(out, "%lldk", ll/1024); in string_field() 563 } else if (which==PS_F) sprintf(out, "%llo", (slot[SLOT_flags]>>6)&5); in string_field() 587 } else if (which==PS_PCY) sprintf(ou in string_field() [all...] |
/kernel/linux/linux-5.10/drivers/misc/ |
H A D | apds990x.c | 644 ret = sprintf(buf, "%d.%d\n", in apds990x_lux_show() 656 return sprintf(buf, "%u\n", APDS_RANGE); in apds990x_lux_range_show() 664 return sprintf(buf, "%u\n", APDS_CALIB_SCALER); in apds990x_lux_calib_format_show() 675 return sprintf(buf, "%u\n", chip->lux_calib); in apds990x_lux_calib_show() 705 pos += sprintf(buf + pos, "%d ", arates_hz[i]); in apds990x_rate_avail() 706 sprintf(buf + pos - 1, "\n"); in apds990x_rate_avail() 715 return sprintf(buf, "%d\n", chip->arate); in apds990x_rate_show() 779 ret = sprintf(buf, "%d\n", chip->prox_data); in apds990x_prox_show() 789 return sprintf(buf, "%u\n", APDS_PROX_RANGE); in apds990x_prox_range_show() 799 return sprintf(bu in apds990x_prox_enable_show() [all...] |
/kernel/linux/linux-6.6/drivers/misc/ |
H A D | apds990x.c | 644 ret = sprintf(buf, "%d.%d\n", in apds990x_lux_show() 656 return sprintf(buf, "%u\n", APDS_RANGE); in apds990x_lux_range_show() 664 return sprintf(buf, "%u\n", APDS_CALIB_SCALER); in apds990x_lux_calib_format_show() 675 return sprintf(buf, "%u\n", chip->lux_calib); in apds990x_lux_calib_show() 705 pos += sprintf(buf + pos, "%d ", arates_hz[i]); in apds990x_rate_avail() 706 sprintf(buf + pos - 1, "\n"); in apds990x_rate_avail() 715 return sprintf(buf, "%d\n", chip->arate); in apds990x_rate_show() 779 ret = sprintf(buf, "%d\n", chip->prox_data); in apds990x_prox_show() 789 return sprintf(buf, "%u\n", APDS_PROX_RANGE); in apds990x_prox_range_show() 799 return sprintf(bu in apds990x_prox_enable_show() [all...] |