/frameworks/base/libs/androidfw/tests/ |
Idmap_test.cpp | 80 size_t strLen; 81 const char16_t* targetStr16 = pool->stringAt(val.data, &strLen); 83 ASSERT_EQ(String16("test2"), String16(targetStr16, strLen)); 95 targetStr16 = pool->stringAt(val.data, &strLen); 97 ASSERT_EQ(String16("test2-overlay"), String16(targetStr16, strLen));
|
/system/bt/osi/src/ |
compat.c | 66 * Returns strlen(src); if retval >= siz, truncation occurred. 99 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 100 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 118 return (dlen + strlen(s));
|
/external/llvm/lib/Option/ |
Option.cpp | 118 if (ArgSize != strlen(Args.getArgString(Index))) 128 Val += strlen(Val) + 1; 172 // FIXME: Avoid strlen. 173 if (ArgSize != strlen(Args.getArgString(Index))) 185 // FIXME: Avoid strlen. 186 if (ArgSize != strlen(Args.getArgString(Index))) 201 // FIXME: Avoid strlen. 202 if (ArgSize != strlen(Args.getArgString(Index))) { 228 // FIXME: Avoid strlen. 229 if (ArgSize != strlen(Args.getArgString(Index)) [all...] |
/external/e2fsprogs/util/ |
symlinks.c | 44 int oldlen = strlen(old), newlen = 0; 50 newlen = strlen(new); 53 if ((tmp = malloc(strlen(s))) == NULL) { 83 s = path + strlen(path) - 1; 103 p = path + strlen(path) - 1; 124 while (abspath && strlen(abspath) > 1 && (p = strstr(path,"../"))) { 143 a = abspath + strlen(abspath) - 1; 152 if (strncmp(dir, a, strlen(dir))) 179 c = strlen(abspath); 294 dirwalk(path, strlen(path), dev) [all...] |
/external/libmicrohttpd/src/testcurl/ |
test_get_sendfile.c | 107 response = MHD_create_response_from_fd (strlen (TESTSTR), fd); 158 if (cbc.pos != strlen (TESTSTR)) 160 if (0 != strncmp (TESTSTR, cbc.buf, strlen (TESTSTR))) 207 if (cbc.pos != strlen (TESTSTR)) 209 if (0 != strncmp (TESTSTR, cbc.buf, strlen (TESTSTR))) 257 if (cbc.pos != strlen (TESTSTR)) 259 if (0 != strncmp (TESTSTR, cbc.buf, strlen (TESTSTR))) 379 if (cbc.pos != strlen (TESTSTR)) 381 if (0 != strncmp (TESTSTR, cbc.buf, strlen (TESTSTR))) 452 if (cbc.pos != strlen (TESTSTR) [all...] |
/external/skia/tests/ |
DataRefTest.cpp | 73 sizes[i] = strlen(str[i]) + 1; 88 REPORTER_ASSERT(reporter, strlen(s) == strlen(str[i])); 101 builder.append(str[i], strlen(str[i]) + 1); 108 REPORTER_ASSERT(reporter, table->atSize(i) == strlen(str[i]) + 1); 111 REPORTER_ASSERT(reporter, size == strlen(str[i]) + 1); 114 REPORTER_ASSERT(reporter, strlen(s) == strlen(str[i])); 164 size_t len = strlen(str); 212 SkAutoTUnref<SkData> r1(SkData::NewWithCopy(str, strlen(str))) [all...] |
/external/tlsdate/src/ |
proxy-bio-plan9.c | 111 memcpy(buf + sz, ctx->host, strlen(ctx->host) + 1); 112 sz += strlen(ctx->host) + 1; 143 if (strlen(ctx->host) == UINT8_MAX + 1) 187 buf[4] = strlen(ctx->host); 189 memcpy(buf + 5, ctx->host, strlen(ctx->host)); 190 sz += strlen(ctx->host); 271 r = BIO_write(b->next_bio, buf, strlen(buf)); 274 if ( (size_t) r != strlen(buf)) 278 r = BIO_write(b->next_bio, buf, strlen(buf)); 281 if ( (size_t) r != strlen(buf) [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
iio_utils.h | 303 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), 334 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), 363 strlen(ent->d_name) - 364 strlen("_en")); 440 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); 494 char *temp = malloc(strlen(basedir) + strlen(filename) + 2) [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
iio_utils.h | 303 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), 334 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), 363 strlen(ent->d_name) - 364 strlen("_en")); 440 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); 494 char *temp = malloc(strlen(basedir) + strlen(filename) + 2) [all...] |
/device/moto/shamu/power/ |
power_shamu.c | 83 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 86 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 109 rc = sendto(client_sockfd, data, strlen(data), 0, 113 rc = sendto(client_sockfd, data, strlen(data), 0, 166 rc = sendto(client_sockfd, data, strlen(data), 0, 188 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 194 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un));
|
/external/autotest/client/profilers/powertop/src/ |
urbnum.c | 115 if (strlen(name)>0 && name[strlen(name)-1]=='\n') 116 name[strlen(name)-1]=0; 117 if (strlen(vendor)>0 && vendor[strlen(vendor)-1]=='\n') 118 vendor[strlen(vendor)-1]=0; 120 if (strlen(name)<4)
|
/external/clang/test/Analysis/ |
comparison-implicit-casts.cpp | 17 // unix.cstring's strlen() modelling). 74 size_t strlen(const char *s); 87 if (strlen(x) != value) return; 90 clang_analyzer_eval(strlen(x) >= 2); // expected-warning{{TRUE}} 91 clang_analyzer_eval(2 <= strlen(x)); // expected-warning{{TRUE}} 94 clang_analyzer_eval(strlen(x) != 1); // expected-warning{{TRUE}} 95 clang_analyzer_eval(1 != strlen(x)); // expected-warning{{TRUE}}
|
/external/skia/gm/ |
shadertext2.cpp | 109 canvas->drawText(kLabelLabel, strlen(kLabelLabel), 0, 0, labelPaint); 116 canvas->drawText(matrices[lm].fLabel, strlen(matrices[lm].fLabel), 119 strlen(matrices[lm].fLabel)); 134 canvas->drawText(matrices[m].fLabel, strlen(matrices[m].fLabel), 180 SkScalar fillX = -outlinePaint.measureText(kFillLabel, strlen(kFillLabel)) - kPadX; 182 canvas->drawText(kFillLabel, strlen(kFillLabel), fillX, y, labelPaint); 183 canvas->drawText(kStrokeLabel, strlen(kStrokeLabel), strokeX, y, labelPaint);
|
bitmapcopy.cpp | 89 SkScalar textWidth = paint.measureText(name, strlen(name)); 102 SkScalar textWidth = paint.measureText(name, strlen(name)); 105 canvas->drawText(name, strlen(name), x, y, paint);
|
/system/bt/hci/test/ |
hci_hal_mct_test.cpp | 62 int length = strlen(packet_data); 116 if (reentry_i == (int)strlen(sample_data3)) { 182 int length = strlen(data); 199 write(fd, data, strlen(data)); 203 int length = strlen(data); 214 hal->transmit_data(DATA_TYPE_COMMAND, (uint8_t *)(sample_data1), strlen(sample_data1)); 218 hal->transmit_data(DATA_TYPE_ACL, (uint8_t *)(sample_data2), strlen(sample_data2));
|
/art/runtime/base/ |
hex_dump_test.cc | 36 oss << HexDump(test_text, strlen(test_text), false, ""); 45 oss << HexDump(test_text, strlen(test_text), false, ""); 66 oss << HexDump(test_text, strlen(test_text), false, "test prefix: ");
|
/bionic/tests/ |
getcwd_test.cpp | 29 ASSERT_GE(strlen(cwd), 1U); 39 ASSERT_GE(strlen(cwd), 1U); 83 ASSERT_GE(strlen(cwd), 1U);
|
/external/avahi/avahi-daemon/ |
setproctitle.c | 61 endptr = i ? environ[i-1] + strlen(environ[i-1]) : argv[argc-1] + strlen(argv[argc-1]); 99 l = strlen(argv_buffer[0]);
|
/external/curl/src/ |
tool_xattr.c | 66 err = fsetxattr(fd, mappings[i].attr, value, strlen(value), 0, 0); 68 err = fsetxattr(fd, mappings[i].attr, value, strlen(value), 0); 71 strlen(value));
|
/external/llvm/test/CodeGen/ARM/ |
cse-call.ll | 10 ; CHECK: strlen 15 declare i32 @strlen(i8* nocapture) nounwind readonly 29 %call47 = tail call i32 @strlen(i8* %.) nounwind
|
/external/llvm/test/Transforms/DeadStoreElimination/ |
pr11390.ll | 9 %call = tail call i64 @strlen(i8* %name) nounwind readonly 10 %call1 = tail call i64 @strlen(i8* %domain) nounwind readonly 34 declare i64 @strlen(i8* nocapture) nounwind readonly
|
/external/squashfs-tools/squashfs-tools/ |
android.c | 37 *mounted_path = malloc(strlen(mount_point) + strlen(subpath) + 1); 78 int full_name_size = strlen(path) + 2;
|
/external/toybox/kconfig/ |
util.c | 71 gs.len = strlen(s) + 1; 87 size_t l = strlen(gs->s) + strlen(s) + 1;
|
/external/valgrind/ |
glibc-2.2.supp | 34 strlen/__GI__dl_open/dlopen_doit 36 fun:strlen 41 strlen/_dl_signal_cerror/_dl_lookup_symbol_internal/do_dlsym 82 fun:strlen 95 strlen/decompose_rpath/_dl_map_object 97 fun:strlen 102 strlen/_dl_sym/dlsym_doit 104 fun:strlen 218 strlen/*dl_map_object*(Cond) 220 fun:strlen [all...] |
/external/vboot_reference/tests/ |
sha_tests.c | 25 internal_SHA1(test_inputs[i], strlen((char *)test_inputs[i]), 47 internal_SHA256(test_inputs[i], strlen((char *)test_inputs[i]), 69 internal_SHA512(test_inputs[i], strlen((char *)test_inputs[i]),
|