Home
last modified time | relevance | path

Searched refs:string2 (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/cJson/src/
H A DcJsonMock.cpp21 static int CaseInsensitiveStrcmp(const unsigned char *string1, const unsigned char *string2) in CaseInsensitiveStrcmp() argument
23 if ((string1 == NULL) || (string2 == NULL)) { in CaseInsensitiveStrcmp()
27 if (string1 == string2) { in CaseInsensitiveStrcmp()
31 for (; tolower(*string1) == tolower(*string2); (void)string1++, string2++) { in CaseInsensitiveStrcmp()
37 return tolower(*string1) - tolower(*string2); in CaseInsensitiveStrcmp()
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Davoiding-redundant-operations.md136 下面是一段用于演示日志执行原理的伪代码实例。在调用debug日志功能时,若待打印参数需要先行构造,那么参数的构建逻辑会在实际调用打印方法前被执行。例如,假设有一个将string1和string2参数…
141 @State string2: string = 'b';
145 hilog.debug(1003, 'Debug', (this.string1 + this.string2));
151 const msg = this.string1 + this.string2;
173 void debug(string& msg){ // msg为string1与string2的拼接结果
H A Dapplication-performance-optimization-guidance.md1335 @State string2: string = 'b';
1338 hilog.debug(1004, 'Debug', (this.string1 + this.string2));
/ohos5.0/foundation/ability/idl_tool/util/
H A Dstring.h124 inline String operator+(const String& string1, const char* string2)
126 return string1 += string2;
/ohos5.0/commonlibrary/rust/ylong_json/tests/
H A Dsdv_adapt_serde_test.rs278 string2: String, field
392 string2: String::from("Hello World"), in sdv_adapt_serde_example_three()
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/struct/
H A Djs_struct.ts42 function compareToString(string1: String, string2: String): number {
44 let len2: number = string2.length;
49 if (string1.charCodeAt(k) === string2.charCodeAt(k)) {
56 …return string1.charCodeAt(k) > string2.charCodeAt(k) ? ComparResult.BIGGER_THAN : ComparResult.LES…
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Dresource-categories-and-access.md264 "name": "string2",
/ohos5.0/base/print/print_fwk/test/unittest/others/
H A Dprint_cups_client_vendor_helper_other_test.cpp1215 EXPECT_EQ(ConvertJsonToStringList(R"(["string1", "string2"])", list), true); in TEST_F()
1229 EXPECT_EQ(ConvertJsonToStringList(R"(["string1", "string2"])", list), true); in TEST_F()
/ohos5.0/docs/en/application-dev/quick-start/
H A Dresource-categories-and-access.md277 "name": "string2",