/kernel/linux/linux-6.6/include/linux/ |
H A D | kbuild.h | 10 #define OFFSET(sym, str, mem) \ 11 DEFINE(sym, offsetof(struct str, mem))
|
/kernel/liteos_m/testsuites/sample/kernel/lms/ |
H A D | It_los_lms_001.c | 38 char *str = (char*)LOS_MemAlloc(g_testLmsPool, INDEX_MAX);
in TestCase() local 43 PRINTK("str[%2d]=0x%2x ", i, str[i]);
in TestCase()
|
/third_party/gn/infra/recipe_modules/windows_sdk/ |
H A D | __init__.py | 24 sdk_package=Single(str), 25 sdk_version=Single(str)),
|
/third_party/benchmark/cmake/ |
H A D | posix_regex.cpp | 4 std::string str = "test0159"; in main() local 10 int ret = regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; in main()
|
H A D | gnu_posix_regex.cpp | 4 std::string str = "test0159"; in main() local 10 return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; in main()
|
H A D | std_regex.cpp | 4 const std::string str = "test0159"; in main() local 8 return std::regex_search(str, re) ? 0 : -1; in main()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | RbnfLenientScanner.java | 37 * @param str The string being tested 38 * @param prefix The text we're hoping to see at the beginning of "str" 39 * @return the number of characters in "str" that were matched 43 int prefixLength(String str, String prefix); in prefixLength() argument 48 * @param str The string to search 49 * @param key The string to search "str" for 50 * @param startingAt The index into "str" where the search is to 54 * number of characters in "str" that matched (which isn't necessarily 59 int[] findText(String str, String key, int startingAt); in findText() argument
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | RbnfLenientScanner.java | 39 * @param str The string being tested 40 * @param prefix The text we're hoping to see at the beginning of "str" 41 * @return the number of characters in "str" that were matched 45 int prefixLength(String str, String prefix); in prefixLength() argument 50 * @param str The string to search 51 * @param key The string to search "str" for 52 * @param startingAt The index into "str" where the search is to 56 * number of characters in "str" that matched (which isn't necessarily 61 int[] findText(String str, String key, int startingAt); in findText() argument
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | let12.js | 15 function checkSyntax (str) { 17 eval (str);
|
/third_party/ltp/include/ |
H A D | tst_buffers.h | 32 char *str; member 47 char *tst_strdup(const char *str);
|
/third_party/node/test/fixtures/workload/ |
H A D | grow.js | 7 const str = JSON.stringify(process.config).slice(0, chunk); 8 arr.push(str);
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares_str.h | 35 size_t ares_strlen(const char *str); 49 ares_bool_t ares_str_isnum(const char *str);
|
/third_party/mesa3d/src/mesa/program/ |
H A D | arbprogparse.h | 36 const GLvoid *str, GLsizei len, 41 const GLvoid *str, GLsizei len,
|
/third_party/ltp/tools/sparse/sparse-src/validation/ |
H A D | call-inlined.c | 12 static inline const char *lstrip(const char *str) in lstrip() argument 14 return str + 1; in lstrip()
|
/third_party/musl/libc-test/src/functionalext/supplement/string/ |
H A D | wcslen.c | 28 wchar_t str[] = L"wcslen"; in wcslen_0100() local 30 size_t num = wcslen(str); in wcslen_0100()
|
/third_party/rust/crates/cxx/gen/build/src/ |
H A D | intern.rs | 6 pub struct InternedString(&'static str); 9 pub fn str(self) -> &'static str { in str() functions 14 pub fn intern(s: &str) -> InternedString { in str() 15 static INTERN: OnceCell<Mutex<Set<&'static str>>> = OnceCell::new(); in str()
|
/third_party/skia/infra/bots/recipe_modules/git/ |
H A D | api.py | 19 [str(git_dir), str(git_bin), '%(PATH)s'])})
|
/third_party/rust/crates/serde/test_suite/tests/regression/ |
H A D | issue2371.rs | 11 string: &'static str, 21 string: &'static str, 31 string: &'static str, 41 string: &'static str,
|
/third_party/python/Lib/test/ |
H A D | test_tempfile.py | 40 self.assertIs(str, tempfile._infer_return_type('')) 42 self.assertIs(str, tempfile._infer_return_type(None)) 45 self.assertIs(str, tempfile._infer_return_type('', '')) 53 self.assertIs(str, tempfile._infer_return_type(None, '')) 54 self.assertIs(str, tempfile._infer_return_type('', None)) 55 self.assertIs(str, tempfile._infer_return_type(None, None)) 64 self.assertIs(str, tempfile._infer_return_type(pathlib.Path('/'))) 74 self.assertIs(str, tempfile._infer_return_type(Path('/'))) 76 self.assertIs(str, tempfile._infer_return_type('', Path(''))) 79 self.assertIs(str, tempfil [all...] |
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/test/unittest/common/ |
H A D | jsi_interface_tdd_test.cpp | 264 JSIValue str = JSI::CreateString("test"); in JSIInterfaceTest007() local 269 bool res1 = JSI::ValueIsString(str); in JSIInterfaceTest007() 280 char *strValue = JSI::ValueToString(str); in JSIInterfaceTest007() 290 JSI::ReleaseValueList(str, undefined); in JSIInterfaceTest007() 563 char *str = JSI::GetStringProperty(obj, "string"); in JSIInterfaceTest016() local 565 * @tc.expected: step2. str = "test" in JSIInterfaceTest016() 567 if (str != nullptr && !strcmp(str, "test")) { in JSIInterfaceTest016() 572 EXPECT_TRUE(str != nullptr && !strcmp(str, "tes in JSIInterfaceTest016() 598 char *str = JSI::ValueToString(strValueGet); JSIInterfaceTest017() local 880 JSIValue str = JSI::CreateString("test"); JSIInterfaceTest024() local [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_clock/ |
H A D | text_clock_test_ng.cpp | 592 std::vector<std::string> str = pattern->ParseDateTimeValue(strDateTimeValue); in HWTEST_F() local 593 EXPECT_EQ(str, strVec); in HWTEST_F() 596 str = pattern->ParseDateTimeValue(strDateTimeValue); in HWTEST_F() 597 EXPECT_EQ(str, strVec); in HWTEST_F() 600 str = pattern->ParseDateTimeValue(strDateTimeValue); in HWTEST_F() 601 EXPECT_EQ(str, strVec); in HWTEST_F() 605 str = pattern->ParseDateTimeValue(strDateTimeValue); in HWTEST_F() 606 EXPECT_EQ(str, strVec2); in HWTEST_F() 609 str = pattern->ParseDateTimeValue(strDateTimeValue); in HWTEST_F() 610 EXPECT_EQ(str, strVec in HWTEST_F() [all...] |
/foundation/deviceprofile/device_info_manager/common/src/utils/ |
H A D | profile_utils.cpp | 187 bool ProfileUtils::StartsWith(const std::string& str, const std::string& prefix) in StartsWith() argument 189 return (str.find(prefix, 0) == 0); in StartsWith() 192 bool ProfileUtils::EndsWith(const std::string& str, const std::string& suffix) in EndsWith() argument 194 if (str.length() < suffix.length()) { in EndsWith() 197 return str.substr(str.length() - suffix.length()).compare(suffix) == 0; in EndsWith() 264 std::string str = profileName; in CheckAndAddOhSuffix() local 265 if (IsNeedAddOhSuffix(str, isSvr)) { in CheckAndAddOhSuffix() 266 str = str in CheckAndAddOhSuffix() 273 std::string str = profileName; CheckAndRemoveOhSuffix() local 295 SplitString(const std::string& str, const std::string& splits, std::vector<std::string>& res) SplitString() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/crypto/ |
H A D | sha1-armv4-large.S | 104 str r9,[r14,#-4]! 129 str r9,[r14,#-4]! 154 str r9,[r14,#-4]! 179 str r9,[r14,#-4]! 204 str r9,[r14,#-4]! 232 str r9,[r14,#-4]! 245 str r9,[r14,#-4]! 262 str r9,[r14,#-4]! 279 str r9,[r14,#-4]! 296 str r [all...] |
/kernel/linux/linux-6.6/arch/arm/crypto/ |
H A D | sha1-armv4-large.S | 104 str r9,[r14,#-4]! 129 str r9,[r14,#-4]! 154 str r9,[r14,#-4]! 179 str r9,[r14,#-4]! 204 str r9,[r14,#-4]! 232 str r9,[r14,#-4]! 245 str r9,[r14,#-4]! 262 str r9,[r14,#-4]! 279 str r9,[r14,#-4]! 296 str r [all...] |
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
H A D | usbd_config.c | 92 static char *fconfig_get_string(struct usb_obj *obj, struct fconfig_string *str) in fconfig_get_string() argument 94 size_t size = str->len; in fconfig_get_string() 105 ret = memcpy_s((void *)buf, (size + 1), (void *)str->s, size); in fconfig_get_string() 112 *(buf + str->len) = '\0'; in fconfig_get_string() 197 struct fconfig_string str; in fconfig_make_gadget() local 201 ret = memcpy_s(&str, sizeof(str), user_data, sizeof(str)); in fconfig_make_gadget() 207 name = fconfig_get_string(&cdev->obj, &str); in fconfig_make_gadget() 219 struct fconfig_string str; in fconfig_drop_gadget() local 451 char *str = fconfig_get_string(&dev_strings->obj, &strings[i].str); fconfig_fill_strings() local 970 const char *str = dev_strings->strings[i].s; change_dev_descritor_string() local [all...] |