Home
last modified time | relevance | path

Searched refs:str1 (Results 1 – 3 of 3) sorted by relevance

/openthread-3.4.0/tests/unit/
Dtest_heap_string.cpp87 Heap::String str1; in TestHeapString() local
96 VerifyString("str1", str1, nullptr); in TestHeapString()
100 SuccessOrQuit(str1.Set("hello")); in TestHeapString()
101 VerifyString("str1", str1, "hello"); in TestHeapString()
102 oldBuffer = str1.AsCString(); in TestHeapString()
104 SuccessOrQuit(str1.Set("0123456789")); in TestHeapString()
105 VerifyString("str1", str1, "0123456789"); in TestHeapString()
106 printf("\tDid reuse its old buffer: %s\n", str1.AsCString() == oldBuffer ? "yes" : "no"); in TestHeapString()
107 oldBuffer = str1.AsCString(); in TestHeapString()
109 SuccessOrQuit(str1.Set("9876543210")); in TestHeapString()
[all …]
/openthread-3.4.0/src/posix/platform/
Dconfig_file.cpp166 char *str1; in Clear() local
169 str1 = strstr(line, kCommentDelimiter); in Clear()
173 containsKey = (str2 != nullptr) && (str1 == nullptr || str2 < str1); in Clear()
/openthread-3.4.0/src/lib/spinel/
Dspinel.c1926 const uint8_t str1[] = "spinel"; in main() local
1935str1, str2, str3, str4, str5, str6, NULL}; in main()