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

123456789

/frameworks/rs/
H A DrsCompatibilityLib.cpp34 len = strlen(default_value);
/frameworks/native/libs/binder/
H A DTextOutput.cpp51 to.print(buf, strlen(buf));
59 to.print(buf, strlen(buf));
67 to.print(buf, strlen(buf));
75 to.print(buf, strlen(buf));
83 to.print(buf, strlen(buf));
91 to.print(buf, strlen(buf));
103 to.print(buf, strlen(buf));
121 to.print(buf, strlen(buf));
139 ((TextOutput*)cookie)->print(txt, strlen(txt));
/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/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioCollections.cpp49 write(fd, buffer, strlen(buffer));
52 write(fd, buffer, strlen(buffer));
H A DVolumeCurve.cpp103 write(fd, buffer, strlen(buffer));
116 write(fd, buffer, strlen(buffer));
119 write(fd, buffer, strlen(buffer));
122 write(fd, buffer, strlen(buffer));
126 write(fd, buffer, strlen(buffer));
133 write(fd, buffer, strlen(buffer));
H A DAudioPolicyMix.cpp137 if (strncmp(attributes.tags, "addr=", strlen("addr=")) == 0 &&
138 strncmp(attributes.tags + strlen("addr="),
140 AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - strlen("addr=") - 1) == 0) {
216 strncmp(attributes.tags, "addr=", strlen("addr=")) == 0 &&
217 strncmp(attributes.tags + strlen("addr="),
219 AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - strlen("addr=") - 1) == 0) {
261 if (strncmp(attr.tags, "addr=", strlen("addr=")) != 0) {
264 String8 address(attr.tags + strlen("addr="));
H A DAudioSourceDescriptor.cpp54 write(fd, buffer, strlen(buffer));
57 write(fd, buffer, strlen(buffer));
/frameworks/base/libs/hwui/tests/microbench/
H A DPathParserBench.cpp31 size_t length = strlen(sPathString);
42 size_t length = strlen(sPathString);
/frameworks/base/core/jni/
H A Dandroid_server_Watchdog.cpp38 strncat(buf, ":\n", sizeof(buf) - strlen(buf) - 1);
39 write(outFd, buf, strlen(buf));
75 write(outFd, buf, strlen(buf));
93 write(outFd, buf, strlen(buf));
/frameworks/base/libs/hwui/utils/
H A DStringUtils.cpp28 std::string s(current, head ? head - current : strlen(current));
/frameworks/native/cmds/installd/
H A Dglobals.cpp123 android_system_dirs.dirs[0].len = strlen(android_system_dirs.dirs[0].path);
126 android_system_dirs.dirs[1].len = strlen(android_system_dirs.dirs[1].path);
129 android_system_dirs.dirs[2].len = strlen(android_system_dirs.dirs[2].path);
132 android_system_dirs.dirs[3].len = strlen(android_system_dirs.dirs[3].path);
H A Dinstalld.cpp102 if (strlen(apk_path) + strlen("oat/") + strlen(instruction_set)
103 + strlen("/") + strlen("odex") + 1 > PKG_PATH_MAX) {
136 size_t srclen = strlen(src);
144 strlen(DALVIK_CACHE) +
146 strlen(instruction_set) +
148 strlen(DALVIK_CACHE_POSTFIX) + 2;
164 strlen(DALVIK_CACH
[all...]
/frameworks/base/tools/aapt2/
H A DLocale_test.cpp38 if (memcmp(lv.language, lang, std::min(strlen(lang), sizeof(lv.language))) != 0) {
60 if (memcmp(lv.language, lang, std::min(strlen(lang), sizeof(lv.language))) != 0) {
65 if (memcmp(lv.region, region, std::min(strlen(region), sizeof(lv.region))) != 0) {
/frameworks/av/media/libmedia/
H A DStringArray.cpp63 int len = strlen(str);
107 int len = strlen(str);
H A DCharacterEncodingDetector.cpp96 if (!isPrintableAscii(value, strlen(value)) && (
114 ALOGV("all tags are printable, assuming ascii (%zu)", strlen(buf));
116 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/opt/net/wifi/tests/wifitests/jni/
H A Dwifi_hal_mock.cpp66 strlen(hal_json_tags::type_tag)),
68 strlen(hal_json_tags::type_int_tag)),
72 strlen(hal_json_tags::value_tag)),
74 doc.AddMember(rapidjson::Value(name, strlen(name)), object, allocator);
82 strlen(hal_json_tags::type_tag)),
84 strlen(hal_json_tags::type_byte_array_tag)),
94 strlen(hal_json_tags::value_tag)),
96 doc.AddMember(rapidjson::Value(name, strlen(name)), object, allocator);
/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);
H A DAString.cpp99 setTo(s, strlen(s));
174 append(s, strlen(s));
327 return !strncmp(mData, prefix, strlen(prefix));
331 size_t suffixLen = strlen(suffix);
341 return !strncasecmp(mData, prefix, strlen(prefix));
345 size_t suffixLen = strlen(suffix);
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.cpp99 canvas->drawText(utf16.get(), 0, strlen(text), strlen(text), x, y, 0, paint, nullptr);
105 canvas->drawTextOnPath(utf16.get(), strlen(text), 0, path, 0, 0, paint, nullptr);
119 const int length = strlen(str);
/frameworks/compile/mclinker/lib/ADT/
H A DStringEntry.cpp39 size_t length = strlen(pVal);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLExtensions.cpp48 String8 s(curr, head ? head-curr : strlen(curr));
/frameworks/compile/mclinker/lib/Support/Unix/
H A DSystem.inc58 Triple.resize(DarwinDashIdx + strlen("-darwin"));
/frameworks/native/cmds/installd/tests/
H A Dinstalld_utils_test.cpp55 android_app_dir.len = strlen(TEST_APP_DIR);
58 android_app_private_dir.len = strlen(TEST_APP_PRIVATE_DIR);
61 android_data_dir.len = strlen(TEST_DATA_DIR);
64 android_asec_dir.len = strlen(TEST_ASEC_DIR);
67 android_mnt_expand_dir.len = strlen(TEST_EXPAND_DIR);
73 android_system_dirs.dirs[0].len = strlen(TEST_SYSTEM_DIR1);
76 android_system_dirs.dirs[1].len = strlen(TEST_SYSTEM_DIR2);
414 src.len = strlen(src.path);

Completed in 542 milliseconds

123456789