Home
last modified time | relevance | path

Searched refs:sprintf (Results 351 - 375 of 5318) sorted by relevance

1...<<11121314151617181920>>...213

/third_party/protobuf/php/src/Google/Protobuf/Internal/FieldOptions/
H A DCType.php38 throw new UnexpectedValueException(sprintf(
49 throw new UnexpectedValueException(sprintf(
/third_party/protobuf/php/src/Google/Protobuf/Internal/MethodOptions/
H A DIdempotencyLevel.php44 throw new UnexpectedValueException(sprintf(
55 throw new UnexpectedValueException(sprintf(
/third_party/protobuf/php/src/Google/Protobuf/Internal/FileOptions/
H A DOptimizeMode.php44 throw new UnexpectedValueException(sprintf(
55 throw new UnexpectedValueException(sprintf(
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dadm1025.c168 return sprintf(buf, "%u\n", IN_FROM_REG(data->in[index], in in_show()
177 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[index], in in_min_show()
186 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_max[index], in in_max_show()
195 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[index])); in temp_show()
203 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[index])); in temp_min_show()
211 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[index])); in temp_max_show()
330 return sprintf(buf, "%u\n", data->alarms); in alarms_show()
339 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in alarm_show()
355 return sprintf(buf, "%u\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show()
363 return sprintf(bu in vrm_show()
[all...]
H A Dabx500.c110 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 Dvt8231.c189 return sprintf(buf, "%d\n", ((data->in[nr] - 3) * 10000) / 958); in in_show()
199 return sprintf(buf, "%d\n", ((data->in_min[nr] - 3) * 10000) / 958); in in_min_show()
209 return sprintf(buf, "%d\n", (((data->in_max[nr] - 3) * 10000) / 958)); in in_max_show()
258 return sprintf(buf, "%d\n", in in5_input_show()
267 return sprintf(buf, "%d\n", in in5_min_show()
276 return sprintf(buf, "%d\n", in in5_max_show()
345 return sprintf(buf, "%d\n", data->temp[0] * 250); in temp1_input_show()
352 return sprintf(buf, "%d\n", data->temp_max[0] * 1000); in temp1_max_show()
359 return sprintf(buf, "%d\n", data->temp_min[0] * 1000); in temp1_max_hyst_show()
405 return sprintf(bu in temp_show()
[all...]
/kernel/linux/linux-5.10/drivers/s390/cio/
H A Dchp.c114 sprintf(dbf_text, on?"varyon%x.%02x":"varyoff%x.%02x", chpid.cssid, in s390_vary_chpid()
242 return status ? sprintf(buf, "online\n") : sprintf(buf, "offline\n"); in chp_status_show()
323 return sprintf(buf, "%x\n", type); in chp_type_show()
336 return sprintf(buf, "unknown\n"); in chp_cmg_show()
337 return sprintf(buf, "%x\n", chp->cmg); in chp_cmg_show()
350 return sprintf(buf, "unknown\n"); in chp_shared_show()
351 return sprintf(buf, "%x\n", chp->shared); in chp_shared_show()
364 rc = sprintf(buf, "%04x\n", chp->desc_fmt1.chid); in chp_chid_show()
381 rc = sprintf(bu in chp_chid_external_show()
[all...]
/kernel/linux/linux-5.10/fs/gfs2/
H A Dsys.c323 return sprintf(buf, "%s\n", ops->lm_proto_name); in proto_name_show()
334 ret = sprintf(buf, "%d\n", val); in block_show()
363 return sprintf(buf, "%d\n", val); in wdack_show()
385 return sprintf(buf, "%d\n", ls->ls_first); in lkfirst_show()
418 return sprintf(buf, "%d\n", !!test_bit(DFL_FIRST_MOUNT_DONE, &ls->ls_recover_flags)); in first_done_show()
476 return sprintf(buf, "%d\n", ls->ls_recover_jid_done); in recover_done_show()
482 return sprintf(buf, "%d\n", ls->ls_recover_jid_status); in recover_status_show()
487 return sprintf(buf, "%d\n", sdp->sd_lockstruct.ls_jid); in jid_show()
655 sprintf(ro, "RDONLY=%d", sb_rdonly(sb)); in gfs2_sys_fs_add()
656 sprintf(spectato in gfs2_sys_fs_add()
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dmsi-laptop.c320 return sprintf(buf, "%i\n", enabled); in show_wlan()
344 return sprintf(buf, "%i\n", enabled); in show_bluetooth()
367 return sprintf(buf, "%i\n", threeg_s); in show_threeg()
386 return sprintf(buf, "%i\n", ret); in show_lcd_level()
416 return sprintf(buf, "%i\n", ret); in show_auto_brightness()
446 return sprintf(buf, "%i\n", !!(rdata & MSI_STANDARD_EC_TOUCHPAD_MASK)); in show_touchpad()
460 return sprintf(buf, "%i\n", !!(rdata & MSI_STANDARD_EC_TURBO_MASK)); in show_turbo()
474 return sprintf(buf, "%i\n", !!(rdata & MSI_STANDARD_EC_ECO_MASK)); in show_eco()
488 return sprintf(buf, "%i\n", (!!(rdata & MSI_STANDARD_EC_TURBO_MASK)) | in show_turbo_cooldown()
503 return sprintf(bu in show_auto_fan()
[all...]
H A Dhdaps.c350 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/hwmon/
H A Dadm1025.c168 return sprintf(buf, "%u\n", IN_FROM_REG(data->in[index], in in_show()
177 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[index], in in_min_show()
186 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_max[index], in in_max_show()
195 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[index])); in temp_show()
203 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[index])); in temp_min_show()
211 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[index])); in temp_max_show()
330 return sprintf(buf, "%u\n", data->alarms); in alarms_show()
339 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in alarm_show()
355 return sprintf(buf, "%u\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show()
363 return sprintf(bu in vrm_show()
[all...]
/third_party/backends/backend/
H A Dplustek-usbcalfile.c277 sprintf( tmp, "%u", buffer[c] ); in usb_ReadSamples()
351 sprintf( bd, "%u=", param->bBitDepth ); in usb_CreatePrefix()
386 sprintf( tmp, "%s-coarse.cal", dev->calFile ); in usb_ReadAndSetCalData()
505 sprintf( fn, "%s-coarse.cal", dev->calFile ); in usb_SaveCalData()
513 sprintf( set_tmp, "%s%u,%u,%u,%u,%u,%u," in usb_SaveCalData()
591 sprintf( fn, "%s-fine.cal", dev->calFile ); in usb_SaveFineCalData()
596 sprintf( tmp, "%s:%u", pfx, dpi ); in usb_SaveFineCalData()
677 sprintf( tmp, "%s-fine.cal", dev->calFile ); in usb_ReadFineCalData()
711 sprintf( tmp, "%s:%u:%s:dim=", pfx, dpi, "dark" ); in usb_ReadFineCalData()
718 sprintf( tm in usb_ReadFineCalData()
[all...]
/third_party/icu/icu4c/source/test/iotest/
H A Dstrtst.c58 /* 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...]
/kernel/linux/linux-5.10/drivers/scsi/ufs/
H A Dufs-sysfs.c63 return sprintf(buf, "%d\n", hba->rpm_lvl); in rpm_lvl_show()
77 return sprintf(buf, "%s\n", ufschd_ufs_dev_pwr_mode_to_string( in rpm_target_dev_state_show()
86 return sprintf(buf, "%s\n", ufschd_uic_link_state_to_string( in rpm_target_link_state_show()
95 return sprintf(buf, "%d\n", hba->spm_lvl); in spm_lvl_show()
109 return sprintf(buf, "%s\n", ufschd_ufs_dev_pwr_mode_to_string( in spm_target_dev_state_show()
118 return sprintf(buf, "%s\n", ufschd_uic_link_state_to_string( in spm_target_link_state_show()
229 ret = sprintf(sysfs_buf, "0x%02X\n", *desc_buf); in ufs_sysfs_read_desc_param()
232 ret = sprintf(sysfs_buf, "0x%04X\n", in ufs_sysfs_read_desc_param()
236 ret = sprintf(sysfs_buf, "0x%08X\n", in ufs_sysfs_read_desc_param()
240 ret = sprintf(sysfs_bu in ufs_sysfs_read_desc_param()
[all...]
/kernel/linux/linux-5.10/drivers/edac/
H A Dedac_device_sysfs.c35 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 Dtraps.c404 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 Dtraps.c404 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/video/backlight/
H A Dbacklight.c186 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 Dhdaps.c350 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 Dad7816.c127 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 Dad7816.c127 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 Dbacklight.c186 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/edac/
H A Dedac_device_sysfs.c35 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 Dclient-ws.c167 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 DExternalFunctions.cpp333 // 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()

Completed in 21 milliseconds

1...<<11121314151617181920>>...213