Home
last modified time | relevance | path

Searched refs:str (Results 1826 - 1850 of 12540) sorted by relevance

1...<<71727374757677787980>>...502

/kernel/linux/linux-6.6/arch/m68k/apollo/
H A Dconfig.c118 void dn_serial_console_write (struct console *co, const char *str,unsigned int count) in dn_serial_console_write() argument
121 if (*str == '\n') { in dn_serial_console_write()
126 sio01.rhrb_thrb = (unsigned char)*str++; in dn_serial_console_write()
132 void dn_serial_print (const char *str) in dn_serial_print() argument
134 while (*str) { in dn_serial_print()
135 if (*str == '\n') { in dn_serial_print()
140 sio01.rhrb_thrb = (unsigned char)*str++; in dn_serial_print()
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Dhead-common.S112 str r9, [r0] @ Save processor ID
113 str r7, [r1] @ Save machine type
114 str r8, [r2] @ Save atags pointer
232 str r3, [r0], #4
233 str r3, [r0], #4
234 str r3, [r0], #4
235 str r3, [r0], #4
/kernel/linux/linux-6.6/arch/parisc/boot/compressed/
H A Dmisc.c157 char str[40]; in print_num() local
158 int i = sizeof(str)-1; in print_num()
160 str[i--] = '\0'; in print_num()
162 str[i--] = hex[num % base]; in print_num()
167 str[i--] = 'x'; in print_num()
168 str[i] = '0'; in print_num()
170 puts(&str[i]); in print_num()
/kernel/linux/linux-5.10/drivers/mtd/devices/
H A Dphram.c189 static inline void kill_final_newline(char *str) in kill_final_newline() argument
191 char *newline = strrchr(str, '\n'); in kill_final_newline()
218 char buf[64 + 20 + 20], *str = buf; in phram_setup() local
228 strcpy(str, val); in phram_setup()
229 kill_final_newline(str); in phram_setup()
232 token[i] = strsep(&str, ","); in phram_setup()
234 if (str) in phram_setup()
/kernel/linux/linux-5.10/drivers/s390/char/
H A Dzcore.c177 static char str[18]; in zcore_hsa_read() local
180 snprintf(str, sizeof(str), "%lx\n", sclp.hsa_size); in zcore_hsa_read()
182 snprintf(str, sizeof(str), "0\n"); in zcore_hsa_read()
183 return simple_read_from_buffer(buf, count, ppos, str, strlen(str)); in zcore_hsa_read()
/kernel/linux/linux-5.10/security/tomoyo/
H A Drealpath.c15 * @str: String in binary format.
16 * @str_len: Size of @str in byte.
18 * Returns pointer to @str in ascii format on success, NULL otherwise.
23 char *tomoyo_encode2(const char *str, int str_len) in tomoyo_encode2() argument
27 const char *p = str; in tomoyo_encode2()
49 p = str; in tomoyo_encode2()
71 * @str: String in binary format.
73 * Returns pointer to @str in ascii format on success, NULL otherwise.
78 char *tomoyo_encode(const char *str) in tomoyo_encode() argument
80 return str in tomoyo_encode()
[all...]
/kernel/linux/linux-5.10/drivers/xen/
H A Dmanage.c222 char *str; in shutdown_handler() local
235 str = (char *)xenbus_read(xbt, "control", "shutdown", NULL); in shutdown_handler()
237 if (XENBUS_IS_ERR_READ(str)) { in shutdown_handler()
243 if (strcmp(str, shutdown_handlers[idx].command) == 0) in shutdown_handler()
253 kfree(str); in shutdown_handler()
260 pr_info("Ignoring shutdown request: %s\n", str); in shutdown_handler()
264 kfree(str); in shutdown_handler()
/kernel/linux/linux-5.10/kernel/bpf/
H A Dtnum.c172 int tnum_strn(char *str, size_t size, struct tnum a) in tnum_strn() argument
174 return snprintf(str, size, "(%#llx; %#llx)", a.value, a.mask); in tnum_strn()
178 int tnum_sbin(char *str, size_t size, struct tnum a) in tnum_sbin() argument
185 str[n - 1] = 'x'; in tnum_sbin()
187 str[n - 1] = '1'; in tnum_sbin()
189 str[n - 1] = '0'; in tnum_sbin()
194 str[min(size - 1, (size_t)64)] = 0; in tnum_sbin()
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/
H A Dvpdma.h200 #define ADB_ADDR(dma_buf, str, fld) ((dma_buf)->addr + offsetof(str, fld))
201 #define MMR_ADB_ADDR(buf, str, fld) ADB_ADDR(&(buf), struct str, fld)
203 #define VPDMA_SET_MMR_ADB_HDR(buf, str, hdr, regs, offset_a) \
206 struct str *adb = NULL; \
207 h = MMR_ADB_ADDR(buf, str, hdr); \
/kernel/linux/linux-6.6/drivers/media/platform/ti/vpe/
H A Dvpdma.h200 #define ADB_ADDR(dma_buf, str, fld) ((dma_buf)->addr + offsetof(str, fld))
201 #define MMR_ADB_ADDR(buf, str, fld) ADB_ADDR(&(buf), struct str, fld)
203 #define VPDMA_SET_MMR_ADB_HDR(buf, str, hdr, regs, offset_a) \
206 struct str *adb = NULL; \
207 h = MMR_ADB_ADDR(buf, str, hdr); \
/kernel/linux/linux-6.6/drivers/xen/
H A Dmanage.c223 char *str; in shutdown_handler() local
236 str = (char *)xenbus_read(xbt, "control", "shutdown", NULL); in shutdown_handler()
238 if (XENBUS_IS_ERR_READ(str)) { in shutdown_handler()
244 if (strcmp(str, shutdown_handlers[idx].command) == 0) in shutdown_handler()
254 kfree(str); in shutdown_handler()
261 pr_info("Ignoring shutdown request: %s\n", str); in shutdown_handler()
265 kfree(str); in shutdown_handler()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dtnum.c175 int tnum_strn(char *str, size_t size, struct tnum a) in tnum_strn() argument
177 return snprintf(str, size, "(%#llx; %#llx)", a.value, a.mask); in tnum_strn()
181 int tnum_sbin(char *str, size_t size, struct tnum a) in tnum_sbin() argument
188 str[n - 1] = 'x'; in tnum_sbin()
190 str[n - 1] = '1'; in tnum_sbin()
192 str[n - 1] = '0'; in tnum_sbin()
197 str[min(size - 1, (size_t)64)] = 0; in tnum_sbin()
/kernel/linux/linux-6.6/security/tomoyo/
H A Drealpath.c15 * @str: String in binary format.
16 * @str_len: Size of @str in byte.
18 * Returns pointer to @str in ascii format on success, NULL otherwise.
23 char *tomoyo_encode2(const char *str, int str_len) in tomoyo_encode2() argument
27 const char *p = str; in tomoyo_encode2()
49 p = str; in tomoyo_encode2()
71 * @str: String in binary format.
73 * Returns pointer to @str in ascii format on success, NULL otherwise.
78 char *tomoyo_encode(const char *str) in tomoyo_encode() argument
80 return str in tomoyo_encode()
[all...]
/third_party/ffmpeg/libavformat/
H A Dicecast.c57 { "ice_genre", "set stream genre", OFFSET(genre), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E },
58 { "ice_name", "set stream description", OFFSET(name), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E },
59 { "ice_description", "set stream description", OFFSET(description), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E },
60 { "ice_url", "set stream website", OFFSET(url), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E },
62 { "user_agent", "override User-Agent header", OFFSET(user_agent), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E },
63 { "password", "set password", OFFSET(pass), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E },
64 { "content_type", "set content-type, MUST be set if not audio/mpeg", OFFSET(content_type), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E },
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/text/
H A DRbnfScannerProviderImpl.java142 public int[] findText(String str, String key, int startingAt) { in findText() argument
153 while (p < str.length() && keyLen == 0) { in findText()
154 keyLen = prefixLength(str.substring(p), key); in findText()
170 public int[] findText2(String str, String key, int startingAt) { in findText2() argument
172 CollationElementIterator strIter = collator.getCollationElementIterator(str); in findText2()
219 public int prefixLength(String str, String prefix) { in prefixLength() argument
229 CollationElementIterator strIter = collator.getCollationElementIterator(str); in prefixLength()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
H A DUScriptRun.java245 * @param str the new string of characters over which to iterate.
253 public final void reset(String str, int start, int count) in reset() argument
257 if (str != null) { in reset()
258 chars = str.toCharArray(); in reset()
268 * @param str the new string of characters over which to iterate.
274 public final void reset(String str) in reset() argument
278 if (str != null) { in reset()
279 length = str.length(); in reset()
282 reset(str, 0, length); in reset()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDataDrivenFormatTest.java99 String str = currentCase.getString("str"); in testConvertDate()
174 if(output.toString().equals(str)) { in testConvertDate()
177 errln(caseString + " FAIL: got " + output + " expected " + str); in testConvertDate()
182 format.parse(str, cal, pos); in testConvertDate()
186 logln(caseString + " SUCCESS: got=parse="+str); in testConvertDate()
188 errln(caseString + " FAIL: parsed " + str + " but got " + in testConvertDate()
198 logln(caseString + " SUCCESS: got=parse: " + str + " - " + fromSet.toString()); in testConvertDate()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/text/
H A DRbnfScannerProviderImpl.java144 public int[] findText(String str, String key, int startingAt) { in findText() argument
155 while (p < str.length() && keyLen == 0) { in findText()
156 keyLen = prefixLength(str.substring(p), key); in findText()
172 public int[] findText2(String str, String key, int startingAt) { in findText2() argument
174 CollationElementIterator strIter = collator.getCollationElementIterator(str); in findText2()
221 public int prefixLength(String str, String prefix) { in prefixLength() argument
231 CollationElementIterator strIter = collator.getCollationElementIterator(str); in prefixLength()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DDataDrivenFormatTest.java102 String str = currentCase.getString("str"); in testConvertDate()
177 if(output.toString().equals(str)) { in testConvertDate()
180 errln(caseString + " FAIL: got " + output + " expected " + str); in testConvertDate()
185 format.parse(str, cal, pos); in testConvertDate()
189 logln(caseString + " SUCCESS: got=parse="+str); in testConvertDate()
191 errln(caseString + " FAIL: parsed " + str + " but got " + in testConvertDate()
201 logln(caseString + " SUCCESS: got=parse: " + str + " - " + fromSet.toString()); in testConvertDate()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/lang/
H A DUScriptRun.java247 * @param str the new string of characters over which to iterate.
255 public final void reset(String str, int start, int count) in reset() argument
259 if (str != null) { in reset()
260 chars = str.toCharArray(); in reset()
270 * @param str the new string of characters over which to iterate.
276 public final void reset(String str) in reset() argument
280 if (str != null) { in reset()
281 length = str.length(); in reset()
284 reset(str, 0, length); in reset()
/third_party/jerryscript/tests/jerry/es2015/
H A Dclass.js16 function must_throw(str) {
18 eval("switch (1) { default: " + str + "}");
24 eval(str);
30 must_throw_strict(str);
33 function must_throw_strict(str) {
35 eval ("'use strict'; switch (1) { default: " + str + "}");
41 eval("'use strict'; " + str);
/third_party/json/tests/benchmarks/src/
H A Dbenchmarks.cpp58 std::string str((std::istreambuf_iterator<char>(f)), std::istreambuf_iterator<char>()); in ParseString()
66 *j = json::parse(str); in ParseString()
73 state.SetBytesProcessed(state.iterations() * str.size()); in ParseString()
92 std::string str((std::istreambuf_iterator<char>(f)), std::istreambuf_iterator<char>()); in Dump()
93 json j = json::parse(str); in Dump()
126 std::string str((std::istreambuf_iterator<char>(f)), std::istreambuf_iterator<char>()); in ToCbor()
127 json j = json::parse(str); in ToCbor()
/third_party/json/include/nlohmann/detail/
H A Dstring_concat.hpp31 inline std::size_t concat_length(const StringType& str, Args&& ... rest);
47 inline std::size_t concat_length(const StringType& str, Args&& ... rest) in concat_length() argument
49 return str.size() + concat_length(std::forward<Args>(rest)...); in concat_length()
139 OutStringType str; in concat() local
140 str.reserve(concat_length(std::forward<Args>(args)...)); in concat()
141 concat_into(str, std::forward<Args>(args)...); in concat()
142 return str; in concat()
/third_party/node/lib/internal/repl/
H A Dawait.js198 replace(from, to, str) {
202 if (from === to) str += wrappedArray[from];
203 wrappedArray[from] = str;
205 prepend(node, str) {
206 wrappedArray[node.start] = str + wrappedArray[node.start];
208 append(node, str) {
209 wrappedArray[node.end - 1] += str;
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Deck_prn.c67 static int print_bin(BIO *fp, const char *str, const unsigned char *num,
229 char str[128 + 1 + 4]; in print_bin() local
236 memset(str, ' ', off); in print_bin()
237 if (BIO_write(fp, str, off) <= 0) in print_bin()
248 str[0] = '\n'; in print_bin()
249 memset(&(str[1]), ' ', off + 4); in print_bin()
250 if (BIO_write(fp, str, off + 1 + 4) <= 0) in print_bin()

Completed in 15 milliseconds

1...<<71727374757677787980>>...502