/kernel/linux/linux-5.10/arch/um/kernel/skas/ |
H A D | uaccess.c | 226 static int strnlen_chunk(unsigned long str, int len, void *arg) in strnlen_chunk() argument 230 n = strnlen((void *) str, len); in strnlen_chunk() 238 long __strnlen_user(const void __user *str, long len) in __strnlen_user() argument 243 return strnlen((__force char*)str, len) + 1; in __strnlen_user() 245 n = buffer_op((unsigned long) str, len, 0, strnlen_chunk, &count); in __strnlen_user()
|
/kernel/linux/linux-5.10/arch/x86/entry/vsyscall/ |
H A D | vsyscall_64.c | 54 static int __init vsyscall_setup(char *str) in vsyscall_setup() argument 56 if (str) { in vsyscall_setup() 57 if (!strcmp("emulate", str)) in vsyscall_setup() 59 else if (!strcmp("xonly", str)) in vsyscall_setup() 61 else if (!strcmp("none", str)) in vsyscall_setup()
|
/kernel/linux/linux-5.10/Documentation/sphinx/ |
H A D | kerneldoc.py | 94 export_file_patterns = str(self.options.get('export')).split() 97 export_file_patterns = str(self.options.get('internal')).split() 99 cmd += ['-function', str(self.options.get('doc'))] 151 doc = env.srcdir + "/" + env.docname + ":" + str(self.lineno) 162 (" ".join(cmd), str(e)))
|
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | earlycon.c | 135 efi_earlycon_write(struct console *con, const char *str, unsigned int num) in efi_earlycon_write() argument 149 for (s = str; *s && *s != '\n'; s++) { in efi_earlycon_write() 166 s = str; in efi_earlycon_write() 181 str += count; in efi_earlycon_write() 186 str++; in efi_earlycon_write()
|
/kernel/linux/linux-6.6/arch/arm/include/debug/ |
H A D | brcmstb.S | 56 str \rv, [\tmp] 100 91: str \rp, [\tmp, #4] @ Store in brcmstb_uart_phys 103 str \rp, [\tmp, #8] @ Store 0 in brcmstb_uart_virt 107 str \rv, [\tmp, #8] @ Store in brcmstb_uart_virt 122 str \rd, \rx
|
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-wiimote-debug.c | 101 const char *str = NULL; in wiidebug_drm_show() local 110 str = wiidebug_drmmap[drm]; in wiidebug_drm_show() 111 if (!str) in wiidebug_drm_show() 112 str = "unknown"; in wiidebug_drm_show() 114 seq_printf(f, "%s\n", str); in wiidebug_drm_show()
|
/kernel/linux/linux-5.10/tools/testing/kunit/ |
H A D | kunit_kernel.py | 41 raise ConfigError('Could not call make command: ' + str(e)) 54 raise ConfigError('Could not call make command: ' + str(e)) 81 command = ['make', 'ARCH=um', '--jobs=' + str(jobs)] 91 raise BuildError('Could not call make command: ' + str(e)) 161 ', '.join([str(e) for e in invalid])
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | hp_sdc.h | 165 #define HP_SDC_XTD_REV_STRINGS(val, str) \ 167 case 0x1: str = "1820-3712"; break; \ 168 case 0x2: str = "1820-4379"; break; \ 169 case 0x3: str = "1820-4784"; break; \ 170 default: str = "unknown"; \
|
/kernel/linux/linux-6.6/fs/erofs/ |
H A D | sysfs.c | 209 char *str = NULL; in erofs_register_sysfs() local 214 str = kasprintf(GFP_KERNEL, "%s,%s", sbi->domain_id, in erofs_register_sysfs() 216 if (!str) in erofs_register_sysfs() 218 name = str; in erofs_register_sysfs() 228 kfree(str); in erofs_register_sysfs()
|
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | misc.c | 24 * @str: string to compare with a pattern 30 int match_pattern(const char *str, size_t len, const char *pattern) in match_pattern() argument 32 const char *s = str; in match_pattern() 45 str = s; in match_pattern() 58 str++; in match_pattern() 59 s = str; in match_pattern()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | hp_sdc.h | 165 #define HP_SDC_XTD_REV_STRINGS(val, str) \ 167 case 0x1: str = "1820-3712"; break; \ 168 case 0x2: str = "1820-4379"; break; \ 169 case 0x3: str = "1820-4784"; break; \ 170 default: str = "unknown"; \
|
/kernel/linux/linux-6.6/drivers/usb/common/ |
H A D | common.c | 183 static enum usb_dr_mode usb_get_dr_mode_from_string(const char *str) in usb_get_dr_mode_from_string() argument 187 ret = match_string(usb_dr_modes, ARRAY_SIZE(usb_dr_modes), str); in usb_get_dr_mode_from_string() 213 const char *str; in usb_get_role_switch_default_mode() local 216 ret = device_property_read_string(dev, "role-switch-default-mode", &str); in usb_get_role_switch_default_mode() 220 return usb_get_dr_mode_from_string(str); in usb_get_role_switch_default_mode()
|
/kernel/linux/linux-6.6/arch/x86/entry/vsyscall/ |
H A D | vsyscall_64.c | 54 static int __init vsyscall_setup(char *str) in vsyscall_setup() argument 56 if (str) { in vsyscall_setup() 57 if (!strcmp("emulate", str)) in vsyscall_setup() 59 else if (!strcmp("xonly", str)) in vsyscall_setup() 61 else if (!strcmp("none", str)) in vsyscall_setup()
|
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-wiimote-debug.c | 101 const char *str = NULL; in wiidebug_drm_show() local 110 str = wiidebug_drmmap[drm]; in wiidebug_drm_show() 111 if (!str) in wiidebug_drm_show() 112 str = "unknown"; in wiidebug_drm_show() 114 seq_printf(f, "%s\n", str); in wiidebug_drm_show()
|
/kernel/linux/linux-6.6/tools/power/x86/intel-speed-select/ |
H A D | isst-daemon.c | 149 char str[10]; local 217 snprintf(str, sizeof(str), "%d\n", getpid()); 218 ret = write(pid_file_handle, str, strlen(str));
|
/test/xts/acts/graphic/graphicnapitest/ |
H A D | ConsumerSurfaceTest.cpp | 146 char str[stringLengthMax] = {}; in HWTEST_F() 148 auto secRet = snprintf_s(str, sizeof(str), sizeof(str) - 1, "%s%d", FuncName.c_str(), i); in HWTEST_F() 150 strs[i] = str; in HWTEST_F()
|
H A D | ProducerSurfaceTest.cpp | 151 char str[stringLengthMax] = {}; in HWTEST_F() 153 auto secRet = snprintf_s(str, sizeof(str), sizeof(str) - 1, "%s%d", FuncName.c_str(), i); in HWTEST_F() 155 strs[i] = str; in HWTEST_F()
|
/third_party/benchmark/src/ |
H A D | console_reporter.cc | 58 std::string str = in PrintHeader() local 64 str += FormatString(" %10s", c.first.c_str()); in PrintHeader() 67 str += " UserCounters..."; in PrintHeader() 70 std::string line = std::string(str.length(), '-'); in PrintHeader() 71 GetOutputStream() << line << "\n" << str << "\n" << line << "\n"; in PrintHeader()
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
H A D | RBICUExporter.java | 139 * @param str The string to escape 143 protected String escapeString(String str, boolean isKey) throws IOException { in escapeString() argument 145 int len = str.length(); in escapeString() 148 int ch = str.charAt(idx); in escapeString() 151 IOException e = new IOException(str + " needs to use invariant characters for the key."); in escapeString() 159 int ch2 = str.charAt(idx++); in escapeString()
|
/third_party/mesa3d/.gitlab-ci/bin/ |
H A D | ci_run_n_monitor.py | 64 def get_gitlab_project(glab, name: str): 71 def wait_for_pipeline(project, sha: str): 123 project, pipeline, target_job: Optional[str], dependencies, force_manual: bool 261 def read_token(token_arg: Optional[str]) -> str:
|
/third_party/mesa3d/src/freedreno/afuc/ |
H A D | parser.y | 108 label(const char *str) 110 instr->label = str; 118 const char *str; 124 %token <str> T_LABEL_DECL 125 %token <str> T_LABEL_REF
|
/third_party/ltp/testcases/kernel/fs/mongo/ |
H A D | reiser_fract_tree.c | 137 void get_name_by_number(long this_files_number, char *str) in get_name_by_number() argument 139 sprintf(str, "%lu", this_files_number); in get_name_by_number() 146 char *str = string; in make_file() local 170 get_name_by_number(this_files_number++, str); in make_file() 173 strcat(fname, str); in make_file()
|
/third_party/node/deps/v8/src/d8/ |
H A D | d8-console.cc | 25 v8::String::Utf8Value str(isolate, str_obj); in WriteToFile() 26 int n = static_cast<int>(fwrite(*str, sizeof(**str), str.length(), file)); in WriteToFile() 27 if (n != str.length()) { in WriteToFile()
|
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
H A D | enums2names.py | 92 type=str, 97 type=str, 103 type=str, 109 type=str, 272 pkk_fatal(str(e))
|
/third_party/rust/crates/clap/src/builder/ |
H A D | os_str.rs | 123 impl From<&'static str> for OsStr { 124 fn from(name: &'static str) -> Self { in from() 129 impl From<&'_ &'static str> for OsStr { in from() 130 fn from(name: &'_ &'static str) -> Self { in from() 184 impl PartialEq<str> for OsStr { 186 fn eq(&self, other: &str) -> bool { in eq() 190 impl PartialEq<OsStr> for str { 197 impl PartialEq<&'_ str> for OsStr { 199 fn eq(&self, other: &&str) -> bool { in eq() 203 impl PartialEq<OsStr> for &'_ str { [all...] |