Home
last modified time | relevance | path

Searched refs:str (Results 251 - 275 of 9372) sorted by relevance

1...<<11121314151617181920>>...375

/third_party/jinja2/
H A Dsandbox.py26 UNSAFE_FUNCTION_ATTRIBUTES: t.Set[str] = set()
29 UNSAFE_METHOD_ATTRIBUTES: t.Set[str] = set()
40 _mutable_spec: t.Tuple[t.Tuple[t.Type, t.FrozenSet[str]], ...] = (
83 def inspect_format_method(callable: t.Callable) -> t.Optional[str]:
91 if isinstance(obj, str):
125 def is_internal_attribute(obj: t.Any, attr: str) -> bool:
132 >>> is_internal_attribute(str, "mro")
134 >>> is_internal_attribute(str, "upper")
162 def modifies_known_mutable(obj: t.Any, attr: str) -> bool:
203 default_binop_table: t.Dict[str,
[all...]
/third_party/node/deps/icu-small/source/common/
H A Duniset_closure.cpp128 _set_addString(USet *set, const char16_t *str, int32_t length) { in _set_addString() argument
129 ((UnicodeSet *)set)->add(UnicodeString((UBool)(length<0), str, length)); in _set_addString()
137 // use str as a temporary string to avoid constructing one
139 addCaseMapping(UnicodeSet &set, int32_t result, const char16_t *full, UnicodeString &str) { in addCaseMapping() argument
146 str.setTo((UBool)false, full, result); in addCaseMapping()
147 set.add(str); in addCaseMapping()
278 UnicodeString str; in closeOverCaseInsensitive() local
282 if (scfString(*pStr, str)) { in closeOverCaseInsensitive()
283 foldSet.remove(*pStr).add(str); in closeOverCaseInsensitive()
286 str in closeOverCaseInsensitive()
308 UnicodeString str; closeOverAddCaseMappings() local
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
H A D_parser.py14 def __init__(self, value: str) -> None:
17 def __str__(self) -> str:
20 def __repr__(self) -> str:
23 def serialize(self) -> str:
28 def serialize(self) -> str:
29 return str(self)
33 def serialize(self) -> str:
38 def serialize(self) -> str:
39 return str(self)
45 # MarkerList = List[Union["MarkerList", MarkerAtom, str]]
[all...]
/third_party/mbedtls/scripts/
H A Dcode_size_compare.py55 version: str,
56 git_rev: str,
57 arch: str,
58 config: str,
59 compiler: str,
60 opt_level: str,
78 self.pre_make_cmd = [] #type: typing.List[str]
90 host_arch: str,
91 measure_cmd: str,
109 record_dir: str,
[all...]
/third_party/musl/tools/
H A Dadd-cfi.common.awk1 function hex2int(str, i) {
2 str = tolower(str)
10 for (i = 1; i <= length(str); i++) {
12 char = substr(str, i, 1)
18 function parse_const(str) {
19 sign = sub(/^-/, "", str)
20 hex = sub(/^0x/, "", str)
22 n = hex2int(str)
24 n = str
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/string/
H A Dindex.c27 char *str = "hello world"; in index_0100() local
28 char *result = index(str, 'e'); in index_0100()
29 if (strcmp(str + 1, result) != 0) { in index_0100()
30 t_error("%s index get result is %s are not want %s\n", __func__, result, str + 1); in index_0100()
43 char *str = "hello world"; in index_0200() local
44 char *result = index(str, 'l'); in index_0200()
45 if (strcmp(str + add_size, result) != 0) { in index_0200()
46 t_error("%s index get result is %s are not want %s\n", __func__, result, str + add_size); in index_0200()
58 char *str = "hello world"; in index_0300() local
59 char *result = index(str, ' in index_0300()
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
H A Dnumeric_lex.h20 inline std::ios::fmtflags numeric_base_int(const std::string &str) in numeric_base_int() argument
22 if ((str.size() >= 2) && (str[0] == '0') && (str[1] == 'x' || str[1] == 'X')) in numeric_base_int()
26 if ((str.size() >= 1) && (str[0] == '0')) in numeric_base_int()
39 bool numeric_lex_int(const std::string &str, IntType *value) in numeric_lex_int() argument
41 std::istringstream stream(str); in numeric_lex_int()
44 stream.setf(numeric_base_int(str), st in numeric_lex_int()
[all...]
/third_party/icu/icu4c/source/samples/break/
H A Dubreak.c23 void printTextRange(UChar* str, int32_t start, int32_t end) in printTextRange() argument
28 savedEndChar = str[end]; in printTextRange()
29 str[end] = 0; in printTextRange()
30 u_austrncpy(charBuf, str+start, sizeof(charBuf)-1); in printTextRange()
33 str[end] = savedEndChar; in printTextRange()
39 void printEachForward( UBreakIterator* boundary, UChar* str) { in printEachForward() argument
44 printTextRange(str, start, end ); in printEachForward()
50 void printEachBackward( UBreakIterator* boundary, UChar* str) { in printEachBackward() argument
55 printTextRange( str, start, end ); in printEachBackward()
60 void printFirst(UBreakIterator* boundary, UChar* str) { in printFirst() argument
68 printLast(UBreakIterator* boundary, UChar* str) printLast() argument
77 printAt(UBreakIterator* boundary, int32_t pos , UChar* str) printAt() argument
[all...]
/third_party/skia/third_party/externals/icu/source/samples/break/
H A Dubreak.c23 void printTextRange(UChar* str, int32_t start, int32_t end) in printTextRange() argument
28 savedEndChar = str[end]; in printTextRange()
29 str[end] = 0; in printTextRange()
30 u_austrncpy(charBuf, str+start, sizeof(charBuf)-1); in printTextRange()
33 str[end] = savedEndChar; in printTextRange()
39 void printEachForward( UBreakIterator* boundary, UChar* str) { in printEachForward() argument
44 printTextRange(str, start, end ); in printEachForward()
50 void printEachBackward( UBreakIterator* boundary, UChar* str) { in printEachBackward() argument
55 printTextRange( str, start, end ); in printEachBackward()
60 void printFirst(UBreakIterator* boundary, UChar* str) { in printFirst() argument
68 printLast(UBreakIterator* boundary, UChar* str) printLast() argument
77 printAt(UBreakIterator* boundary, int32_t pos , UChar* str) printAt() argument
[all...]
/third_party/skia/third_party/externals/tint/src/transform/
H A Dfold_constants_test.cc55 EXPECT_EQ(expect, str(got)); in TEST_F()
84 EXPECT_EQ(expect, str(got)); in TEST_F()
113 EXPECT_EQ(expect, str(got)); in TEST_F()
142 EXPECT_EQ(expect, str(got)); in TEST_F()
171 EXPECT_EQ(expect, str(got)); in TEST_F()
200 EXPECT_EQ(expect, str(got)); in TEST_F()
232 EXPECT_EQ(expect, str(got)); in TEST_F()
256 EXPECT_EQ(expect, str(got)); in TEST_F()
280 EXPECT_EQ(expect, str(got)); in TEST_F()
304 EXPECT_EQ(expect, str(go in TEST_F()
[all...]
H A Dzero_init_workgroup_memory_test.cc33 EXPECT_EQ(expect, str(got)); in TEST_F()
48 EXPECT_EQ(expect, str(got)); in TEST_F()
71 EXPECT_EQ(expect, str(got)); in TEST_F()
98 EXPECT_EQ(expect, str(got)); in TEST_F()
135 EXPECT_EQ(expect, str(got)); in TEST_F()
162 EXPECT_EQ(expect, str(got)); in TEST_F()
226 EXPECT_EQ(expect, str(got)); in TEST_F()
290 EXPECT_EQ(expect, str(got)); in TEST_F()
359 EXPECT_EQ(expect, str(got)); in TEST_F()
449 EXPECT_EQ(expect, str(go in TEST_F()
[all...]
H A Dcanonicalize_entry_point_io_test.cc35 EXPECT_EQ(expect, str(got)); in TEST_F()
47 EXPECT_EQ(expect, str(got)); in TEST_F()
70 EXPECT_EQ(expect, str(got)); in TEST_F()
105 EXPECT_EQ(expect, str(got)); in TEST_F()
141 EXPECT_EQ(expect, str(got)); in TEST_F()
179 EXPECT_EQ(expect, str(got)); in TEST_F()
215 EXPECT_EQ(expect, str(got)); in TEST_F()
269 EXPECT_EQ(expect, str(got)); in TEST_F()
324 EXPECT_EQ(expect, str(got)); in TEST_F()
381 EXPECT_EQ(expect, str(go in TEST_F()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dostringstream_test.cc35 EXPECT_EQ(nullptr, strm.str()); in TEST()
41 EXPECT_EQ(&s, strm.str()); in TEST()
57 static_assert(std::is_same<decltype(strm.str()), std::string*>(), ""); in TEST()
58 static_assert(std::is_same<decltype(c_strm.str()), const std::string*>(), ""); in TEST()
60 EXPECT_EQ(&s1, strm.str()); in TEST()
61 EXPECT_EQ(&s1, c_strm.str()); in TEST()
63 strm.str(&s1); in TEST()
64 EXPECT_EQ(&s1, strm.str()); in TEST()
65 EXPECT_EQ(&s1, c_strm.str()); in TEST()
68 strm.str( in TEST()
[all...]
/third_party/vk-gl-cts/framework/opengl/
H A DgluCallLogWrapper.cpp63 const glw::GLchar* str; member in glu::StringFmt
64 StringFmt (const glw::GLchar* str_) : str(str_) {} in StringFmt()
67 inline std::ostream& operator<< (std::ostream& str, StringFmt fmt) in operator <<() argument
69 return str << (fmt.str ? (const char*)fmt.str : "NULL"); in operator <<()
86 std::ostream& operator<< (std::ostream& str, FboParamPtrFmt fmt) in operator <<() argument
93 return str << tcu::Format::Enum<int, 2>(getFramebufferAttachmentTypeName, *fmt.value); in operator <<()
96 return str << tcu::Format::Enum<int, 2>(getCubeMapFaceName, *fmt.value); in operator <<()
99 return str << tc in operator <<()
[all...]
/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgShader.cpp93 void Shader::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
97 str << Token::PRECISION << Token::MEDIUM_PRECISION << Token::FLOAT << Token::SEMICOLON << Token::NEWLINE; in tokenize()
101 m_globalStatements[ndx]->tokenize(state, str); in tokenize()
106 str << Token::NEWLINE; in tokenize()
107 m_functions[ndx]->tokenize(state, str); in tokenize()
111 str << Token::NEWLINE; in tokenize()
112 m_mainFunction.tokenize(state, str); in tokenize()
125 void Function::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
128 m_returnType.tokenizeShortType(str); in tokenize()
132 str << Toke in tokenize()
[all...]
/test/xts/acts/graphic/acts_drawing_native/
H A DDrawingNativeFontTest.cpp575 const char *str = "Hello World"; in HWTEST_F() local
583 int count = OH_Drawing_FontCountText(font, str, strlen(str), encode); in HWTEST_F()
616 const char *str = "Hello World"; in HWTEST_F() local
619 OH_Drawing_FontCountText(nullptr, str, strlen(str), TEXT_ENCODING_UTF8); in HWTEST_F()
623 OH_Drawing_FontCountText(font, nullptr, strlen(str), TEXT_ENCODING_UTF8); in HWTEST_F()
648 for (const char *str : strs) { in HWTEST_F()
649 int count = OH_Drawing_FontCountText(font, str, strlen(str), TEXT_ENCODING_UTF in HWTEST_F()
680 const char *str = "Hello World"; HWTEST_F() local
699 const char *str = "Hello World"; HWTEST_F() local
728 const char *str = "Hello World"; HWTEST_F() local
793 const char *str = "Hello World"; HWTEST_F() local
816 const char *str = "Hello World"; HWTEST_F() local
842 const char *str = "Hello World"; HWTEST_F() local
864 const char *str = "Hello World"; HWTEST_F() local
928 const char *str = "Hello World"; HWTEST_F() local
959 const char *str = "Hello World"; HWTEST_F() local
1800 const char *str[] = { HWTEST_F() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/
H A Dmem.c210 void *CRYPTO_realloc(void *str, size_t num, const char *file, int line) in CRYPTO_realloc() argument
214 return realloc_impl(str, num, file, line); in CRYPTO_realloc()
216 if (str == NULL) in CRYPTO_realloc()
220 CRYPTO_free(str, file, line); in CRYPTO_realloc()
225 return realloc(str, num); in CRYPTO_realloc()
228 void *CRYPTO_clear_realloc(void *str, size_t old_len, size_t num, in CRYPTO_clear_realloc() argument
233 if (str == NULL) in CRYPTO_clear_realloc()
237 CRYPTO_clear_free(str, old_len, file, line); in CRYPTO_clear_realloc()
243 OPENSSL_cleanse((char*)str + num, old_len - num); in CRYPTO_clear_realloc()
244 return str; in CRYPTO_clear_realloc()
255 CRYPTO_free(void *str, const char *file, int line) CRYPTO_free() argument
266 CRYPTO_clear_free(void *str, size_t num, const char *file, int line) CRYPTO_clear_free() argument
333 CRYPTO_mem_leaks_cb(int (*cb)(const char *str, size_t len, void *u), void *u) CRYPTO_mem_leaks_cb() argument
[all...]
/third_party/openssl/crypto/
H A Dmem.c205 void *CRYPTO_realloc(void *str, size_t num, const char *file, int line) in CRYPTO_realloc() argument
209 return realloc_impl(str, num, file, line); in CRYPTO_realloc()
212 if (str == NULL) in CRYPTO_realloc()
216 CRYPTO_free(str, file, line); in CRYPTO_realloc()
220 return realloc(str, num); in CRYPTO_realloc()
223 void *CRYPTO_clear_realloc(void *str, size_t old_len, size_t num, in CRYPTO_clear_realloc() argument
228 if (str == NULL) in CRYPTO_clear_realloc()
232 CRYPTO_clear_free(str, old_len, file, line); in CRYPTO_clear_realloc()
238 OPENSSL_cleanse((char*)str + num, old_len - num); in CRYPTO_clear_realloc()
239 return str; in CRYPTO_clear_realloc()
250 CRYPTO_free(void *str, const char *file, int line) CRYPTO_free() argument
261 CRYPTO_clear_free(void *str, size_t num, const char *file, int line) CRYPTO_clear_free() argument
328 CRYPTO_mem_leaks_cb(int (*cb)(const char *str, size_t len, void *u), void *u) CRYPTO_mem_leaks_cb() argument
[all...]
/third_party/rust/crates/nom/tests/
H A Djson.rs27 fn boolean(input: &str) -> IResult<&str, bool> { in boolean()
31 fn u16_hex(input: &str) -> IResult<&str, u16> { in u16_hex()
35 fn unicode_escape(input: &str) -> IResult<&str, char> { in unicode_escape()
60 fn character(input: &str) -> IResult<&str, char> { in character()
82 fn string(input: &str) -> IResult<&str, Strin
[all...]
/third_party/rust/crates/nom/benchmarks/benches/
H A Djson.rs32 fn boolean(input: &str) -> IResult<&str, bool> { in boolean()
36 fn u16_hex(input: &str) -> IResult<&str, u16> { in u16_hex()
40 fn unicode_escape(input: &str) -> IResult<&str, char> { in unicode_escape()
65 fn character(input: &str) -> IResult<&str, char> { in character()
87 fn string(input: &str) -> IResult<&str, Strin
[all...]
/third_party/curl/lib/
H A Dsetopt.c156 static CURLcode protocol2num(const char *str, curl_prot_t *val) in protocol2num() argument
164 if(!str) in protocol2num()
167 if(curl_strequal(str, "all")) { in protocol2num()
173 const char *token = str; in protocol2num()
176 str = strchr(str, ','); in protocol2num()
177 tlen = str? (size_t) (str - token): strlen(token); in protocol2num()
186 } while(str && str in protocol2num()
[all...]
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Dasn1_lib.c251 int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str) in ASN1_STRING_copy() argument
253 if (str == NULL) in ASN1_STRING_copy()
255 dst->type = str->type; in ASN1_STRING_copy()
256 if (!ASN1_STRING_set(dst, str->data, str->length)) in ASN1_STRING_copy()
260 dst->flags |= str->flags & ~ASN1_STRING_FLAG_EMBED; in ASN1_STRING_copy()
264 ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *str) in ASN1_STRING_dup() argument
268 if (!str) in ASN1_STRING_dup()
273 if (!ASN1_STRING_copy(ret, str)) { in ASN1_STRING_dup()
280 int ASN1_STRING_set(ASN1_STRING *str, cons argument
334 ASN1_STRING_set0(ASN1_STRING *str, void *data, int len) ASN1_STRING_set0() argument
[all...]
/third_party/openssl/crypto/asn1/
H A Dasn1_lib.c251 int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str) in ASN1_STRING_copy() argument
253 if (str == NULL) in ASN1_STRING_copy()
255 dst->type = str->type; in ASN1_STRING_copy()
256 if (!ASN1_STRING_set(dst, str->data, str->length)) in ASN1_STRING_copy()
260 dst->flags |= str->flags & ~ASN1_STRING_FLAG_EMBED; in ASN1_STRING_copy()
264 ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *str) in ASN1_STRING_dup() argument
268 if (!str) in ASN1_STRING_dup()
273 if (!ASN1_STRING_copy(ret, str)) { in ASN1_STRING_dup()
280 int ASN1_STRING_set(ASN1_STRING *str, cons argument
334 ASN1_STRING_set0(ASN1_STRING *str, void *data, int len) ASN1_STRING_set0() argument
[all...]
/third_party/toybox/toys/posix/
H A Dsort.c84 static char *get_key_data(char *str, struct sort_key *key, int flags) in get_key_data() argument
91 && !(flags&(FLAG_b|FLAG_d|FLAG_i|FLAG_bb))) return str; in get_key_data()
95 len = strlen(str); in get_key_data()
105 if (str[end] && !TT.t) while (isspace(str[end])) end++; in get_key_data()
108 for (; str[end]; end++) { in get_key_data()
110 if (str[end]==*TT.t) { in get_key_data()
114 } else if (isspace(str[end])) break; in get_key_data()
122 if (TT.t && str[start]==*TT.t) start++; in get_key_data()
126 while (isspace(str[star in get_key_data()
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dmsfmrgts.cpp293 UnicodeString str("There is one apple growing on the peach tree."); in Test4052223()
296 fmt->parse(str, pos, count); in Test4052223()
300 errln("Bug 4052223 failed : parsing string " + str); in Test4052223()
400 UnicodeString str; in Test4106660() local
402 str = cf->format(d, str, pos); in Test4106660()
403 if (str != "Two") in Test4106660()
404 errln( (UnicodeString) "format(" + d + ") = " + str); in Test4106660()
597 UnicodeString str; in Test4106661() local
600 logln("Format with -INF : " + fmt->format(Formattable(-uprv_getInfinity()), str, bogu in Test4106661()
656 UnicodeString str; Test4094906() local
752 UnicodeString str; Test4118594() local
[all...]

Completed in 15 milliseconds

1...<<11121314151617181920>>...375