Home
last modified time | relevance | path

Searched refs:str (Results 876 - 900 of 11031) sorted by relevance

1...<<31323334353637383940>>...442

/third_party/skia/gm/
H A Dgiantbitmap.cpp81 SkString str("giantbitmap_");
84 str.append("clamp");
87 str.append("repeat");
90 str.append("mirror");
93 str.append("decal");
98 str.append(fDoFilter ? "_bilerp" : "_point");
99 str.append(fDoRotate ? "_rotate" : "_scale");
100 return str;
/third_party/skia/infra/bots/recipes/
H A Dupload_dm_results.py45 files_to_upload = [f for f in files_to_upload if str(f).endswith(ext)]
54 str(now.year ).zfill(4),
55 str(now.month).zfill(2),
56 str(now.day ).zfill(2),
57 str(now.hour ).zfill(2),
60 str(int(calendar.timegm(now.utctimetuple())))])
65 str(api.vars.issue), str(api.vars.patchset)))
/third_party/rust/crates/regex/src/
H A Dre_unicode.rs6 use std::str::FromStr;
21 pub fn escape(text: &str) -> String { in escape()
30 text: &'t str,
57 pub fn as_str(&self) -> &'t str { in as_str()
63 fn new(haystack: &'t str, start: usize, end: usize) -> Match<'t> { in as_str()
68 impl<'t> From<Match<'t>> for &'t str {
69 fn from(m: Match<'t>) -> &'t str { in from()
112 /// # Using the `std::str::pattern` methods with `Regex` in from()
118 /// defined on `&str`. For example, `is_match`, `find`, `find_iter` in from()
119 /// and `split` can be replaced with `str in from()
[all...]
/third_party/vk-gl-cts/framework/delibs/debase/
H A DdeString.c36 * \param str String to compute hash value for.
39 deUint32 deStringHash (const char* str) in deStringHash() argument
47 DE_ASSERT(str); in deStringHash()
48 while ((c = (unsigned int)*str++) != 0) in deStringHash()
54 deUint32 deStringHashLeading (const char* str, int numLeadingChars) in deStringHashLeading() argument
59 DE_ASSERT(str); in deStringHashLeading()
60 while (numLeadingChars-- && (c = (unsigned int)*str++) != 0) in deStringHashLeading()
96 deBool deStringBeginsWith (const char* str, const char* lead) in deStringBeginsWith() argument
98 const char* a = str; in deStringBeginsWith()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_common_utils_test/src/
H A Dmedialibrary_common_utils_test.cpp163 string str = ""; in HWTEST_F() local
164 MediaLibraryCommonUtils::ExtractKeyWord(str); in HWTEST_F()
165 str = ">="; in HWTEST_F()
166 MediaLibraryCommonUtils::ExtractKeyWord(str); in HWTEST_F()
167 EXPECT_EQ(str, ""); in HWTEST_F()
168 str = ">=date_added"; in HWTEST_F()
169 MediaLibraryCommonUtils::ExtractKeyWord(str); in HWTEST_F()
170 EXPECT_EQ(str, "date_added"); in HWTEST_F()
171 str = "date_added>="; in HWTEST_F()
172 MediaLibraryCommonUtils::ExtractKeyWord(str); in HWTEST_F()
[all...]
/foundation/communication/netstack/test/fuzztest/websocketinnerapi_fuzzer/
H A Dwebsocket_inner_fuzzer.cpp73 std::string str(cstr); in GetStringFromData()
74 return str; in GetStringFromData()
91 std::string str = GetStringFromData(STR_LEN); in SetRequestOptionsTest() local
92 openOptions.headers["Content-Type"] = str; in SetRequestOptionsTest()
93 openOptions.headers["Authorization"] = str; in SetRequestOptionsTest()
105 std::string str = GetStringFromData(STR_LEN); in SetConnectUrlTest() local
110 client->Connect(str, openOptions); in SetConnectUrlTest()
120 std::string str = GetStringFromData(STR_LEN); in SetSendDataTest() local
125 const char *data1 = str.c_str(); in SetSendDataTest()
153 std::string str in SetCloseOptionTest() 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...]
/foundation/ai/ai_engine/test/function/sync_process/
H A Dsync_process_function_test.cpp74 const char *str = INPUT_CHARACTER_002; in TestGetRightInfo() local
75 char *inputData = const_cast<char*>(str); in TestGetRightInfo()
109 const char *str = INPUT_CHARACTER_001; in HWTEST_F() local
110 char *inputData = const_cast<char*>(str); in HWTEST_F()
111 int len = strlen(str) + 1; in HWTEST_F()
156 const char *str = INPUT_CHARACTER_002; in HWTEST_F() local
157 char *inputData = const_cast<char*>(str); in HWTEST_F()
158 int len = strlen(str) + 1; in HWTEST_F()
228 const char *str = INPUT_CHARACTER_002; in HWTEST_F() local
229 char *inputData = const_cast<char*>(str); in HWTEST_F()
297 const char *str = INPUT_CHARACTER_001; HWTEST_F() local
[all...]
/foundation/ai/intelligent_voice_framework/llt/hdt/depend_libs/src/
H A Dfile_ex.cpp285 string str; in StringExistsInFile() local
286 if (!LoadStringFromFile(fileName, str)) { in StringExistsInFile()
292 return (str.find(subStr) != string::npos); in StringExistsInFile()
295 string strlower(str); in StringExistsInFile()
297 transform(str.begin(), str.end(), strlower.begin(), ::tolower); in StringExistsInFile()
302 int CountStrInStr(const string& str, const string& subStr) in CountStrInStr() argument
312 while ((position = str.find(subStr, position)) != string::npos) { in CountStrInStr()
327 string str; in CountStrInFile() local
328 if (!LoadStringFromFile(fileName, str)) { in CountStrInFile()
[all...]
/foundation/arkui/ace_engine/adapter/preview/sdk/dump/
H A Dresource_index.py92 key_str = "{}mcc{}".format(key_str, str(i))
94 key_str = "{}_mcc{}".format(key_str, str(i))
102 raise Exception("invalid key={}".format(str(int(key_s[0]))))
137 key_str = "{}:{}".format(str(p_key_type), str(p_value))
139 key_str = "{}-{}:{}".format(key_str, str(p_key_type), str(p_value))
185 d_value = "{}<{}>".format(d_value, str(tmp[2 + d_d_pos:2 + d_d_value_len + d_d_pos]))
193 d_name = str(d_buf[12 + d_value_len:12 + d_value_len + d_name_len - 1].decode("utf-8"))
215 os.write(out_file, str
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/
H A Dwifi_config_file_impl.h36 * @param str - String
38 static inline void TrimString(std::string &str) in TrimString() argument
41 int j = static_cast<int>(str.length()) - 1; in TrimString()
42 while (i < static_cast<int>(str.length()) && str[i] == ' ') { in TrimString()
45 while (j >= 0 && str[j] == ' ') { in TrimString()
48 str = ((i > j) ? "" : str.substr(i, j - i + 1)); in TrimString()
54 * @param str - String
56 static inline void DelComment(std::string &str) in DelComment() argument
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/ipc_conn/
H A Dasset.rs44 pub fn id(&self) -> &str { in id()
49 pub fn name(&self) -> &str { in name()
54 pub fn uri(&self) -> &str { in uri()
59 pub fn local_path(&self) -> &str { in local_path()
64 pub fn create_time(&self) -> &str { in create_time()
69 pub fn modify_time(&self) -> &str { in modify_time()
74 pub fn size(&self) -> &str { in size()
79 pub fn hash(&self) -> &str { in hash()
208 table: &str,
209 gid: &str,
[all...]
/third_party/libsnd/src/
H A Dnist.c124 char str [64], *cptr ; in nist_read_header() local
158 { sscanf (cptr, "sample_coding -s%d %63s", &count, str) ; in nist_read_header()
160 if (strcmp (str, "pcm") == 0) in nist_read_header()
164 else if (strcmp (str, "alaw") == 0) in nist_read_header()
166 else if ((strcmp (str, "ulaw") == 0) || (strcmp (str, "mu-law") == 0)) in nist_read_header()
169 { psf_log_printf (psf, "*** Unknown encoding : %s\n", str) ; in nist_read_header()
193 && sscanf (cptr, "sample_byte_format -s%u %8s", &bytes, str) == 2) in nist_read_header()
195 if (bytes != strlen (str)) in nist_read_header()
196 psf_log_printf (psf, "Weird sample_byte_format : strlen '%s' != %d\n", str, byte in nist_read_header()
[all...]
/third_party/libsnd/Octave/
H A Dsndfile.cc219 str_split (const std::string & str, const std::string & delim, std::vector <std::string> & output) in str_split() argument
224 delim_index = str.find (delim, offset) ; in str_split()
228 output.push_back (str.substr(offset, delim_index - offset)) ; in str_split()
230 delim_index = str.find (delim, offset) ; in str_split()
233 output.push_back (str.substr (offset)) ; in str_split()
237 hash_of_str (const std::string & str) in hash_of_str() argument
241 for (unsigned k = 0 ; k < str.length () ; k++) in hash_of_str()
242 hash = (hash * 3) + tolower (str [k]) ; in hash_of_str()
248 major_format_of_hash (const std::string & str) in major_format_of_hash() argument
251 hash = hash_of_str (str) ; in major_format_of_hash()
285 minor_format_of_hash(const std::string & str) minor_format_of_hash() argument
[all...]
/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...]

Completed in 13 milliseconds

1...<<31323334353637383940>>...442