Searched refs:strlen (Results 1 - 25 of 233) sorted by relevance

12345678910

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioCollections.cpp47 write(fd, buffer, strlen(buffer));
50 write(fd, buffer, strlen(buffer));
H A DVolumeCurve.cpp111 write(fd, buffer, strlen(buffer));
124 write(fd, buffer, strlen(buffer));
127 write(fd, buffer, strlen(buffer));
130 write(fd, buffer, strlen(buffer));
134 write(fd, buffer, strlen(buffer));
141 write(fd, buffer, strlen(buffer));
H A DAudioSourceDescriptor.cpp54 write(fd, buffer, strlen(buffer));
57 write(fd, buffer, strlen(buffer));
H A DAudioPolicyMix.cpp198 if (strncmp(attributes.tags, "addr=", strlen("addr=")) == 0 &&
199 strncmp(attributes.tags + strlen("addr="),
201 AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - strlen("addr=") - 1) == 0) {
277 strncmp(attributes.tags, "addr=", strlen("addr=")) == 0 &&
278 strncmp(attributes.tags + strlen("addr="),
280 AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - strlen("addr=") - 1) == 0) {
322 if (strncmp(attr.tags, "addr=", strlen("addr=")) != 0) {
325 String8 address(attr.tags + strlen("addr="));
H A DHwModule.cpp235 write(fd, " - outputs:\n", strlen(" - outputs:\n"));
238 write(fd, buffer, strlen(buffer));
243 write(fd, " - inputs:\n", strlen(" - inputs:\n"));
246 write(fd, buffer, strlen(buffer));
315 write(fd, buffer, strlen(buffer));
318 write(fd, buffer, strlen(buffer));
/frameworks/av/media/libmediaplayerservice/
H A DTestPlayerStub.cpp55 return url && strncmp(url, kTestUrlScheme, strlen(kTestUrlScheme)) == 0;
89 if (strlen(mUrl) < strlen(kTestUrlScheme)) {
94 char *i = mUrl + strlen(kTestUrlScheme);
102 if (*i == '\0' || strncmp(i + 1, kUrlParam, strlen(kUrlParam)) != 0) {
108 mContentUrl = i + 1 + strlen(kUrlParam);
/frameworks/base/libs/hwui/tests/microbench/
H A DPathParserBench.cpp33 size_t length = strlen(sPathString);
44 size_t length = strlen(sPathString);
/frameworks/base/libs/hwui/utils/
H A DStringUtils.cpp28 std::string s(current, head ? head - current : strlen(current));
/frameworks/compile/libbcc/lib/
H A DProperties.h36 len = strlen(default_value);
/frameworks/base/tools/aapt2/
H A DLocale_test.cpp43 if (memcmp(lv.language, lang, std::min(strlen(lang), sizeof(lv.language))) !=
70 if (memcmp(lv.language, lang, std::min(strlen(lang), sizeof(lv.language))) !=
77 if (memcmp(lv.region, region, std::min(strlen(region), sizeof(lv.region))) !=
/frameworks/av/media/libmedia/
H A DStringArray.cpp63 int len = strlen(str);
107 int len = strlen(str);
H A DCharacterEncodingDetector.cpp98 if (!isPrintableAscii(value, strlen(value)) && (
116 ALOGV("all tags are printable, assuming ascii (%zu)", strlen(buf));
118 ucsdet_setText(csd, buf, strlen(buf), &status);
121 const UCharsetMatch* bestCombinedMatch = getPreferred(buf, strlen(buf),
125 if (!goodmatch && (highest < 15 || strlen(buf) < 20)) {
137 if (isPrintableAscii(value, strlen(value)) && (
147 ucsdet_setText(csd, buf, strlen(buf), &status);
149 bestCombinedMatch = getPreferred(buf, strlen(buf),
170 int len = strlen((char *)src);
174 int32_t inputLength = strlen(
[all...]
H A DMediaScanner.cpp59 if (!mSkipList || (strlen(mSkipList) == 0)) {
72 mSkipIndex[i++] = strlen(path);
83 int pathLength = strlen(path);
111 int len = strlen(path);
117 // no point to match path name if strlen mismatch
134 char* fileSpot = path + strlen(path);
143 if (pathRemaining >= 8 /* strlen(".nomedia") */ ) {
183 int nameLength = strlen(name);
/frameworks/base/tools/aapt/
H A DAaptUtil.cpp32 parts.add(String8(p, strlen(p)));
50 String8 val(p, strlen(p));
/frameworks/rs/cpp/
H A DrsCppUtils.cpp35 return rsuCopyString(name, strlen(name));
114 len = strlen(default_value);
/frameworks/rs/
H A DrsCppUtils.cpp35 return rsuCopyString(name, strlen(name));
114 len = strlen(default_value);
/frameworks/base/media/tests/NativeMidiDemo/jni/
H A Dmessagequeue.cpp33 size_t messageLen = strlen(message);
41 messageLen = strlen(message);
103 size_t messageLen = strlen(messageBufferCopy + (readPos % messageBufferSize));
/frameworks/av/media/libstagefright/foundation/
H A DADebug.cpp70 size_t globLen = (next == NULL ? strlen(colon) : (next - 1 - colon));
76 colon, globLen, name, strlen(name), true /* ignoreCase */)) {
110 const size_t len = strlen(term);
118 memmove(match, src, debugName + strlen(debugName) - src + 1);
/frameworks/base/libs/androidfw/tests/
H A DCommonHelpers.cpp36 SetTestDataPath(arg.substr(strlen("--testdata=")));
/frameworks/compile/mclinker/lib/ADT/
H A DStringEntry.cpp39 size_t length = strlen(pVal);
/frameworks/base/tools/incident_report/
H A Dprinter.cpp27 const int SPACE_COUNT = strlen(SPACES);
86 int size = p != NULL ? p - last + 1 : strlen(last);
/frameworks/opt/net/wifi/libwifi_hal/
H A Dwifi_hal_common.cpp103 len = strlen(state) + 1;
137 if (strncmp(line, DRIVER_MODULE_TAG, strlen(DRIVER_MODULE_TAG)) == 0) {
223 len = strlen(fwpath) + 1;
/frameworks/compile/mclinker/lib/Support/Unix/
H A DSystem.inc58 Triple.resize(DarwinDashIdx + strlen("-darwin"));
/frameworks/minikin/libs/minikin/
H A DStringPiece.h29 StringPiece(const char* data) : mData(data), mLength(data == nullptr ? 0 : strlen(data)) {}
74 if (len != strlen(s)) {
/frameworks/base/libs/androidfw/
H A DUtil.cpp38 out->append(buf, strlen(buf));

Completed in 205 milliseconds

12345678910