Home
last modified time | relevance | path

Searched refs:str (Results 1101 - 1125 of 10953) sorted by relevance

1...<<41424344454647484950>>...439

/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dprocess_skeleton_unittest.cpp109 std::u16string str(u"testObject"); in HWTEST_F()
110 sptr<IRemoteObject> object = new IPCObjectStub(str); in HWTEST_F()
113 bool ret = skeleton->AttachValidObject(object.GetRefPtr(), str); in HWTEST_F()
127 std::u16string str(u"testObject"); in HWTEST_F()
128 sptr<IRemoteObject> object = new IPCObjectStub(str); in HWTEST_F()
129 skeleton->AttachValidObject(object.GetRefPtr(), str); in HWTEST_F()
144 std::u16string str(u"testObject"); in HWTEST_F()
145 sptr<IRemoteObject> object = new IPCObjectStub(str); in HWTEST_F()
146 skeleton->AttachValidObject(object.GetRefPtr(), str); in HWTEST_F()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/
H A Dwifi_global_func.h86 * @param str - input string
90 void SplitString(const std::string &str, const std::string &split, std::vector<std::string> &vec);
182 std::string joinedStr = ss.str(); in JoinVecToString()
192 * @param str - split string
196 std::vector<int> SplitStringToIntVector(const std::string &str, const std::string &split);
209 * @param str - input hex string, eg: 010203...
213 int HexStringToVec(const std::string &str, std::vector<char> &vec);
218 * @param str - input hex string, eg: 010203...
224 int HexStringToVec(const std::string &str, uint8_t plainText[], uint32_t plainLength, uint32_t &resultLength);
238 * @param str
[all...]
/third_party/elfutils/lib/
H A Dfixedsizehash.h170 const char *str, in CONCAT()
173 HASHTYPE hval = HASHFCT (str, len ?: strlen (str)); in CONCAT()
220 const char *str, in CONCAT()
224 HASHTYPE hval = HASHFCT (str, len ?: strlen (str)); in CONCAT()
241 const char *str, in CONCAT()
244 HASHTYPE hval = HASHFCT (str, len ?: strlen (str)); in CONCAT()
/third_party/ffmpeg/libavcodec/
H A Dhtmlsubtitles.c29 static int html_color_parse(void *log_ctx, const char *str) in html_color_parse() argument
33 while (str[nb_sharps] == '#') in html_color_parse()
35 str += FFMAX(0, nb_sharps - 1); in html_color_parse()
36 if (av_parse_color(rgba, str, strcspn(str, "\" >"), log_ctx) < 0) in html_color_parse()
44 while (buf->len > 0 && buf->str[buf->len - 1] == ' ') in rstrip_spaces_buf()
45 buf->str[--buf->len] = 0; in rstrip_spaces_buf()
313 while (dst->len >= 2 && !strncmp(&dst->str[dst->len - 2], "\\N", 2)) in ff_htmlmarkup_to_ass()
315 dst->str[dst->len] = 0; in ff_htmlmarkup_to_ass()
/third_party/alsa-lib/src/
H A Dinput.c41 char *(*(gets))(snd_input_t *input, char *str, size_t size);
87 * \param str Address of the destination buffer.
94 char *snd_input_gets(snd_input_t *input, char *str, size_t size) in snd_input_gets() argument
96 return (input->ops->gets)(input, str, size); in snd_input_gets()
142 static char *snd_input_stdio_gets(snd_input_t *input, char *str, size_t size) in snd_input_stdio_gets() argument
145 return fgets(str, (int) size, stdio->fp); in snd_input_stdio_gets()
248 static char *snd_input_buffer_gets(snd_input_t *input, char *str, size_t size) in snd_input_buffer_gets() argument
255 *str++ = c; in snd_input_buffer_gets()
262 *str = '\0'; in snd_input_buffer_gets()
263 return str; in snd_input_buffer_gets()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
H A DXMLRecordWriter.java127 public static String normalize(String str) { in normalize() argument
128 if (str == null) { in normalize()
135 for (int i = 0; i < str.length(); ++i) { in normalize()
136 c = str.charAt(i); in normalize()
139 sb = new StringBuilder(str.substring(0, i)); in normalize()
151 sb = new StringBuilder(str.substring(0, i)); in normalize()
169 return str; in normalize()
249 private void writeString(String str) { in writeString() argument
252 w.write(str); in writeString()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/impl/
H A DXMLRecordWriter.java131 public static String normalize(String str) { in normalize() argument
132 if (str == null) { in normalize()
139 for (int i = 0; i < str.length(); ++i) { in normalize()
140 c = str.charAt(i); in normalize()
143 sb = new StringBuilder(str.substring(0, i)); in normalize()
155 sb = new StringBuilder(str.substring(0, i)); in normalize()
173 return str; in normalize()
253 private void writeString(String str) { in writeString() argument
256 w.write(str); in writeString()
/third_party/musl/src/hilog/linux/
H A Dvsnprintf_s_p.c164 const char *str = string; in SecWriteString() local
167 if (SECUREC_PUTC(*str, f) == EOF) { in SecWriteString()
172 ++str; in SecWriteString()
277 SecPrintfStream str; in SecVsnprintfPImpl() local
280 str.count = (int)count; /* this count include \0 character */ in SecVsnprintfPImpl()
281 str.cur = string; in SecVsnprintfPImpl()
283 retVal = SecOutputPS(&str, priv, format, arglist); in SecVsnprintfPImpl()
284 if ((retVal >= 0) && (SECUREC_PUTC_ZERO(&str) != EOF)) { in SecVsnprintfPImpl()
286 } else if (str.count < 0) { in SecVsnprintfPImpl()
/third_party/musl/porting/linux/user/src/hilog/
H A Dvsnprintf_s_p.c164 const char *str = string; in SecWriteString() local
167 if (SECUREC_PUTC(*str, f) == EOF) { in SecWriteString()
172 ++str; in SecWriteString()
277 SecPrintfStream str; in SecVsnprintfPImpl() local
280 str.count = (int)count; /* this count include \0 character */ in SecVsnprintfPImpl()
281 str.cur = string; in SecVsnprintfPImpl()
283 retVal = SecOutputPS(&str, priv, format, arglist); in SecVsnprintfPImpl()
284 if ((retVal >= 0) && (SECUREC_PUTC_ZERO(&str) != EOF)) { in SecVsnprintfPImpl()
286 } else if (str.count < 0) { in SecVsnprintfPImpl()
/third_party/node/deps/cares/src/lib/
H A Dares_str.c37 size_t ares_strlen(const char *str) in ares_strlen() argument
39 if (str == NULL) { in ares_strlen()
43 return strlen(str); in ares_strlen()
97 ares_bool_t ares_str_isnum(const char *str) in ares_str_isnum() argument
101 if (str == NULL || *str == 0) { in ares_str_isnum()
105 for (i = 0; str[i] != 0; i++) { in ares_str_isnum()
106 if (str[i] < '0' || str[i] > '9') { in ares_str_isnum()
/third_party/nghttp2/tests/
H A Dnghttp2_map_test.c36 const char *str; member
40 const char *str) { in strentry_init()
42 entry->str = str; in strentry_init()
57 CU_ASSERT(strcmp("foo", ((strentry *)nghttp2_map_find(&map, 1))->str) == 0); in test_nghttp2_map()
64 CU_ASSERT(strcmp("foo", ((strentry *)nghttp2_map_find(&map, 1))->str) == 0); in test_nghttp2_map()
75 CU_ASSERT(strcmp("baz", ((strentry *)nghttp2_map_find(&map, 3))->str) == 0); in test_nghttp2_map()
90 CU_ASSERT(strcmp("bar", ((strentry *)nghttp2_map_find(&map, 2))->str) == 0); in test_nghttp2_map()
91 CU_ASSERT(strcmp("shrubbery", ((strentry *)nghttp2_map_find(&map, 4))->str) == in test_nghttp2_map()
39 strentry_init(strentry *entry, nghttp2_map_key_type key, const char *str) strentry_init() argument
/third_party/node/deps/npm/node_modules/negotiator/lib/
H A DmediaType.js53 function parseMediaType(str, i) {
54 var match = simpleMediaTypeRegExp.exec(str);
233 function splitKeyValuePair(str) {
234 var index = str.indexOf('=');
239 key = str;
241 key = str.substr(0, index);
242 val = str.substr(index + 1);
275 function splitParameters(str) {
276 var parameters = str.split(';');
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-number.cc60 char* const str = DoubleToExponentialCString(value_number, f); in BUILTIN() local
61 Handle<String> result = isolate->factory()->NewStringFromAsciiChecked(str); in BUILTIN()
62 DeleteArray(str); in BUILTIN()
104 char* const str = DoubleToFixedCString( in BUILTIN() local
106 Handle<String> result = isolate->factory()->NewStringFromAsciiChecked(str); in BUILTIN()
107 DeleteArray(str); in BUILTIN()
182 char* const str = DoubleToPrecisionCString( in BUILTIN() local
184 Handle<String> result = isolate->factory()->NewStringFromAsciiChecked(str); in BUILTIN()
185 DeleteArray(str); in BUILTIN()
/third_party/rust/crates/clap/tests/builder/
H A Dderive_order.rs3 use std::str;
9 static NO_DERIVE_ORDER: &str = "\ in no_derive_order()
48 static UNIFIED_HELP_AND_DERIVE: &str = "\ in derive_order()
84 static HELP: &str = "\ in derive_order_next_order()
130 static HELP: &str = "\ in derive_order_no_next_order()
175 static UNIFIED_DERIVE_SC_PROP: &str = "\ in derive_order_subcommand_propagate()
213 static UNIFIED_DERIVE_SC_PROP_EXPLICIT_ORDER: &str = "\ in derive_order_subcommand_propagate_with_explicit_display_order()
257 static SUBCMD_ALPHA_ORDER: &str = "\ in subcommand_sorted_display_order()
292 static SUBCMD_DECL_ORDER: &str = "\ in subcommand_derived_display_order()
/third_party/rust/crates/cxx/src/
H A Dcxx_string.rs14 use core::str::{self, Utf8Error};
139 /// it as a Rust &amp;str, otherwise an error.
140 pub fn to_str(&self) -> Result<&str, Utf8Error> { in to_str()
141 str::from_utf8(self.as_bytes()) in to_str()
145 /// a view as a Cow::Borrowed &amp;str. Otherwise replaces any invalid UTF-8
152 pub fn to_string_lossy(&self) -> Cow<str> { in to_string_lossy()
200 pub fn push_str(self: Pin<&mut Self>, s: &str) { in push_str()
228 impl PartialEq<CxxString> for str {
234 impl PartialEq<str> for CxxString {
235 fn eq(&self, other: &str)
[all...]
/third_party/python/Include/cpython/
H A Dpythonrun.h58 const char *str,
64 const char *str,
69 #define Py_CompileString(str, p, s) Py_CompileStringExFlags(str, p, s, NULL, -1)
70 #define Py_CompileStringFlags(str, p, s, f) Py_CompileStringExFlags(str, p, s, f, -1)
85 PyAPI_FUNC(PyObject *) PyRun_String(const char *str, int s, PyObject *g, PyObject *l);
99 #define PyRun_String(str, s, g, l) PyRun_StringFlags(str, s, g, l, NULL)
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dparse_dependency.py293 str = ''
303 str = str + markupTraverse(elem, level = nextlevel, root = False)
305 str = str + f'{prefix}{opMarkupAsciidoc(elem)} +\n'
307 str = str + f'{prefix}{leafMarkupAsciidoc(elem)} +\n'
309 return str
322 for str in [ 'VK_VERSION_1_0', 'cl_khr_extension_name', 'XR_VERSION_3_2', 'CL_VERSION_1_0' ]:
323 print(f'{str}
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dfunction.cpp254 std::ostream& operator<<(std::ostream& str, const Function& func) { in operator <<() argument
255 str << func.PrettyPrint(); in operator <<()
256 return str; in operator <<()
264 std::ostringstream str; in PrettyPrint() local
265 ForEachInst([&str, options](const Instruction* inst) { in PrettyPrint()
266 str << inst->PrettyPrint(options); in PrettyPrint()
268 str << std::endl; in PrettyPrint()
271 return str.str(); in PrettyPrint()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dfunction.cpp254 std::ostream& operator<<(std::ostream& str, const Function& func) { in operator <<() argument
255 str << func.PrettyPrint(); in operator <<()
256 return str; in operator <<()
264 std::ostringstream str; in PrettyPrint() local
265 ForEachInst([&str, options](const Instruction* inst) { in PrettyPrint()
266 str << inst->PrettyPrint(options); in PrettyPrint()
268 str << std::endl; in PrettyPrint()
271 return str.str(); in PrettyPrint()
/third_party/skia/src/ports/
H A DSkOSFile_posix.cpp170 // returns true if suffix is empty, or if str ends with suffix
171 static bool issuffixfor(const SkString& suffix, const char str[]) { in issuffixfor() argument
173 size_t strLen = strlen(str); in issuffixfor()
176 memcmp(suffix.c_str(), str + strLen - suffixLen, suffixLen) == 0; in issuffixfor()
186 SkString str(self.fPath); in next()
188 if (!str.endsWith("/") && !str.endsWith("\\")) { in next()
189 str.append("/"); in next()
191 str.append(entry->d_name); in next()
193 if (0 == stat(str in next()
[all...]
/third_party/optimized-routines/string/aarch64/
H A Dstrcpy-mte.S89 str dataq, [dstin]
90 str dataq2, [dstin, tmp]
106 str data1, [dstin]
107 str data2, [dstin, tmp]
117 str dataw1, [dstin]
118 str dataw2, [dstin, tmp]
136 str dataq2, [dstin]
140 str dataq, [dst], 16
157 str dataq, [dst, tmp]
/third_party/typescript/tests/baselines/reference/
H A DtemplateLiteralTypesPatterns.js136 declare var str: AStr;
141 num = str;
145 str = num;
146 anyish = str;
147 str = anyish;
313 num = str;
316 str = num;
317 anyish = str;
318 str = anyish;
/third_party/rust/crates/nom/tests/
H A Dissues.rs30 use std::str;
41 let result = str::from_utf8(x).unwrap(); in spaces_or_int()
87 fn twolines(i: &str) -> IResult<&str, (&str, &str)> { in issue_655()
161 pub fn parser<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in issue_942()
162 i: &'a str, in issue_942()
163 ) -> IResult<&'a str, usiz in issue_942()
[all...]
H A Darithmetic_ast.rs4 use std::str::FromStr;
61 fn parens(i: &str) -> IResult<&str, Expr> { in parens()
69 fn factor(i: &str) -> IResult<&str, Expr> { in factor()
91 fn term(i: &str) -> IResult<&str, Expr> { in term()
107 fn expr(i: &str) -> IResult<&str, Expr> { in expr()
/third_party/spirv-tools/source/opt/
H A Dfunction.cpp252 std::ostream& operator<<(std::ostream& str, const Function& func) { in operator <<() argument
253 str << func.PrettyPrint(); in operator <<()
254 return str; in operator <<()
262 std::ostringstream str; in PrettyPrint() local
263 ForEachInst([&str, options](const Instruction* inst) { in PrettyPrint()
264 str << inst->PrettyPrint(options); in PrettyPrint()
266 str << std::endl; in PrettyPrint()
269 return str.str(); in PrettyPrint()

Completed in 13 milliseconds

1...<<41424344454647484950>>...439