/third_party/skia/infra/bots/recipes/ |
H A D | upload_buildstats_results.py | 40 'buildstats-json-v1', str(now.year).zfill(4), 41 str(now.month).zfill(2), str(now.day).zfill(2), str(now.hour).zfill(2), 46 str(api.vars.issue), str(api.vars.patchset)))
|
/third_party/vk-gl-cts/framework/egl/ |
H A D | egluStrUtil.hpp | 72 std::ostream& operator<< (std::ostream& str, const ConfigAttribValueFmt& attribFmt); 75 std::ostream& operator<< (std::ostream& str, const SurfaceAttribValueFmt& attribFmt); 78 std::ostream& operator<< (std::ostream& str, const ContextAttribValueFmt& attribFmt); 81 std::ostream& operator<< (std::ostream& str, const ConfigAttribListFmt& fmt); 84 std::ostream& operator<< (std::ostream& str, const SurfaceAttribListFmt& fmt); 87 std::ostream& operator<< (std::ostream& str, const ContextAttribListFmt& fmt);
|
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
H A D | skip_spaces.c | 7 char *skip_spaces(const char *str) in skip_spaces() argument 9 while (isspace(*str)) in skip_spaces() 10 ++str; in skip_spaces() 11 return (char *)str; in skip_spaces()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | dml_logger.h | 33 #define dml_print(str, ...) {DC_LOG_DML(str, ##__VA_ARGS__); } 34 #define DTRACE(str, ...) {DC_LOG_DML(str, ##__VA_ARGS__); }
|
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/ |
H A D | skip_spaces.c | 7 char *skip_spaces(const char *str) in skip_spaces() argument 9 while (isspace(*str)) in skip_spaces() 10 ++str; in skip_spaces() 11 return (char *)str; in skip_spaces()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | dml_logger.h | 33 #define dml_print(str, ...) {DC_LOG_DML(str, ##__VA_ARGS__); } 34 #define DTRACE(str, ...) {DC_LOG_DML(str, ##__VA_ARGS__); }
|
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/ |
H A D | bugs.c | 260 static int __init mds_cmdline(char *str) in mds_cmdline() argument 265 if (!str) in mds_cmdline() 268 if (!strcmp(str, "off")) in mds_cmdline() 270 else if (!strcmp(str, "full")) in mds_cmdline() 272 else if (!strcmp(str, "full,nosmt")) { in mds_cmdline() 362 static int __init tsx_async_abort_parse_cmdline(char *str) in tsx_async_abort_parse_cmdline() argument 367 if (!str) in tsx_async_abort_parse_cmdline() 370 if (!strcmp(str, "off")) { in tsx_async_abort_parse_cmdline() 372 } else if (!strcmp(str, "full")) { in tsx_async_abort_parse_cmdline() 374 } else if (!strcmp(str, "ful in tsx_async_abort_parse_cmdline() 462 mmio_stale_data_parse_cmdline(char *str) mmio_stale_data_parse_cmdline() argument 517 rfds_parse_cmdline(char *str) rfds_parse_cmdline() argument 687 srbds_parse_cmdline(char *str) srbds_parse_cmdline() argument 719 l1d_flush_parse_cmdline(char *str) l1d_flush_parse_cmdline() argument 854 gds_parse_cmdline(char *str) gds_parse_cmdline() argument 954 nospectre_v1_cmdline(char *str) nospectre_v1_cmdline() argument 999 retbleed_parse_cmdline(char *str) retbleed_parse_cmdline() argument 2392 l1tf_cmdline(char *str) l1tf_cmdline() argument 2451 srso_parse_cmdline(char *str) srso_parse_cmdline() argument [all...] |
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | xdp_sample_user.c | 663 char str[64]; in stats_get_rx_cnt() local 671 snprintf(str, sizeof(str), "cpu:%d", i); in stats_get_rx_cnt() 674 str, PPS(pps), DROP(drop), ERR(err)); in stats_get_rx_cnt() 710 char str[64]; in stats_get_cpumap_enqueue() local 712 snprintf(str, sizeof(str), "enqueue to cpu %d", to_cpu); in stats_get_cpumap_enqueue() 720 str, PPS(pps), DROP(drop), err, "bulk-avg"); in stats_get_cpumap_enqueue() 726 char str[64]; in stats_get_cpumap_enqueue() local 734 snprintf(str, sizeo in stats_get_cpumap_enqueue() 770 char str[64]; stats_get_cpumap_remote() local 807 char str[64]; stats_get_cpumap_kthread() local 837 char str[64]; stats_get_redirect_cnt() local 864 char str[64]; stats_get_redirect_err_cnt() local 928 char str[64]; stats_get_exception_cnt() local 964 char str[64]; stats_get_devmap_xmit() local 1020 char str[128]; stats_get_devmap_xmit_multi() local 1079 char str[64]; stats_get_devmap_xmit_multi() local 1106 const char *str; stats_print() local [all...] |
/third_party/mesa3d/src/mesa/main/tests/ |
H A D | program_state_string.cpp | 37 char *str = _mesa_program_state_string(state); in TEST() local 39 ASSERT_NE((void *) 0, str); in TEST() 40 EXPECT_STREQ("state.depth.range", str); in TEST() 42 free(str); in TEST()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
H A D | UCharacterSurrogateTest.java | 235 String str(String s, int start, int limit) { in TestCodePointCount() 248 errln("char[] " + str(s, start, limit) + "(" + val1 in TestCodePointCount() 251 errln("String " + str(s, start, limit) + "(" + val2 in TestCodePointCount() 254 logln(str(s, start, limit) + " == " + expected); in TestCodePointCount() 261 errln("unexpected success " + str(s, start, limit)); in TestCodePointCount() 264 warnln("bad exception " + str(s, start, limit) in TestCodePointCount() 296 String str(String s, int start, int count, int index, int offset) { in TestOffsetByCodePoints() 313 errln("char[] " + str(s, start, count, index, offset) + "(" in TestOffsetByCodePoints() 316 errln("String " + str(s, start, count, index, offset) + "(" in TestOffsetByCodePoints() 319 logln(str( in TestOffsetByCodePoints() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
H A D | UCharacterSurrogateTest.java | 243 String str(String s, int start, int limit) { in TestCodePointCount() 256 errln("char[] " + str(s, start, limit) + "(" + val1 in TestCodePointCount() 259 errln("String " + str(s, start, limit) + "(" + val2 in TestCodePointCount() 262 logln(str(s, start, limit) + " == " + expected); in TestCodePointCount() 269 errln("unexpected success " + str(s, start, limit)); in TestCodePointCount() 272 warnln("bad exception " + str(s, start, limit) in TestCodePointCount() 304 String str(String s, int start, int count, int index, int offset) { in TestOffsetByCodePoints() 321 errln("char[] " + str(s, start, count, index, offset) + "(" in TestOffsetByCodePoints() 324 errln("String " + str(s, start, count, index, offset) + "(" in TestOffsetByCodePoints() 327 logln(str( in TestOffsetByCodePoints() [all...] |
/third_party/libwebsockets/lib/secure-streams/system/auth-sigv4/ |
H A D | sign.c | 174 /* cut the last byte of the str */ 175 static inline int hash_update_bite_str(struct lws_genhash_ctx *ctx, const char * str) in hash_update_bite_str() argument 178 if ((ret = lws_genhash_update(ctx, (void *)str, strlen(str)-1))) { in hash_update_bite_str() 185 static inline int hash_update_str(struct lws_genhash_ctx *ctx, const char * str) in hash_update_str() argument 188 if ((ret = lws_genhash_update(ctx, (void *)str, strlen(str)))) { in hash_update_str() 471 char *str = NULL, *val = NULL, *line = NULL, sth[128]; in lws_aws_filesystem_credentials_helper() local 507 str = strchr(line, '='); in lws_aws_filesystem_credentials_helper() 508 if (!str) in lws_aws_filesystem_credentials_helper() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderLibrary.cpp | 167 float parseFloatLiteral(const char* str); 168 long long int parseIntLiteral(const char* str); 169 string parseStringLiteral(const char* str); 170 string parseShaderSource(const char* str); 209 float ShaderParser::parseFloatLiteral(const char* str) in parseFloatLiteral() argument 211 return (float)atof(str); in parseFloatLiteral() 214 long long int ShaderParser::parseIntLiteral(const char* str) in parseIntLiteral() argument 216 return strtoll(str, NULL, 0); in parseIntLiteral() 219 string ShaderParser::parseStringLiteral(const char* str) in parseStringLiteral() argument 221 const char* p = str; in parseStringLiteral() 299 parseShaderSource(const char* str) parseShaderSource() argument 373 const char* str; advanceToken() member 510 const char* str; advanceToken() member [all...] |
/third_party/rust/crates/strsim-rs/src/ |
H A D | lib.rs | 11 use std::str::Chars; 59 pub fn hamming(a: &str, b: &str) -> HammingResult { in hamming() 133 struct StringWrapper<'a>(&'a str); 153 pub fn jaro(a: &str, b: &str) -> f64 { in jaro() 188 pub fn jaro_winkler(a: &str, b: &str) -> f64 { in jaro_winkler() 236 pub fn levenshtein(a: &str, b: &str) [all...] |
/third_party/node/deps/openssl/config/archs/linux-armv4/asm_avx2/crypto/chacha/ |
H A D | chacha-armv4.S | 74 str r10,[sp,#4*(16+10)] @ off-load "rx" 75 str r11,[sp,#4*(16+11)] @ off-load "rx" 81 str r11,[sp,#4*(32+2)] @ save len 82 str r12, [sp,#4*(32+1)] @ save inp 83 str r14, [sp,#4*(32+0)] @ save out 89 str r11, [sp,#4*(16+15)] 118 str r10,[sp,#4*(16+13)] 122 str r8,[sp,#4*(16+8)] 126 str r9,[sp,#4*(16+9)] 170 str r1 [all...] |
/third_party/node/deps/openssl/config/archs/linux-armv4/asm/crypto/chacha/ |
H A D | chacha-armv4.S | 74 str r10,[sp,#4*(16+10)] @ off-load "rx" 75 str r11,[sp,#4*(16+11)] @ off-load "rx" 81 str r11,[sp,#4*(32+2)] @ save len 82 str r12, [sp,#4*(32+1)] @ save inp 83 str r14, [sp,#4*(32+0)] @ save out 89 str r11, [sp,#4*(16+15)] 118 str r10,[sp,#4*(16+13)] 122 str r8,[sp,#4*(16+8)] 126 str r9,[sp,#4*(16+9)] 170 str r1 [all...] |
/build/lite/ |
H A D | utils.py | 27 def encode(data, encoding: str = 'utf-8'): 33 def decode(data, encoding: str = 'utf-8'): 45 def read_json_file(input_file: str): 55 def exec_command(cmd: str, log_path: str = 'out/build.log', **kwargs): 78 def check_output(cmd: str, **kwargs): 91 def makedirs(path: str, exist_ok: bool = True):
|
/build/ohos/images/mkimage/ |
H A D | judge_updater_image.py | 20 def run_cmd(cmd: str): 28 def get_needed_lib(file_path: str) -> list: 33 print(" ".join(["pid ", str(res[0]), " ret ", str(res[1]), "\n", 45 def judge_lib_available(lib_name: str, lib_chain: list, available_libs: list, lib_to_path: dict) -> bool: 61 def judge_updater_available(updater_root_path: str) -> bool: 78 def judge_updater_img_available(updater_root_path: str) -> bool:
|
H A D | mkf2fsimage.py | 49 def run_cmd(cmd: str): 81 print("pid " + str(res[0]) + " ret " + str(res[1]) + "\n" + 115 print("pid " + str(res[0]) + " ret " + str(res[1]) + "\n" + 130 print("error run mkf2fs errno: " + str(res)) 134 print("error run sload.f2fs errno: " + str(res))
|
/build/tools/component_tools/static_check/bundle_check/ |
H A D | get_subsystem_with_component.py | 28 def get_subsystem_components(ohos_path: str): 71 def get_subsystem_components_modified(ohos_root: str) -> dict: 85 output_path: str, 86 output_name: str = "subsystem_component_path.json"): 101 parser.add_argument("project", help="project root path.", type=str) 103 help="specify an output path.", type=str) 118 def is_project(path: str) -> bool:
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
H A D | tape_proc.c | 43 const char *str; in tape_proc_show() local 67 str = tape_state_verbose[device->tape_state]; in tape_proc_show() 69 str = "UNKNOWN"; in tape_proc_show() 70 seq_printf(m, "%s\t", str); in tape_proc_show() 74 str = tape_op_verbose[request->op]; in tape_proc_show() 76 str = "---"; in tape_proc_show() 77 seq_printf(m, "%s\t", str); in tape_proc_show()
|
/kernel/linux/linux-5.10/sound/firewire/fireworks/ |
H A D | fireworks_midi.c | 82 struct snd_rawmidi_str *str) in set_midi_substream_names() 86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names() 105 struct snd_rawmidi_str *str; in snd_efw_create_midi_devices() local 125 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_efw_create_midi_devices() 127 set_midi_substream_names(efw, str); in snd_efw_create_midi_devices() 136 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_efw_create_midi_devices() 138 set_midi_substream_names(efw, str); in snd_efw_create_midi_devices() 81 set_midi_substream_names(struct snd_efw *efw, struct snd_rawmidi_str *str) set_midi_substream_names() argument
|
/kernel/linux/linux-5.10/sound/firewire/bebob/ |
H A D | bebob_midi.c | 82 struct snd_rawmidi_str *str) in set_midi_substream_names() 86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names() 106 struct snd_rawmidi_str *str; in snd_bebob_create_midi_devices() local 126 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_bebob_create_midi_devices() 128 set_midi_substream_names(bebob, str); in snd_bebob_create_midi_devices() 137 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_bebob_create_midi_devices() 139 set_midi_substream_names(bebob, str); in snd_bebob_create_midi_devices() 81 set_midi_substream_names(struct snd_bebob *bebob, struct snd_rawmidi_str *str) set_midi_substream_names() argument
|
/kernel/linux/linux-5.10/sound/pci/trident/ |
H A D | trident.c | 67 const char *str; in snd_trident_probe() local 94 str = "TRID4DWAVEDX"; in snd_trident_probe() 97 str = "TRID4DWAVENX"; in snd_trident_probe() 100 str = "SI7018"; in snd_trident_probe() 103 str = "Unknown"; in snd_trident_probe() 105 strcpy(card->driver, str); in snd_trident_probe() 111 strcat(card->shortname, str); in snd_trident_probe()
|
/kernel/linux/linux-5.10/sound/firewire/dice/ |
H A D | dice-midi.c | 86 struct snd_rawmidi_str *str) in set_midi_substream_names() 90 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names() 109 struct snd_rawmidi_str *str; in snd_dice_create_midi() local 141 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_dice_create_midi() 143 set_midi_substream_names(dice, str); in snd_dice_create_midi() 152 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_dice_create_midi() 154 set_midi_substream_names(dice, str); in snd_dice_create_midi() 85 set_midi_substream_names(struct snd_dice *dice, struct snd_rawmidi_str *str) set_midi_substream_names() argument
|