Home
last modified time | relevance | path

Searched refs:strLen (Results 1 - 25 of 63) sorted by relevance

123

/kernel/liteos_a/testsuites/unittest/container/smoke/
H A DIt_user_container_002.cpp51 int strLen = strlen(idMapStr); in WriteIdMap() local
57 int ret = write(uidMap, idMapStr, strLen); in WriteIdMap()
58 if (ret != strLen) { in WriteIdMap()
70 ret = write(gidMap, idMapStr, strLen); in WriteIdMap()
71 if (ret != strLen) { in WriteIdMap()
H A DIt_time_container_004.cpp68 int strLen = strlen(timeOff); in WriteProcTime() local
74 ret = write(fd, timeOff, strLen); in WriteProcTime()
75 if (ret != strLen) { in WriteProcTime()
H A DIt_time_container_005.cpp68 int strLen = strlen(timeOff); in WriteProcTime() local
74 ret = write(fd, timeOff, strLen); in WriteProcTime()
75 if (ret != strLen) { in WriteProcTime()
H A DIt_time_container_007.cpp51 int strLen = strlen(timeOff); in WriteProcTime() local
57 ret = write(fd, timeOff, strLen); in WriteProcTime()
H A DIt_time_container_002.cpp86 int strLen = strlen(timeOff); in WriteProcTime() local
92 ret = write(fd, timeOff, strLen); in WriteProcTime()
93 if (ret != strLen) { in WriteProcTime()
H A DIt_time_container_008.cpp50 int strLen = strlen(timeOff); in WriteProcTime() local
56 ret = write(fd, timeOff, strLen); in WriteProcTime()
/third_party/icu/icu4c/source/common/
H A Duset.cpp90 uset_addString(USet* set, const UChar* str, int32_t strLen) { in uset_addString() argument
91 // UnicodeString handles -1 for strLen in uset_addString()
92 UnicodeString s(strLen<0, str, strLen); in uset_addString()
97 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen) { in uset_addAllCodePoints() argument
98 // UnicodeString handles -1 for strLen in uset_addAllCodePoints()
99 UnicodeString s(str, strLen); in uset_addAllCodePoints()
114 uset_removeString(USet* set, const UChar* str, int32_t strLen) { in uset_removeString() argument
115 UnicodeString s(strLen==-1, str, strLen); in uset_removeString()
215 uset_containsString(const USet* set, const UChar* str, int32_t strLen) uset_containsString() argument
226 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen) uset_containsAllCodePoints() argument
[all...]
/third_party/node/deps/icu-small/source/common/
H A Duset.cpp90 uset_addString(USet* set, const char16_t* str, int32_t strLen) { in uset_addString() argument
91 // UnicodeString handles -1 for strLen in uset_addString()
92 UnicodeString s(strLen<0, str, strLen); in uset_addString()
97 uset_addAllCodePoints(USet* set, const char16_t *str, int32_t strLen) { in uset_addAllCodePoints() argument
98 // UnicodeString handles -1 for strLen in uset_addAllCodePoints()
99 UnicodeString s(str, strLen); in uset_addAllCodePoints()
114 uset_removeString(USet* set, const char16_t* str, int32_t strLen) { in uset_removeString() argument
115 UnicodeString s(strLen==-1, str, strLen); in uset_removeString()
215 uset_containsString(const USet* set, const char16_t* str, int32_t strLen) uset_containsString() argument
226 uset_containsAllCodePoints(const USet* set, const char16_t *str, int32_t strLen) uset_containsAllCodePoints() argument
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Duset.cpp90 uset_addString(USet* set, const UChar* str, int32_t strLen) { in uset_addString() argument
91 // UnicodeString handles -1 for strLen in uset_addString()
92 UnicodeString s(strLen<0, str, strLen); in uset_addString()
97 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen) { in uset_addAllCodePoints() argument
98 // UnicodeString handles -1 for strLen in uset_addAllCodePoints()
99 UnicodeString s(str, strLen); in uset_addAllCodePoints()
114 uset_removeString(USet* set, const UChar* str, int32_t strLen) { in uset_removeString() argument
115 UnicodeString s(strLen==-1, str, strLen); in uset_removeString()
210 uset_containsString(const USet* set, const UChar* str, int32_t strLen) uset_containsString() argument
221 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen) uset_containsAllCodePoints() argument
[all...]
/kernel/liteos_a/shell/full/src/cmds/
H A Ddate_shellcmd.c134 UINT32 strLen = strlen(str); in OsStrToTm() local
135 if (strLen == 8) { /* 8:Time format string length, such as hh:mm:ss or yyyymmdd */ in OsStrToTm()
141 } else if (strLen == 10) { /* 10:Time format string length,such as yyyy/mm/dd */ in OsStrToTm()
143 } else if (strLen == 5) { /* 5:Time format string length,such as hh:mm or mm/dd */ in OsStrToTm()
149 } else if (strLen == 7) { /* 7:Time format string length,such as yyyy/mm */ in OsStrToTm()
/third_party/skia/modules/canvaskit/
H A Dparticles.js32 var strLen = lengthBytesUTF8(key) + 1;
33 var strPtr = CanvasKit._malloc(strLen);
35 stringToUTF8(key, strPtr, strLen);
H A Dskottie.js46 var strLen = lengthBytesUTF8(key) + 1;
47 var strPtr = CanvasKit._malloc(strLen);
49 stringToUTF8(key, strPtr, strLen);
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
H A DPostScriptTable.java436 int strLen = this.data.readUByte(index); in parse()
437 byte[] nameBytes = new byte[strLen]; in parse()
438 this.data.readBytes(index + 1, nameBytes, 0, strLen); in parse()
444 index += 1 + strLen; in parse()
/kernel/liteos_a/kernel/extended/dynload/src/
H A Dlos_exec_elf.c91 UINT32 strLen; in OsCopyUserParam() local
103 strLen = strlen(fileName); in OsCopyUserParam()
104 err = memcpy_s(kfileName, PATH_MAX, fileName, strLen); in OsCopyUserParam()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DReactorDebugInfo.cpp38 size_t strLen = str.size(); in endswith_lower() local
41 if(strLen < suffixLen) in endswith_lower()
46 return to_lower(str).substr(strLen - suffixLen) == to_lower(suffix); in endswith_lower()
/third_party/skia/experimental/skottiekit/
H A Dinterface.js91 var strLen = lengthBytesUTF8(key) + 1;
92 var strPtr = SkottieKit._malloc(strLen);
94 stringToUTF8(key, strPtr, strLen);
/third_party/icu/icu4c/source/common/unicode/
H A Duset.h574 * uset_containsString(set, str, strLen) will return true.
578 * @param strLen the length of the string or -1 if null terminated.
582 uset_addString(USet* set, const UChar* str, int32_t strLen);
590 * @param strLen the length of the string or -1 if null terminated.
594 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
621 * uset_containsString(set, str, strLen) will return false.
625 * @param strLen the length of the string or -1 if null terminated.
629 uset_removeString(USet* set, const UChar* str, int32_t strLen);
888 * @param strLen the length of the string or -1 if null terminated.
893 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
[all...]
/third_party/node/deps/icu-small/source/common/unicode/
H A Duset.h604 * uset_containsString(set, str, strLen) will return true.
608 * @param strLen the length of the string or -1 if null terminated.
612 uset_addString(USet* set, const UChar* str, int32_t strLen);
620 * @param strLen the length of the string or -1 if null terminated.
624 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
651 * uset_containsString(set, str, strLen) will return false.
655 * @param strLen the length of the string or -1 if null terminated.
659 uset_removeString(USet* set, const UChar* str, int32_t strLen);
920 * @param strLen the length of the string or -1 if null terminated.
925 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
[all...]
/third_party/skia/third_party/externals/icu/source/common/unicode/
H A Duset.h574 * uset_containsString(set, str, strLen) will return true.
578 * @param strLen the length of the string or -1 if null terminated.
582 uset_addString(USet* set, const UChar* str, int32_t strLen);
590 * @param strLen the length of the string or -1 if null terminated.
594 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
621 * uset_containsString(set, str, strLen) will return false.
625 * @param strLen the length of the string or -1 if null terminated.
629 uset_removeString(USet* set, const UChar* str, int32_t strLen);
881 * @param strLen the length of the string or -1 if null terminated.
886 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
[all...]
/third_party/icu/icu4c/source/io/
H A Dufmt_cmn.h30 #define MAX_UCHAR_BUFFER_NEEDED(strLen) ((strLen+1)*U16_MAX_LENGTH*sizeof(UChar))
/third_party/skia/third_party/externals/icu/source/io/
H A Dufmt_cmn.h30 #define MAX_UCHAR_BUFFER_NEEDED(strLen) ((strLen+1)*U16_MAX_LENGTH*sizeof(UChar))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DStringMap.h131 explicit StringMapEntryStorage(size_t strLen) in StringMapEntryStorage() argument
132 : StringMapEntryBase(strLen), second() {} in StringMapEntryStorage()
134 StringMapEntryStorage(size_t strLen, InitTy &&... InitVals) in StringMapEntryStorage() argument
135 : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {} in StringMapEntryStorage()
147 explicit StringMapEntryStorage(size_t strLen, NoneType none = None) in StringMapEntryStorage() argument
148 : StringMapEntryBase(strLen) {} in StringMapEntryStorage()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dwpa_debug.c543 int strLen = os_strlen(str); in anonymize_ssid() local
554 if (strLen < minHiddenSize) { in anonymize_ssid()
555 os_memset(s, hiddenChar, strLen); in anonymize_ssid()
559 if (strLen < minHiddenSize + headKeepSize + tailKeepSize) { in anonymize_ssid()
561 int hiddenSize = strLen - minHiddenSize + 1; in anonymize_ssid()
566 os_memset(s + headKeepSize, hiddenChar, strLen - headKeepSize - tailKeepSize); in anonymize_ssid()
589 int strLen = os_strlen(str); in anonymize_common() local
600 if (strLen < minHiddenSize) { in anonymize_common()
601 os_memset(temp, hiddenChar, strLen); in anonymize_common()
605 if (strLen < minHiddenSiz in anonymize_common()
[all...]
/third_party/skia/src/ports/
H A DSkOSFile_posix.cpp173 size_t strLen = strlen(str); in issuffixfor() local
175 return strLen >= suffixLen && in issuffixfor()
176 memcmp(suffix.c_str(), str + strLen - suffixLen, suffixLen) == 0; in issuffixfor()
/third_party/skia/src/core/
H A DSkString.cpp62 size_t strLen = strlen(string); in SkStrEndsWith() local
64 return strLen >= suffixLen && in SkStrEndsWith()
65 !strncmp(string + strLen - suffixLen, suffixStr, suffixLen); in SkStrEndsWith()
70 size_t strLen = strlen(string); in SkStrEndsWith() local
71 if (0 == strLen) { in SkStrEndsWith()
74 return (suffixChar == string[strLen-1]); in SkStrEndsWith()

Completed in 14 milliseconds

123