Home
last modified time | relevance | path

Searched refs:str (Results 726 - 750 of 9392) sorted by relevance

1...<<21222324252627282930>>...376

/third_party/node/lib/
H A Dquerystring.js161 * @param {any} str
164 function qsEscape(str) {
165 if (typeof str !== 'string') {
166 if (typeof str === 'object')
167 str = String(str);
169 str += '';
172 return encodeStr(str, noEscape, hexTable);
273 * @param {string} str
276 function charCodes(str) {
[all...]
/third_party/rust/crates/env_logger/src/
H A Dlib.rs301 pub const DEFAULT_FILTER_ENV: &str = "RUST_LOG";
304 pub const DEFAULT_WRITE_STYLE_ENV: &str = "RUST_LOG_STYLE";
324 name: Cow<'a, str>,
325 default: Option<Cow<'a, str>>,
647 pub fn format_suffix(&mut self, suffix: &'static str) -> &mut Self { in format_suffix()
666 pub fn filter_module(&mut self, module: &str, level: LevelFilter) -> &mut Self { in filter_module()
707 pub fn filter(&mut self, module: Option<&str>, level: LevelFilter) -> &mut Self { in filter()
716 pub fn parse_filters(&mut self, filters: &str) -> &mut Self { in parse_filters()
769 pub fn parse_write_style(&mut self, write_style: &str) -> &mut Self { in parse_write_style()
982 E: Into<Cow<'a, str>>, in filter()
[all...]
/third_party/skia/third_party/externals/angle2/tools/android/modularization/convenience/
H A Dlookup_dep.py32 sys.path.append(str(_SRC_DIR / 'build' / 'android'))
97 full_class_name: str
98 target: str
111 def match(self, search_string: str) -> List[ClassEntry]:
142 def _index_root(self) -> Dict[str, List[str]]:
189 def _compute_toplevel_target(target: str) -> str:
204 def _compute_full_class_names_for_build_config(self, deps_info: Dict) -> Set[str]:
240 abs_jar_path: pathlib.Path) -> Set[str]
[all...]
/third_party/python/Lib/tkinter/test/test_tkinter/
H A Dtest_font.py29 self.assertIsInstance(options[key], str)
30 self.assertIsInstance(self.font.cget(key), str)
31 self.assertIsInstance(self.font[key], str)
32 sizetype = int if self.wantobjects else str
55 self.assertIsInstance(options[key], str)
56 self.assertIsInstance(self.font.actual(key), str)
57 sizetype = int if self.wantobjects else str
64 self.assertEqual(str(self.font), fontname)
79 self.assertEqual(str(font1), str(font
[all...]
/third_party/spirv-tools/source/
H A Dtext_handler.cpp42 switch (text->str[position->index]) { in advanceLine()
67 switch (text->str[position->index]) { in advance()
97 if (!text->str || !text->length) return SPV_ERROR_INVALID_TEXT; in getWord()
108 word->assign(text->str + start_index, text->str + position->index); in getWord()
111 const char ch = text->str[position->index]; in getWord()
125 word->assign(text->str + start_index, text->str + position->index); in getWord()
128 word->assign(text->str + start_index, text->str in getWord()
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dincaltst.cpp446 UnicodeString str; in TestBuddhistFormat() local
447 fmt2.format(aDate, str); in TestBuddhistFormat()
448 logln(UnicodeString() + "Test Date: " + str); in TestBuddhistFormat()
449 str.remove(); in TestBuddhistFormat()
450 fmt.format(aDate, str); in TestBuddhistFormat()
451 logln(UnicodeString() + "as Buddhist Calendar: " + escape(str)); in TestBuddhistFormat()
453 if(str != expected) { in TestBuddhistFormat()
454 errln("Expected " + escape(expected) + " but got " + escape(str)); in TestBuddhistFormat()
524 UnicodeString str; in TestJapaneseFormat() local
525 fmt2.format(aDate, str); in TestJapaneseFormat()
637 UnicodeString str; TestJapanese3860() local
668 UnicodeString(" and era ") + expectEra +", but got year " + gotYear + " and era " + gotEra + " (Gregorian:" + str +")"); TestJapanese3860() local
703 UnicodeString(" and era ") + expectEra +", but got year " + gotYear + " and era " + gotEra + " (Gregorian:" + str +")"); TestJapanese3860() local
905 UnicodeString str; TestPersianFormat() local
[all...]
/third_party/mesa3d/src/amd/llvm/
H A Dac_llvm_util.c304 char *str = LLVMPrintModuleToString(module); in ac_dump_module() local
305 fprintf(stderr, "%s", str); in ac_dump_module()
306 LLVMDisposeMessage(str); in ac_dump_module()
311 char str[16]; in ac_llvm_add_target_dep_function_attr() local
313 snprintf(str, sizeof(str), "0x%x", value); in ac_llvm_add_target_dep_function_attr()
314 LLVMAddTargetDependentFunctionAttr(F, name, str); in ac_llvm_add_target_dep_function_attr()
322 char str[32]; in ac_llvm_set_workgroup_size() local
323 snprintf(str, sizeof(str), " in ac_llvm_set_workgroup_size()
[all...]
/third_party/node/src/tracing/
H A Dnode_trace_writer.cc117 std::string str; in FlushPrivate() local
127 // str() makes a copy of the contents of the stream. in FlushPrivate()
128 str = stream_.str(); in FlushPrivate()
129 stream_.str(""); in FlushPrivate()
136 WriteToFile(std::move(str), highest_request_id); in FlushPrivate()
162 void NodeTraceWriter::WriteToFile(std::string&& str, int highest_request_id) { in WriteToFile() argument
169 std::move(str), highest_request_id in WriteToFile()
173 const_cast<char*>(write_req_queue_.front().str.c_str()), in WriteToFile()
174 write_req_queue_.front().str in WriteToFile()
[all...]
/third_party/libphonenumber/cpp/src/phonenumbers/base/strings/
H A Dstring_piece.h50 StringPiece(const char* str) in StringPiece() argument
51 : ptr_(str), length_((str == NULL) ? 0 : strlen(str)) { } in StringPiece()
52 StringPiece(const std::string& str) in StringPiece() argument
53 : ptr_(str.data()), length_(str.size()) { } in StringPiece()
74 void set(const char* str) { in set() argument
75 ptr_ = str; in set()
76 length_ = str in set()
[all...]
/third_party/python/Lib/test/
H A Dtest_codeop.py24 def assertValid(self, str, symbol='single'):
25 '''succeed iff str is a valid piece of code'''
27 code = compile_command(str, "<input>", symbol)
35 exec(compile(str,"<input>","single"), r)
41 r = { 'value': eval(str,ctx) }
44 expected = compile(str, "<input>", symbol, PyCF_DONT_IMPLY_DEDENT)
45 self.assertEqual(compile_command(str, "<input>", symbol), expected)
47 def assertIncomplete(self, str, symbol='single'):
48 '''succeed iff str is the start of a valid piece of code'''
49 self.assertEqual(compile_command(str, symbo
[all...]
/third_party/selinux/libsepol/src/
H A Dcontext_record.c199 const char *str, sepol_context_t ** con) in sepol_context_from_string()
205 if (!strcmp(str, "<<none>>")) { in sepol_context_from_string()
214 tmp = strdup(str); in sepol_context_from_string()
261 ERR(handle, "malformed context \"%s\"", str); in sepol_context_from_string()
275 char *str = NULL; in sepol_context_to_string() local
292 str = (char *)malloc(total_sz); in sepol_context_to_string()
293 if (!str) { in sepol_context_to_string()
298 rc = snprintf(str, total_sz, "%s:%s:%s:%s", in sepol_context_to_string()
301 rc = snprintf(str, total_sz, "%s:%s:%s", in sepol_context_to_string()
314 *str_ptr = str; in sepol_context_to_string()
198 sepol_context_from_string(sepol_handle_t * handle, const char *str, sepol_context_t ** con) sepol_context_from_string() argument
[all...]
/third_party/skia/bench/
H A Dcheck_bench_regressions.py55 (str, str, str, str, {str:str})"""
64 str(self.bench),
65 str(self.config),
66 str(self.time_type),
67 str(sel
[all...]
/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgExpression.hpp57 virtual void tokenize (GeneratorState& state, TokenStream& str) const = DE_NULL;
74 void tokenize (GeneratorState& state, TokenStream& str) const { DE_UNREF(state); str << Token(m_variable->getName()); } in tokenize()
114 void tokenize (GeneratorState& state, TokenStream& str) const;
132 void tokenize (GeneratorState& state, TokenStream& str) const;
151 void tokenize (GeneratorState& state, TokenStream& str) const;
169 void tokenize (GeneratorState& state, TokenStream& str) const;
191 void tokenize (GeneratorState& state, TokenStream& str) const;
216 void tokenize (GeneratorState& state, TokenStream& str) const;
236 void tokenize (GeneratorState& state, TokenStream& str) cons
[all...]
/third_party/mbedtls/scripts/mbedtls_dev/
H A Dcrypto_knowledge.py17 def short_expression(original: str, level: int = 0) -> str:
59 def from_family(family: str) -> 'EllipticCurveCategory':
71 def __init__(self, name: str, params: Optional[Iterable[str]] = None) -> None:
119 def short_expression(self, level: int = 0) -> str:
132 } # type: Dict[str, Tuple[int, ...]]
143 } # type: Dict[str, Tuple[int, ...]]
157 } # type: Dict[str, Tuple[int, ...]]
292 def __init__(self, expr: str)
[all...]
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/
H A DComputeTests.cpp89 auto splitLines = [](const std::string &str) -> std::vector<std::string> { in compileSpirv()
90 std::stringstream ss(str); in compileSpirv()
382 src.str(), [](uint32_t i) { return i; }, [](uint32_t i) { return i; }); in TEST_P()
444 src.str(), [](uint32_t i) { return i; }, [](uint32_t i) { return i; }); in TEST_P()
506 src.str(), [](uint32_t i) { return i; }, [](uint32_t i) { return i; }); in TEST_P()
569 src.str(), [](uint32_t i) { return i; }, [](uint32_t i) { return i * 2; }); in TEST_P()
632 src.str(), [](uint32_t i) { return i; }, [](uint32_t i) { return i % 2; }); in TEST_P()
699 src.str(), [](uint32_t i) { return i; }, [](uint32_t i) { return i % 2; }); in TEST_P()
768 src.str(), [](uint32_t i) { return i; }, [](uint32_t i) { return (i % 2) == 0 ? 1 : 2; }); in TEST_P()
833 src.str(), [](uint32_ in TEST_P()
[all...]
/third_party/mbedtls/tests/scripts/
H A Dgenerate_psa_tests.py28 verb: str, key_type: str, bits: int,
29 dependencies: List[str],
30 *args: str,
31 param_descr: str = ''
66 param_descr: str = '',
109 str(bits),
144 key_type: str, bits: int,
145 dependencies: List[str],
146 *args: str,
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_early_debug.h21 void edb_put_str_p0(char *str);
22 void edb_put_str_p1(char *str, unsigned int p1);
23 void edb_put_str_p2(char *str, unsigned int p1, unsigned int p2);
24 void edb_put_str_p3(char *str, unsigned int p1, unsigned int p2, unsigned int p3);
25 void edb_put_str_p4(char *str, unsigned int p1, unsigned int p2, unsigned int p3, unsigned int p4);
/third_party/libabigail/tests/data/test-read-dwarf/
H A Dtest24-drop-fns.cc16 string str = "The input string was: '" + s; in foo() local
17 return str; in foo()
21 bar(const string& str) in bar() argument
24 *o << str << foo(str); in bar()
/third_party/jerryscript/tests/jerry/es2015/
H A Dfunction-properties.js17 var str = "";
20 if (str)
22 str += " " + name;
26 str = name;
29 return str;
/third_party/jerryscript/tests/jerry/
H A Dequality.js20 var str = "0"; variable
25 assert(str === str);
28 assert((num === str) == false);
29 assert((obj === str) == false);
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Djson_platform_v8.cc16 // Parses |str| into |result|. Returns false iff there are
18 bool StrToD(const char* str, double* result) { in StrToD() argument
20 v8::internal::StringToDouble(str, v8::internal::NO_CONVERSION_FLAGS); in StrToD()
28 const char* str = v8::internal::DoubleToCString(value, buffer); in DToStr() local
29 return (str == nullptr) ? "" : std::string(str); in DToStr()
/third_party/typescript/tests/baselines/reference/
H A DlastPropertyInLiteralWins.js3 thunk: (str: string) => void;
6 thing.thunk("str");
9 thunk: (str: string) => {},
15 thunk: (str: string) => {}
21 thing.thunk("str");
24 thunk: function (str) { },
29 thunk: function (str) { }
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/ddr_init/boot/
H A Duart.S19 str a3, [a4, #48]
22 str a3, [a4, #36]
24 str a3, [a4, #40]
27 str a3, [a4, #44]
30 str a3, [a4, #48]
50 str a3, [a2, #0]
86 str a4, [a2, #0]
115 str a1, [a2, #0]
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ddr_init/boot/
H A Duart.S19 str a3, [a4, #48]
22 str a3, [a4, #36]
24 str a3, [a4, #40]
27 str a3, [a4, #44]
30 str a3, [a4, #48]
50 str a3, [a2, #0]
86 str a4, [a2, #0]
115 str a1, [a2, #0]
/test/xts/acts/account/account_ndk/osaccount_ndk/entry/src/main/cpp/
H A Dosaccount_ndk_test.cpp27 char str[MAX_NAME_LENGTH] = {0}; in OsAccountGetAccountNameA() local
28 OsAccount_ErrCode returnValue = OH_OsAccount_GetName(str, MAX_NAME_LENGTH); in OsAccountGetAccountNameA()
31 NAPI_CALL(env, napi_create_string_utf8(env, str, NAPI_AUTO_LENGTH, &result)); in OsAccountGetAccountNameA()
41 char str[MAX_NAME_LENGTH] = {0}; in OsAccountGetAccountNameB() local
42 OsAccount_ErrCode returnValue = OH_OsAccount_GetName(str, 0); in OsAccountGetAccountNameB()
45 NAPI_CALL(env, napi_create_string_utf8(env, str, NAPI_AUTO_LENGTH, &result)); in OsAccountGetAccountNameB()
55 char str[MAX_NAME_LENGTH] = {0}; in OsAccountGetAccountNameC() local
59 NAPI_CALL(env, napi_create_string_utf8(env, str, NAPI_AUTO_LENGTH, &result)); in OsAccountGetAccountNameC()

Completed in 16 milliseconds

1...<<21222324252627282930>>...376