Home
last modified time | relevance | path

Searched refs:str (Results 201 - 225 of 12773) sorted by relevance

12345678910>>...511

/third_party/backends/sanei/
H A Dsanei_config.c166 sanei_config_skip_whitespace (const char *str) in sanei_config_skip_whitespace() argument
168 while (str && *str && isspace (*str)) in sanei_config_skip_whitespace()
169 ++str; in sanei_config_skip_whitespace()
170 return str; in sanei_config_skip_whitespace()
174 sanei_config_get_string (const char *str, char **string_const) in sanei_config_get_string() argument
179 str = sanei_config_skip_whitespace (str); in sanei_config_get_string()
181 if (*str in sanei_config_get_string()
207 sanei_config_read(char *str, int n, FILE *stream) sanei_config_read() argument
[all...]
/third_party/jerryscript/tests/unit-core/
H A Dtest-api-set-and-clear-error-flag.cpp78 jerry_value_t str = jerry_create_string (pterodactylus); in HWTEST_F() local
79 jerry_value_t error = jerry_create_error_from_value (str, true); in HWTEST_F()
80 str = jerry_get_value_from_error (error, true); in HWTEST_F()
82 compare_str (str, pterodactylus, pterodactylus_size); in HWTEST_F()
83 jerry_release_value (str); in HWTEST_F()
85 str = jerry_create_string (pterodactylus); in HWTEST_F()
86 error = jerry_create_error_from_value (str, false); in HWTEST_F()
87 jerry_release_value (str); in HWTEST_F()
88 str = jerry_get_value_from_error (error, true); in HWTEST_F()
90 compare_str (str, pterodactylu in HWTEST_F()
[all...]
/third_party/skia/src/utils/
H A DSkParsePath.cpp34 static const char* skip_ws(const char str[]) { in skip_ws() argument
35 SkASSERT(str); in skip_ws()
36 while (is_ws(*str)) in skip_ws()
37 str++; in skip_ws()
38 return str; in skip_ws()
41 static const char* skip_sep(const char str[]) { in skip_sep() argument
42 if (!str) { in skip_sep()
45 while (is_sep(*str)) in skip_sep()
46 str++; in skip_sep()
47 return str; in skip_sep()
50 find_points(const char str[], SkPoint value[], int count, bool isRelative, SkPoint* relative) find_points() argument
62 find_scalar(const char str[], SkScalar* value, bool isRelative, SkScalar relative) find_scalar() argument
79 find_flag(const char str[], bool* value) find_flag() argument
239 ToSVGString(const SkPath& path, SkString* str, PathEncoding encoding) ToSVGString() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
H A Dnumber_test.cpp23 const char *str = GetParam(); in TEST_P() local
26 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_INVALID_NUMBER, _, str)); in TEST_P()
28 preprocess(str); in TEST_P()
43 std::string str(std::get<0>(GetParam())); // prefix. in TEST_P()
44 str.push_back(std::get<1>(GetParam())); // digit. in TEST_P()
45 const char *cstr = str.c_str(); in TEST_P()
50 EXPECT_EQ(str, token.text); in TEST_P()
76 void expectFloat(const std::string &str) in expectFloat() argument
78 const char *cstr = str.c_str(); in expectFloat()
83 EXPECT_EQ(str, toke in expectFloat()
95 std::string str; TEST_P() local
119 std::string str; TEST_P() local
[all...]
/third_party/gn/src/gn/
H A Dsource_file.cc26 bool EndsWithExtension(std::string_view str, std::string_view ext) { in EndsWithExtension() argument
27 return str.size() > ext.size() && str[str.size() - ext.size() - 1] == '.' && in EndsWithExtension()
28 !::memcmp(str.data() + str.size() - ext.size(), ext.data(), in EndsWithExtension()
34 const char* str = file.data(); in GetSourceFileType() local
37 if (size > 2 && str[size - 2] == '.') { in GetSourceFileType()
38 switch (str[size - 1]) { in GetSourceFileType()
56 if (size > 3 && str[siz in GetSourceFileType()
[all...]
/third_party/jerryscript/tests/jerry/
H A Dmath-functions-tonumber-rule.js15 var str = ""; variable
16 var a = {valueOf: function() { str += "a"; return 1;}};
17 var b = {valueOf: function() { str += "b"; return NaN;}};
18 var c = {valueOf: function() { str += "c"; return 2;}};
21 assert (str === "abc");
23 str = "";
25 assert (str === "abc");
27 str = "";
29 assert (str === "ba");
31 str
[all...]
/test/xts/acts/kernel_lite/io_posix/src/
H A DIoTestStdio.cpp44 char str[50] = {0}; in HWTEST_F() local
45 char *retS = fgets(str, sizeof(str), fp); in HWTEST_F()
46 EXPECT_STREQ(retS, str); in HWTEST_F()
47 EXPECT_STREQ(str, "hello world"); in HWTEST_F()
126 char str[50] = {0}; in HWTEST_F() local
127 char *retC = fgets(str, sizeof(str), fp); in HWTEST_F()
128 EXPECT_STREQ(retC, str); in HWTEST_F()
149 char str[5 in HWTEST_F() local
170 char str[50] = {0}; HWTEST_F() local
211 char str[50] = {0}; HWTEST_F() local
269 char str[50] = {0}; HWTEST_F() local
349 char str[] = "hello world"; HWTEST_F() local
373 char str[] = "hello world"; HWTEST_F() local
401 char str[50] = {0}; HWTEST_F() local
466 char str[50] = {0}; HWTEST_F() local
485 FormatVsprintf(char *str, char *format, ...) FormatVsprintf() argument
494 FormatVsscanf(const char *str, const char *format, ...) FormatVsscanf() argument
510 char str[50] = {0}; HWTEST_F() local
544 char str[50] = {0}; FormatVsnprintf() local
611 char str[100] = {0}; HWTEST_F() local
683 char str[50] = {0}; HWTEST_F() local
[all...]
/third_party/node/deps/minimatch/src/node_modules/balanced-match/
H A Dindex.js3 function balanced(a, b, str) {
4 if (a instanceof RegExp) a = maybeMatch(a, str);
5 if (b instanceof RegExp) b = maybeMatch(b, str);
7 var r = range(a, b, str);
12 pre: str.slice(0, r[0]),
13 body: str.slice(r[0] + a.length, r[1]),
14 post: str.slice(r[1] + b.length)
18 function maybeMatch(reg, str) {
19 var m = str.match(reg);
24 function range(a, b, str) {
[all...]
/third_party/node/deps/npm/node_modules/balanced-match/
H A Dindex.js3 function balanced(a, b, str) {
4 if (a instanceof RegExp) a = maybeMatch(a, str);
5 if (b instanceof RegExp) b = maybeMatch(b, str);
7 var r = range(a, b, str);
12 pre: str.slice(0, r[0]),
13 body: str.slice(r[0] + a.length, r[1]),
14 post: str.slice(r[1] + b.length)
18 function maybeMatch(reg, str) {
19 var m = str.match(reg);
24 function range(a, b, str) {
[all...]
/third_party/vixl/benchmarks/aarch32/
H A Dasm-disasm-speed-test.cc212 __ str(Narrow, r0, MemOperand(r4, 12)); in Generate_1()
213 __ str(Narrow, r5, MemOperand(r4, 16)); in Generate_1()
214 __ str(Narrow, r5, MemOperand(r4, 20)); in Generate_1()
216 __ str(Narrow, r5, MemOperand(r4, 64)); in Generate_1()
217 __ str(Narrow, r5, MemOperand(r4, 88)); in Generate_1()
218 __ str(Narrow, r5, MemOperand(r4, 112)); in Generate_1()
219 __ str(r5, MemOperand(r4, 136)); in Generate_1()
221 __ str(Narrow, r3, MemOperand(r4, 28)); in Generate_1()
224 __ str(Narrow, r3, MemOperand(r4, 52)); in Generate_1()
225 __ str(Narro in Generate_1()
[all...]
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_events_inject.c36 parse_field(char *str, struct trace_event_call *call, in parse_field() argument
45 if (!str[i]) in parse_field()
48 while (isspace(str[i])) in parse_field()
51 while (isalnum(str[i]) || str[i] == '_') in parse_field()
57 field_name = kmemdup_nul(str + s, len, GFP_KERNEL); in parse_field()
66 while (isspace(str[i])) in parse_field()
68 if (str[i] != '=') in parse_field()
71 while (isspace(str[i])) in parse_field()
74 if (isdigit(str[ in parse_field()
192 parse_entry(char *str, struct trace_event_call *call, void **pentry) parse_entry() argument
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_events_inject.c36 parse_field(char *str, struct trace_event_call *call, in parse_field() argument
45 if (!str[i]) in parse_field()
48 while (isspace(str[i])) in parse_field()
51 while (isalnum(str[i]) || str[i] == '_') in parse_field()
57 field_name = kmemdup_nul(str + s, len, GFP_KERNEL); in parse_field()
66 while (isspace(str[i])) in parse_field()
68 if (str[i] != '=') in parse_field()
71 while (isspace(str[i])) in parse_field()
74 if (isdigit(str[ in parse_field()
196 parse_entry(char *str, struct trace_event_call *call, void **pentry) parse_entry() argument
[all...]
/third_party/mbedtls/scripts/mbedtls_dev/
H A Dpsa_information.py45 def psa_want_symbol(name: str) -> str:
52 def finish_family_dependency(dep: str, bits: int) -> str:
59 return re.sub(r'_FAMILY_(.*)', r'_\1_' + str(bits), dep)
61 def finish_family_dependencies(dependencies: List[str], bits: int) -> List[str]:
76 def automatic_dependencies(*expressions: str) -> List[str]:
105 description: str
[all...]
/third_party/node/deps/npm/node_modules/@colors/colors/lib/
H A Dcolors.js55 colors.stripColors = colors.strip = function(str) {
56 return ('' + str).replace(/\x1B\[\d+m/g, '');
60 var stylize = colors.stylize = function stylize(str, style) {
62 return str+'';
71 return colors[style](str);
74 return styleMap.open + str + styleMap.close;
78 var escapeStringRegexp = function(str) {
79 if (typeof str !== 'string') {
82 return str.replace(matchOperatorsRe, '\\$&');
116 var str
[all...]
/third_party/mesa3d/src/vulkan/overlay-layer/
H A Doverlay_params.c35 parse_position(const char *str) in parse_position() argument
37 if (!str || !strcmp(str, "top-left")) in parse_position()
39 if (!strcmp(str, "top-right")) in parse_position()
41 if (!strcmp(str, "bottom-left")) in parse_position()
43 if (!strcmp(str, "bottom-right")) in parse_position()
49 parse_output_file(const char *str) in parse_output_file() argument
51 return fopen(str, "w+"); in parse_output_file()
55 parse_control(const char *str) in parse_control() argument
57 int ret = os_socket_listen_abstract(str, in parse_control()
70 parse_fps_sampling_period(const char *str) parse_fps_sampling_period() argument
76 parse_no_display(const char *str) parse_no_display() argument
82 parse_unsigned(const char *str) parse_unsigned() argument
91 parse_help(const char *str) parse_help() argument
[all...]
/third_party/protobuf/src/google/protobuf/stubs/
H A Dbytestream_unittest.cc67 string str; in TEST() local
68 StringByteSink sink(&str); in TEST()
71 EXPECT_EQ(data, str); in TEST()
78 string str; in TEST() local
79 StringByteSink sink(&str); in TEST()
82 EXPECT_EQ(data.substr(1, data.size() - 2), str); in TEST()
95 string str; in TEST() local
96 StringByteSink sink(&str); in TEST()
98 EXPECT_EQ("ello ", str); in TEST()
104 string str; in TEST() local
115 string str; TEST() local
137 string str; TEST() local
[all...]
/kernel/linux/linux-5.10/fs/unicode/
H A Dutf8-selftest.c40 unsigned char str[10]; member
46 .str = "aBba",
54 .str = {0xc2, 0xbc, 0x00},
60 .str = {0xc3, 0xa4, 0x00},
66 .str = {0xC7, 0x89, 0x00},
71 .str = {0xCE, 0x87, 0x00},
78 .str = {0x41, 0xcc, 0x81, 0xcc, 0xa8, 0x0},
85 .str = {0xc3, 0xa4, 0xCC, 0xA8, 0x00},
94 unsigned char str[30]; member
100 .str
[all...]
/kernel/linux/linux-6.6/fs/unicode/
H A Dutf8-selftest.c38 unsigned char str[10]; member
44 .str = "aBba",
52 .str = {0xc2, 0xbc, 0x00},
58 .str = {0xc3, 0xa4, 0x00},
64 .str = {0xC7, 0x89, 0x00},
69 .str = {0xCE, 0x87, 0x00},
76 .str = {0x41, 0xcc, 0x81, 0xcc, 0xa8, 0x0},
83 .str = {0xc3, 0xa4, 0xCC, 0xA8, 0x00},
92 unsigned char str[30]; member
98 .str
[all...]
/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A Dcdnsp-debug.h179 static inline const char *cdnsp_decode_trb(char *str, size_t size, u32 field0, in cdnsp_decode_trb() argument
192 ret = snprintf(str, size, in cdnsp_decode_trb()
205 ret = snprintf(str, size, in cdnsp_decode_trb()
217 ret = snprintf(str, size, "%s: flags %c", in cdnsp_decode_trb()
222 ret = snprintf(str, size, in cdnsp_decode_trb()
244 ret = snprintf(str, size, in cdnsp_decode_trb()
260 ret = snprintf(str, size, in cdnsp_decode_trb()
276 ret = snprintf(str, size, in cdnsp_decode_trb()
296 ret = snprintf(str, size, "%s: flags %c", in cdnsp_decode_trb()
301 ret = snprintf(str, siz in cdnsp_decode_trb()
396 static char str[1024]; cdnsp_decode_slot_context() local
466 cdnsp_decode_portsc(char *str, size_t size, u32 portsc) cdnsp_decode_portsc() argument
541 cdnsp_decode_ep_context(char *str, size_t size, u32 info, u32 info2, u64 deq, u32 tx_info) cdnsp_decode_ep_context() argument
[all...]
/third_party/node/deps/icu-small/source/tools/pkgdata/
H A Dpkgtypes.c36 if(l->str) in pkg_writeCharListWrap()
38 uprv_strncpy(buffer, l->str, 1020); in pkg_writeCharListWrap()
49 if(l->str[0] != '"') { in pkg_writeCharListWrap()
51 uprv_strncat(buffer, l->str,1020); in pkg_writeCharListWrap()
53 if(l->str[uprv_strlen(l->str)-1] != '"') { in pkg_writeCharListWrap()
59 ln += (int32_t)uprv_strlen(l->str); in pkg_writeCharListWrap()
81 if(l->str) in pkg_writeCharList()
83 uprv_strncpy(buffer, l->str, 1023); in pkg_writeCharList()
85 if(uprv_strlen(l->str) > in pkg_writeCharList()
138 pkg_prependToList(CharList *l, const char *str) pkg_prependToList() argument
158 pkg_appendToList(CharList *l, CharList** end, const char *str) pkg_appendToList() argument
294 pkg_listContains(CharList *l, const char *str) pkg_listContains() argument
[all...]
/third_party/icu/icu4c/source/tools/pkgdata/
H A Dpkgtypes.c36 if(l->str) in pkg_writeCharListWrap()
38 uprv_strncpy(buffer, l->str, 1020); in pkg_writeCharListWrap()
49 if(l->str[0] != '"') { in pkg_writeCharListWrap()
51 uprv_strncat(buffer, l->str,1020); in pkg_writeCharListWrap()
53 if(l->str[uprv_strlen(l->str)-1] != '"') { in pkg_writeCharListWrap()
59 ln += (int32_t)uprv_strlen(l->str); in pkg_writeCharListWrap()
81 if(l->str) in pkg_writeCharList()
83 uprv_strncpy(buffer, l->str, 1023); in pkg_writeCharList()
85 if(uprv_strlen(l->str) > in pkg_writeCharList()
138 pkg_prependToList(CharList *l, const char *str) pkg_prependToList() argument
158 pkg_appendToList(CharList *l, CharList** end, const char *str) pkg_appendToList() argument
294 pkg_listContains(CharList *l, const char *str) pkg_listContains() argument
[all...]
/third_party/skia/third_party/externals/icu/source/tools/pkgdata/
H A Dpkgtypes.c36 if(l->str) in pkg_writeCharListWrap()
38 uprv_strncpy(buffer, l->str, 1020); in pkg_writeCharListWrap()
49 if(l->str[0] != '"') { in pkg_writeCharListWrap()
51 uprv_strncat(buffer, l->str,1020); in pkg_writeCharListWrap()
53 if(l->str[uprv_strlen(l->str)-1] != '"') { in pkg_writeCharListWrap()
59 ln += (int32_t)uprv_strlen(l->str); in pkg_writeCharListWrap()
81 if(l->str) in pkg_writeCharList()
83 uprv_strncpy(buffer, l->str, 1023); in pkg_writeCharList()
85 if(uprv_strlen(l->str) > in pkg_writeCharList()
138 pkg_prependToList(CharList *l, const char *str) pkg_prependToList() argument
158 pkg_appendToList(CharList *l, CharList** end, const char *str) pkg_appendToList() argument
294 pkg_listContains(CharList *l, const char *str) pkg_listContains() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/kunit/
H A Dkunit_printer.py18 def __init__(self, output: typing.IO[str]):
22 def print(self, message: str) -> None:
25 def print_with_timestamp(self, message: str) -> None:
29 def _color(self, code: str, text: str) -> str:
34 def red(self, text: str) -> str:
37 def yellow(self, text: str) -> str
[all...]
/third_party/curl/src/
H A Dtool_paramhlp.h37 ParameterError str2num(long *val, const char *str);
38 ParameterError str2unum(long *val, const char *str);
39 ParameterError oct2nummax(long *val, const char *str, long max);
40 ParameterError str2unummax(long *val, const char *str, long max);
41 ParameterError secs2ms(long *val, const char *str);
45 const char *str);
47 ParameterError check_protocol(const char *str);
49 ParameterError str2offset(curl_off_t *val, const char *str);
55 int ftpfilemethod(struct OperationConfig *config, const char *str);
57 int ftpcccmethod(struct OperationConfig *config, const char *str);
[all...]
/third_party/musl/porting/uniproton/kernel/src/locale/
H A Dlanginfo.c33 const char *str; in __nl_langinfo_l() local
44 str = c_numeric; in __nl_langinfo_l()
48 str = c_time; in __nl_langinfo_l()
52 str = ""; in __nl_langinfo_l()
56 str = c_messages; in __nl_langinfo_l()
62 for (; idx; idx--, str++) for (; *str; str++); in __nl_langinfo_l()
63 if (cat != LC_NUMERIC && *str) str in __nl_langinfo_l()
[all...]

Completed in 12 milliseconds

12345678910>>...511