/external/libmtp/examples/ |
util.c | 51 if (strlen(lang) > 5) { 52 langsuff = &lang[strlen(lang)-5];
|
/external/qemu/android/utils/ |
setenv.c | 10 size_t length = strlen(name) + strlen(value) + 2;
|
/external/compiler-rt/lib/msan/lit_tests/Linux/ |
glob_altdirfunc.cc | 34 assert(__msan_test_shadow(s, strlen(s) + 1) == (size_t)-1); 39 assert(__msan_test_shadow(s, strlen(s) + 1) == (size_t)-1); 46 assert(__msan_test_shadow(s, strlen(s) + 1) == (size_t)-1); 68 printf("%zu\n", strlen(globbuf.gl_pathv[0])); 69 printf("%zu\n", strlen(globbuf.gl_pathv[1])); 70 __msan_poison(globbuf.gl_pathv[0], strlen(globbuf.gl_pathv[0]) + 1); 71 __msan_poison(globbuf.gl_pathv[1], strlen(globbuf.gl_pathv[1]) + 1);
|
glob.cc | 22 printf("%zu\n", strlen(globbuf.gl_pathv[0])); 23 printf("%zu\n", strlen(globbuf.gl_pathv[1]));
|
/external/clang/test/Analysis/ |
string.c | 35 // strlen() 38 #define strlen BUILTIN(strlen) macro 39 size_t strlen(const char *s); 42 clang_analyzer_eval(strlen("123") == 3); // expected-warning{{TRUE}} 47 clang_analyzer_eval(strlen(a) == 3); // expected-warning{{TRUE}} 52 clang_analyzer_eval(strlen(a) == 3); // expected-warning{{TRUE}} 55 clang_analyzer_eval(strlen(a) == 3); // expected-warning{{UNKNOWN}} 59 return strlen(0); // expected-warning{{Null pointer argument in call to string length function}} 63 return strlen((char*)&strlen_fn); // expected-warning{{Argument to string length function is the address of the (…) [all...] |
/external/openssh/ |
md5crypt.c | 47 return (strncmp(salt, magic, strlen(magic)) == 0); 64 if(strncmp(sp, magic, strlen(magic)) == 0) 65 sp += strlen(magic); 83 MD5_Update(&ctx, pw, strlen(pw)); 86 MD5_Update(&ctx, magic, strlen(magic)); 93 MD5_Update(&ctx1, pw, strlen(pw)); 95 MD5_Update(&ctx1, pw, strlen(pw)); 98 for(pl = strlen(pw); pl > 0; pl -= 16) 105 for (j = 0, i = strlen(pw); i != 0; i >>= 1) 124 MD5_Update(&ctx1, pw, strlen(pw)) [all...] |
auth-options.c | 108 if (strncasecmp(opts, cp, strlen(cp)) == 0) { 110 opts += strlen(cp); 114 if (strncasecmp(opts, cp, strlen(cp)) == 0) { 117 opts += strlen(cp); 121 if (strncasecmp(opts, cp, strlen(cp)) == 0) { 124 opts += strlen(cp); 128 if (strncasecmp(opts, cp, strlen(cp)) == 0) { 131 opts += strlen(cp); 135 if (strncasecmp(opts, cp, strlen(cp)) == 0) { 138 opts += strlen(cp) [all...] |
/external/svox/pico/tts/ |
svox_ssml_parser.cpp | 83 int doclen = (int)strlen(ssmldoc) + 1; 112 if (strlen(m_data) > 0) 133 m_docLanguage = new char[strlen(attributes[i+1])+1]; 142 if (strlen(m_data) + 4 > (size_t)m_datasize) 154 if (strlen(m_data) + 4 > (size_t)m_datasize) 209 xsampasize = strlen(xsampastr); 216 char* phonstr = createPhonemeString(xsampastr, strlen(xsampastr) + 1); 219 xsampastr = (char*)malloc(strlen(phonstr) + 1); 228 if (strlen(m_data) + strlen(xsampastr) + 1 > (size_t)m_datasize [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
substitute.h | 90 : text_(value), size_(strlen(text_)) {} 107 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} 109 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} 111 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} 113 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} 115 : text_(FastLongToBuffer(value, scratch_)), size_(strlen(text_)) {} 117 : text_(FastULongToBuffer(value, scratch_)), size_(strlen(text_)) {} 119 : text_(FastInt64ToBuffer(value, scratch_)), size_(strlen(text_)) {} 121 : text_(FastUInt64ToBuffer(value, scratch_)), size_(strlen(text_)) {} 123 : text_(FloatToBuffer(value, scratch_)), size_(strlen(text_)) { [all...] |
/external/oprofile/libpopt/ |
findme.c | 27 start = pathbuf = alloca(strlen(path) + 1); 28 buf = malloc(strlen(path) + strlen(argv0) + sizeof("/"));
|
/external/protobuf/src/google/protobuf/stubs/ |
substitute.h | 90 : text_(value), size_(strlen(text_)) {} 107 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} 109 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} 111 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} 113 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} 115 : text_(FastLongToBuffer(value, scratch_)), size_(strlen(text_)) {} 117 : text_(FastULongToBuffer(value, scratch_)), size_(strlen(text_)) {} 119 : text_(FastInt64ToBuffer(value, scratch_)), size_(strlen(text_)) {} 121 : text_(FastUInt64ToBuffer(value, scratch_)), size_(strlen(text_)) {} 123 : text_(FloatToBuffer(value, scratch_)), size_(strlen(text_)) { [all...] |
/system/core/libsysutils/src/ |
FrameworkClient.cpp | 24 ret = TEMP_FAILURE_RETRY(write(mSocket, msg, strlen(msg) +1)); 33 size_t bufflen = strlen(msg) + strlen(data) + 1;
|
/external/compiler-rt/lib/asan/lit_tests/TestCases/Linux/ |
glob.cc | 23 printf("%zu\n", strlen(globbuf.gl_pathv[0])); 24 printf("%zu\n", strlen(globbuf.gl_pathv[1]));
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
additional_proximity_chars.h | 42 const size_t LOCALE_EN_US_SIZE = strlen(LOCALE_EN_US); 43 return localeStr && strlen(localeStr) >= LOCALE_EN_US_SIZE
|
/external/chromium_org/sdch/open-vcdiff/src/ |
vcencoder_test.cc | 81 const size_t size = strlen(s); // don't include terminating NULL char 174 EXPECT_FALSE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta())); 216 EXPECT_TRUE(null_encoder.EncodeChunk(kTarget, strlen(kTarget), delta())); 218 EXPECT_GE(strlen(kTarget) + kFileHeaderSize + kWindowHeaderSize, 229 EXPECT_TRUE(simple_encoder_.Encode(kTarget, strlen(kTarget), delta())); 230 EXPECT_GE(strlen(kTarget) + kFileHeaderSize + kWindowHeaderSize, 241 EXPECT_TRUE(simple_encoder_.Encode(kTarget, strlen(kTarget), delta())); 242 EXPECT_GE(strlen(kTarget) + kFileHeaderSize + kWindowHeaderSize, 254 strlen(kTarget), 256 EXPECT_GE(strlen(kTarget) + kFileHeaderSize + kWindowHeaderSize [all...] |
/external/open-vcdiff/src/ |
vcencoder_test.cc | 81 const size_t size = strlen(s); // don't include terminating NULL char 174 EXPECT_FALSE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta())); 216 EXPECT_TRUE(null_encoder.EncodeChunk(kTarget, strlen(kTarget), delta())); 218 EXPECT_GE(strlen(kTarget) + kFileHeaderSize + kWindowHeaderSize, 229 EXPECT_TRUE(simple_encoder_.Encode(kTarget, strlen(kTarget), delta())); 230 EXPECT_GE(strlen(kTarget) + kFileHeaderSize + kWindowHeaderSize, 241 EXPECT_TRUE(simple_encoder_.Encode(kTarget, strlen(kTarget), delta())); 242 EXPECT_GE(strlen(kTarget) + kFileHeaderSize + kWindowHeaderSize, 254 strlen(kTarget), 256 EXPECT_GE(strlen(kTarget) + kFileHeaderSize + kWindowHeaderSize [all...] |
/external/chromium/sdch/open-vcdiff/src/ |
vcencoder_test.cc | 78 const size_t size = strlen(s); // don't include terminating NULL char 159 EXPECT_FALSE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta())); 190 EXPECT_TRUE(null_encoder.EncodeChunk(kTarget, strlen(kTarget), delta())); 192 EXPECT_GE(strlen(kTarget) + kFileHeaderSize + kWindowHeaderSize, 203 EXPECT_TRUE(simple_encoder_.Encode(kTarget, strlen(kTarget), delta())); 204 EXPECT_GE(strlen(kTarget) + kFileHeaderSize + kWindowHeaderSize, 215 EXPECT_TRUE(simple_encoder_.Encode(kTarget, strlen(kTarget), delta())); 216 EXPECT_GE(strlen(kTarget) + kFileHeaderSize + kWindowHeaderSize, 228 strlen(kTarget), 230 EXPECT_GE(strlen(kTarget) + kFileHeaderSize + kWindowHeaderSize [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
ml_sysfs_helper.c | 76 strlen(ent->d_name) > strlen(type) && 77 strncmp(ent->d_name, type, strlen(type)) == 0) { 78 numstrlen = sscanf(ent->d_name + strlen(type), 82 if (strncmp(ent->d_name + strlen(type) + numstrlen, 85 filename = malloc(strlen(iio_dir) 86 + strlen(type) 149 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){ 156 if(!memcmp(&line[i], name, strlen(name))){ 229 for (i=0; i<strlen(chip_name[j]); i++) [all...] |
/bionic/libc/bionic/ |
__strcpy_chk.cpp | 46 size_t src_len = strlen(src) + 1;
|
strndup.c | 33 size_t slen = (size_t)strlen(s);
|
/bionic/libc/string/ |
strdup.c | 44 siz = strlen(str) + 1;
|
strstr.c | 46 len = strlen(find);
|
/external/chromium/testing/gtest/samples/ |
sample2.cc | 42 const size_t len = strlen(a_c_string);
|
/external/chromium_org/native_client_sdk/src/examples/tutorial/dlopen/ |
reverse.cc | 10 size_t len = strlen(s);
|
/external/chromium_org/testing/gtest/samples/ |
sample2.cc | 42 const size_t len = strlen(a_c_string);
|