Home
last modified time | relevance | path

Searched refs:str (Results 1026 - 1050 of 15478) sorted by relevance

1...<<41424344454647484950>>...620

/third_party/NuttX/drivers/usbdev/gadget/
H A Df_dfu.c178 if (des->str == NULL || des->len <= 0) in set_manufacturer_string()
180 usb_err("%s failed, des->str is NULL or des->len is 0\n", __FUNCTION__); in set_manufacturer_string()
194 g_manufacturer_str.str = buf; in set_manufacturer_string()
199 (void)memcpy_s(buf + DFU_STRING_HEAD_LEN, (size_t)str_des->len, str_des->str, (size_t)str_des->len); in set_manufacturer_string()
214 if (des->str == NULL || des->len <= 0) in set_serial_number_string()
216 usb_err("%s failed, des->str is NULL or des->len is 0\n", __FUNCTION__); in set_serial_number_string()
230 g_serial_number_str.str = buf; in set_serial_number_string()
235 (void)memcpy_s(buf + DFU_STRING_HEAD_LEN, (size_t)str_des->len, str_des->str, (size_t)str_des->len); in set_serial_number_string()
250 if (des->str == NULL || des->len <= 0) in set_product_string()
252 usb_err("%s failed, des->str i in set_product_string()
398 struct string_des str; usbdev_dfu_dev_init() local
1193 const char *str; usbdev_dfu_mkstrdesc() local
[all...]
/third_party/libsnd/tests/
H A Dstring_test.c40 static const char STR_TEST_PREFIX[] = "str" ;
624 const char * str ; in string_rdwr_test() local
638 str = sf_get_string (file, SF_STR_TITLE) ; in string_rdwr_test()
639 exit_if_true (str == NULL, "\n\nLine %d : SF_STR_TITLE string is NULL.\n", __LINE__) ; in string_rdwr_test()
640 exit_if_true (strcmp (str, title) != 0, "\n\nLine %d : SF_STR_TITLE doesn't match what was written.\n", __LINE__) ; in string_rdwr_test()
649 str = sf_get_string (file, SF_STR_TITLE) ; in string_rdwr_test()
650 exit_if_true (str == NULL, "\n\nLine %d : SF_STR_TITLE string is NULL.\n", __LINE__) ; in string_rdwr_test()
656 str = sf_get_string (file, SF_STR_ARTIST) ; in string_rdwr_test()
657 exit_if_true (str == NULL, "\n\nLine %d : SF_STR_ARTIST string is NULL.\n", __LINE__) ; in string_rdwr_test()
658 exit_if_true (strcmp (str, artis in string_rdwr_test()
677 const char * str ; string_short_rdwr_test() local
788 const char * str ; string_rdwr_grow_test() local
846 const char * str ; string_header_update() local
[all...]
/base/hiviewdfx/hilog_lite/frameworks/js/builtin/include/
H A Dhilog_string.h28 static char *Get(const HilogString *str);
29 static size_t Length(const HilogString *str);
30 static size_t Puts(const char *src, HilogString *str, size_t strLen = 0);
31 static char Putc(char c, HilogString *str);
36 char *str; member in OHOS::ACELite::HilogString
/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) { }
/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Darray_wrapper.cpp152 auto func = [](const std::string &str) -> sptr<IInterface> { return String::Parse(str); }; in ParseString()
162 auto func = [](const std::string &str) -> sptr<IInterface> { return Boolean::Parse(str); }; in ParseBoolean()
172 auto func = [](const std::string &str) -> sptr<IInterface> { return Byte::Parse(str); }; in ParseByte()
182 auto func = [](const std::string &str) -> sptr<IInterface> { return Short::Parse(str); }; in ParseShort()
192 auto func = [](const std::string &str) -> sptr<IInterface> { return Integer::Parse(str); }; in ParseInteger()
[all...]
/base/hiviewdfx/hilog/frameworks/libhilog/utils/include/
H A Dlog_utils.h73 uint16_t Str2LogType(const std::string& str);
75 uint16_t Str2ComboLogType(const std::string& str);
78 uint16_t Str2LogLevel(const std::string& str);
80 uint16_t ShortStr2LogLevel(const std::string& str);
81 uint16_t PrettyStr2LogLevel(const std::string& str);
83 uint16_t Str2ComboLogLevel(const std::string& str);
85 uint16_t Str2ShowFormat(const std::string& str);
87 uint64_t Str2Size(const std::string& str);
96 uint32_t DecStr2Uint(const std::string& str);
98 uint32_t HexStr2Uint(const std::string& str);
[all...]
/base/request/request/services/src/utils/
H A Dmod.rs81 pub(crate) fn string_to_hashmap(str: &mut str) -> HashMap<String, String> {
83 if str.is_empty() {
86 for item in str.split("\r\n") {
93 pub(crate) fn split_string(str: &mut str) -> std::str::Split<'_, &str> {
95 str.trim_matches(pat).split(", ")
120 pub(crate) fn check_permission(permission: &str)
[all...]
/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/beans/
H A Devent_node.py121 return self.tag + '(' + str(self.frameNodeId) + ')\n' + self.type + '\n' + self.address
124 return (self.tag + '(' + str(
129 result_str = ' frameNodeId: ' + str(self.frameNodeId) + ', type: ' + self.type + ', depth: ' + str(
134 result_str += ',' + ' direction: ' + str(self.direction)
136 result_str += ',' + ' distance: ' + str(self.distance)
138 result_str += ',' + ' duration: ' + str(self.duration)
140 result_str += ',' + ' repeat: ' + str(self.repeat)
142 result_str += ',' + ' isForDrag: ' + str(self.isForDrag)
144 result_str += ',' + ' fingers: ' + str(sel
[all...]
/foundation/communication/dsoftbus/tests/core/connection/ble/mock/
H A Dconnection_ble_manager_mock.cpp39 const cJSON *json, const char * const str, int32_t *target) in ActionOfGetdelta()
42 (void)str; in ActionOfGetdelta()
50 const cJSON *json, const char * const str, int32_t *target) in ActionOfGetPeerRc1()
53 (void)str; in ActionOfGetPeerRc1()
61 const cJSON *json, const char * const str, int32_t *target) in ActionOfGetPeerRc0()
64 (void)str; in ActionOfGetPeerRc0()
200 bool GetJsonObjectSignedNumberItem(const cJSON *json, const char * const str, int32_t *target) in GetJsonObjectSignedNumberItem() argument
202 return GetConnectionBleInterface()->GetJsonObjectSignedNumberItem(json, str, target); in GetJsonObjectSignedNumberItem()
205 bool GetJsonObjectNumber16Item(const cJSON *json, const char * const str, uint16_t *target) in GetJsonObjectNumber16Item() argument
207 return GetConnectionBleInterface()->GetJsonObjectNumber16Item(json, str, targe in GetJsonObjectNumber16Item()
38 ActionOfGetdelta( const cJSON *json, const char * const str, int32_t *target) ActionOfGetdelta() argument
49 ActionOfGetPeerRc1( const cJSON *json, const char * const str, int32_t *target) ActionOfGetPeerRc1() argument
60 ActionOfGetPeerRc0( const cJSON *json, const char * const str, int32_t *target) ActionOfGetPeerRc0() argument
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/
H A Dsleep.S51 str r4, [r6]
58 str r1, [r5]
120 str r3, [r0]
121 str r4, [r1]
122 str r5, [r2]
125 str r7, [r6]
128 str r8, [r6]
131 str r10, [r9]
134 str r11, [r6]
141 str r1
[all...]
/kernel/linux/linux-6.6/arch/arm/mach-sa1100/
H A Dsleep.S51 str r4, [r6]
58 str r1, [r5]
120 str r3, [r0]
121 str r4, [r1]
122 str r5, [r2]
125 str r7, [r6]
128 str r8, [r6]
131 str r10, [r9]
134 str r11, [r6]
141 str r1
[all...]
/kernel/linux/linux-6.6/tools/objtool/
H A Dbuiltin-check.c29 static int parse_dump(const struct option *opt, const char *str, int unset) in parse_dump() argument
31 if (!str || !strcmp(str, "orc")) { in parse_dump()
39 static int parse_hacks(const struct option *opt, const char *str, int unset) in parse_hacks() argument
50 if (!str || strstr(str, "jump_label")) { in parse_hacks()
55 if (!str || strstr(str, "noinstr")) { in parse_hacks()
60 if (!str || strstr(str, "skylak in parse_hacks()
[all...]
/kernel/linux/linux-6.6/rust/macros/
H A Dmodule.rs26 module: &'a str,
32 fn new(module: &'a str) -> Self { in new()
40 fn emit_base(&mut self, field: &str, content: &str, builtin: bool) { in emit_base()
78 fn emit_only_builtin(&mut self, field: &str, content: &str) { in emit_only_builtin()
82 fn emit_only_loadable(&mut self, field: &str, content: &str) { in emit_only_loadable()
86 fn emit(&mut self, field: &str, content: &str) { in emit()
[all...]
/third_party/elfutils/libelf/
H A Dnlist.c44 const char *str; member
49 #define HASHFCT(str, len) INTUSE(elf_hash) (str)
50 #define COMPARE(p1, p2) strcmp ((p1)->str, (p2)->str)
153 mem.str = INTUSE(elf_strptr) (elf, shdr->sh_link, sym->st_name); in nlist()
154 if (mem.str == NULL) in nlist()
158 if (mem.str[0] == '\0') in nlist()
168 (void) nlist_fshash_overwrite (table, mem.str, 0, &mem); in nlist()
181 search.str in nlist()
[all...]
/third_party/gn/src/gn/
H A Dstring_atom_unittest.cc19 ASSERT_STREQ(key1.str().c_str(), ""); in TEST()
20 ASSERT_STREQ(key2.str().c_str(), ""); in TEST()
21 ASSERT_EQ(&key1.str(), &key2.str()); in TEST()
26 EXPECT_EQ(empty.str(), std::string()); in TEST()
29 EXPECT_EQ(foo.str(), std::string("foo")); in TEST()
32 EXPECT_EQ(&foo.str(), &foo2.str()); in TEST()
84 return &atom.str();
146 ASSERT_EQ(keys[nn].str(), string_fo
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
H A DvktConditionalRenderingTestUtil.cpp113 std::ostream& operator<< (std::ostream& str, ConditionalData const& c) in operator <<() argument
116 str << (conditionEnabled ? "condition" : "no_condition"); in operator <<()
117 str << (c.memoryType ? "_host_memory" : "_local_memory"); in operator <<()
122 str << "_secondary_buffer"; in operator <<()
127 str << "_inherited"; in operator <<()
130 str << "_" << (c.expectCommandExecution ? "expect_execution" : "expect_noop"); in operator <<()
134 str << "_inverted"; in operator <<()
139 str << "_padded"; in operator <<()
144 str << "_rp_clear"; in operator <<()
147 return str; in operator <<()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
H A DvktConditionalRenderingTestUtil.cpp113 std::ostream& operator<< (std::ostream& str, ConditionalData const& c) in operator <<() argument
116 str << (conditionEnabled ? "condition" : "no_condition"); in operator <<()
117 str << (c.memoryType ? "_host_memory" : "_local_memory"); in operator <<()
122 str << "_secondary_buffer"; in operator <<()
127 str << "_inherited"; in operator <<()
130 str << "_" << (c.expectCommandExecution ? "expect_execution" : "expect_noop"); in operator <<()
134 str << "_inverted"; in operator <<()
139 str << "_padded"; in operator <<()
144 str << "_rp_clear"; in operator <<()
147 return str; in operator <<()
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/val/
H A Dval_extensions_test.cpp74 const std::string str = in TEST_P() local
77 CompileSuccessfully(str.c_str()); in TEST_P()
84 const std::string str = in TEST_P() local
87 CompileSuccessfully(str.c_str()); in TEST_P()
93 const std::string str = in TEST_F() local
109 CompileSuccessfully(str.c_str()); in TEST_F()
116 const std::string str = in TEST_F() local
120 CompileSuccessfully(str.c_str()); in TEST_F()
125 const std::string str = in TEST_F() local
128 CompileSuccessfully(str in TEST_F()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/
H A Dval_extensions_test.cpp74 const std::string str = in TEST_P() local
77 CompileSuccessfully(str.c_str()); in TEST_P()
84 const std::string str = in TEST_P() local
87 CompileSuccessfully(str.c_str()); in TEST_P()
93 const std::string str = in TEST_F() local
109 CompileSuccessfully(str.c_str()); in TEST_F()
116 const std::string str = in TEST_F() local
120 CompileSuccessfully(str.c_str()); in TEST_F()
125 const std::string str = in TEST_F() local
128 CompileSuccessfully(str in TEST_F()
[all...]
/third_party/skia/third_party/externals/freetype/tests/scripts/
H A Ddownload-test-fonts.py101 def check_existing(path: str, hex_digest: str):
112 def install_file(content: bytes, dest_path: str):
127 def download_file(url: str, expected_digest: Optional[bytes] = None):
152 archive_name: str,
153 filepath: str,
183 install_path: str,
184 hex_digest: Optional[str],
201 item: dict, install_dir: str, force_download: bool
202 ) -> List[Tuple[str, boo
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dnumbers.h65 ABSL_MUST_USE_RESULT bool SimpleAtoi(absl::string_view str, int_type* out);
73 // allowed formats for `str`, except SimpleAtof() is locale-independent and will
76 ABSL_MUST_USE_RESULT bool SimpleAtof(absl::string_view str, float* out);
84 // allowed formats for `str`, except SimpleAtod is locale-independent and will
87 ABSL_MUST_USE_RESULT bool SimpleAtod(absl::string_view str, double* out);
97 ABSL_MUST_USE_RESULT bool SimpleAtob(absl::string_view str, bool* out);
249 ABSL_MUST_USE_RESULT bool SimpleAtoi(absl::string_view str, int_type* out) {
250 return numbers_internal::safe_strtoi_base(str, out, 10);
253 ABSL_MUST_USE_RESULT inline bool SimpleAtoi(absl::string_view str,
255 return numbers_internal::safe_strto128_base(str, ou
[all...]

Completed in 13 milliseconds

1...<<41424344454647484950>>...620