/external/grub/lib/ |
getopt.c | 233 /* If using GCC, we can safely declare strlen this way. 238 # if (!defined __STDC__ || !__STDC__) && !defined strlen 239 /* gcc with -traditional declares the built-in strlen to return int, 241 extern int strlen (const char *); 440 int len = nonoption_flags_max_len = strlen (orig_str); 662 == (unsigned int) strlen (p->name)) 686 nextchar += strlen (nextchar); 717 nextchar += strlen (nextchar); 733 nextchar += strlen (nextchar); 738 nextchar += strlen (nextchar) [all...] |
/external/skia/tests/ |
PDFPrimitivesTest.cpp | 61 int len = strlen(buffer); // our buffer does not have EOSs. 92 static size_t headerLen = strlen(header); 94 static size_t footerLen = strlen(footer); 117 strlen(expectedResult), true, false); 123 streamBytes, strlen(streamBytes), true)); 139 strlen(streamBytes2))); 192 strlen(expectedResult))); 209 REPORTER_ASSERT(reporter, buffer.getOffset() == strlen(expectedResult)); 236 catalog.setFileOffset(proxy.get(), 0) == strlen(objectResult)); 240 REPORTER_ASSERT(reporter, buffer.getOffset() == strlen(expectedResult)) [all...] |
/ndk/sources/host-tools/make-3.81/ |
getopt.c | 225 /* If using GCC, we can safely declare strlen this way. 230 # if (!defined __STDC__ || !__STDC__) && !defined strlen 231 /* gcc with -traditional declares the built-in strlen to return int, 233 extern int strlen (const char *); 427 int len = nonoption_flags_max_len = strlen (orig_str); 644 == (unsigned int) strlen (p->name)) 668 nextchar += strlen (nextchar); 698 nextchar += strlen (nextchar); 714 nextchar += strlen (nextchar); 719 nextchar += strlen (nextchar) [all...] |
/external/expat/tests/ |
runtests.c | 75 if (XML_Parse(parser, text, strlen(text), XML_TRUE) == XML_STATUS_OK) 183 if (XML_Parse(parser, text, strlen(text), XML_TRUE) == XML_STATUS_ERROR) 233 if (XML_Parse(parser, text, strlen(text), XML_TRUE) == XML_STATUS_ERROR) 250 if (XML_Parse(parser, text, strlen(text), XML_TRUE) == XML_STATUS_ERROR) 334 if (XML_Parse(parser, text, strlen(text), XML_TRUE) == XML_STATUS_OK) { 415 if (XML_Parse(parser, text, strlen(text), XML_FALSE) == XML_STATUS_ERROR) 433 if (XML_Parse(parser, text, strlen(text), XML_FALSE) == XML_STATUS_ERROR) 503 if (XML_Parse(parser, text, strlen(text), XML_TRUE) == XML_STATUS_ERROR) 518 if (XML_Parse(parser, text, strlen(text), XML_FALSE) != XML_STATUS_ERROR) 538 if (XML_Parse(parser, text, strlen(text), XML_FALSE) != XML_STATUS_ERROR [all...] |
/external/oprofile/opcontrol/ |
opcontrol.cpp | 373 for (i = 0; i < strlen(event_name); i++) { 441 write(fd, content, strlen(content)); 494 if (strlen(dirent->d_name) >= 4 && memcmp(dirent->d_name, "cpu", 3) == 0) { 667 if (strlen(callgraph)) { 720 snprintf(command + strlen(command), sizeof(command) - strlen(command), 723 snprintf(command + strlen(command), sizeof(command) - strlen(command), ","); 728 snprintf(command + strlen(command), sizeof(command) - strlen(command) [all...] |
/external/bison/lib/ |
localcharset.c | 138 size_t dir_len = strlen (dir); 139 size_t base_len = strlen (base); 213 l1 = strlen (buf1); 214 l2 = strlen (buf2); 531 aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1) 535 codeset = aliases + strlen (aliases) + 1;
|
/external/chromium_org/gpu/command_buffer/service/ |
shader_translator_unittest.cc | 69 EXPECT_GT(strlen(vertex_translator_->translated_shader()), 0u); 86 EXPECT_GT(strlen(vertex_translator_->info_log()), 0u); 97 EXPECT_GT(strlen(vertex_translator_->translated_shader()), 0u); 112 EXPECT_GT(strlen(fragment_translator_->translated_shader()), 0u); 125 EXPECT_GT(strlen(fragment_translator_->info_log()), 0u); 145 EXPECT_GT(strlen(vertex_translator_->translated_shader()), 0u); 180 EXPECT_GT(strlen(fragment_translator_->translated_shader()), 0u);
|
/external/chromium_org/third_party/npapi/npspy/common/ |
format.cpp | 452 plis->arg2.iLength = strlen((char *)dw2) + 1; 459 makeAbbreviatedString(szTarget, sizeof(szTarget), dw3, strlen((char *)dw3), iWrap); 460 plis->arg3.iLength = strlen(szTarget) + 1; 469 plis->arg2.iLength = strlen((char *)dw2) + 1; 476 makeAbbreviatedString(szTarget, sizeof(szTarget), dw3, strlen((char *)dw3), iWrap); 477 plis->arg3.iLength = strlen(szTarget) + 1; 487 plis->arg2.iLength = strlen((char *)dw2) + 1; 494 makeAbbreviatedString(szTarget, sizeof(szTarget), dw3, strlen((char *)dw3), iWrap); 495 plis->arg3.iLength = strlen(szTarget) + 1; 500 makeAbbreviatedString(szBuf, sizeof(szBuf), dw5, strlen((char *)dw5), iWrap) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/dso/ |
dso_dl.c | 262 merged = OPENSSL_malloc(strlen(filespec1) + 1); 274 merged = OPENSSL_malloc(strlen(filespec2) + 1); 292 spec2len = (filespec2 ? strlen(filespec2) : 0); 293 len = spec2len + (filespec1 ? strlen(filespec1) : 0); 329 len = strlen(filename); 334 rsize += strlen(extension);/* The length of ".s?" */ 374 len = (int)strlen(inf.filename);
|
/external/e2fsprogs/intl/ |
localcharset.c | 125 size_t dir_len = strlen (dir); 126 size_t base_len = strlen (base); 171 l1 = strlen (buf1); 172 l2 = strlen (buf2); 382 aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1) 386 codeset = aliases + strlen (aliases) + 1;
|
/external/libsepol/src/ |
context.c | 25 strlen(context) + 1, NULL); 99 strlen(policydb->p_user_val_to_name[context->user - 1]) + 1; 101 strlen(policydb->p_role_val_to_name[context->role - 1]) + 1; 102 scontext_len += strlen(policydb->p_type_val_to_name[context->type - 1]); 124 strlen(policydb->p_user_val_to_name[context->user - 1]) + 1 + 125 strlen(policydb->p_role_val_to_name[context->role - 1]) + 1 + 126 strlen(policydb->p_type_val_to_name[context->type - 1]);
|
/external/openssl/crypto/dso/ |
dso_dl.c | 262 merged = OPENSSL_malloc(strlen(filespec1) + 1); 274 merged = OPENSSL_malloc(strlen(filespec2) + 1); 292 spec2len = (filespec2 ? strlen(filespec2) : 0); 293 len = spec2len + (filespec1 ? strlen(filespec1) : 0); 329 len = strlen(filename); 334 rsize += strlen(extension);/* The length of ".s?" */ 374 len = (int)strlen(inf.filename);
|
/external/skia/tools/flags/ |
SkCommandLineFlags.cpp | 29 size_t defaultLength = strlen(defaultValue); 84 if (SkStrStartsWith(string, '-') && strlen(string) > 1) { 87 if (SkStrStartsWith(string, '-') && strlen(string) > 1) { 101 if (SkStrStartsWith(string, "no") && strlen(string) > 2) { 158 if (strlen(currLine) < LINE_LENGTH) { 312 size_t testLen = strlen(name); 316 size_t matchLen = strlen(matchName);
|
/external/srec/srec/clib/ |
voc_read.c | 81 if (basename == NULL || strlen(basename) == 0) { 263 return strlen(end) <= strlen(string) && !strcmp(string + strlen(string) - strlen(end), end); 305 entryname[strlen(entryname) - strlen(".zip")] = 0;
|
/external/srec/srec/crec/ |
text_parser.c | 42 if ( strlen ( transcription ) >= MAX_LOCAL_LEN - 1) 113 int transcription_len = strlen(transcription); 129 ASSERT(strlen(transcription) < MAX_LOCAL_LEN); 150 ASSERT(strlen(copy_of_transcription) < max_literal_len); 180 ASSERT(strlen(copy_of_transcription) < max_literal_len); 196 passert(strlen(transcription) < sizeof(mytranscription)); 231 for (p = s + strlen(s); p != s;)
|
/external/valgrind/main/none/tests/amd64/ |
aes.c | 32 assert( strlen(summary) == 32 ); 90 if (strlen(s_exp) > 0) { 122 if (strlen(s_exp) > 0) { 154 if (strlen(s_exp) > 0) { 186 if (strlen(s_exp) > 0) { 216 if (strlen(s_exp) > 0) { 271 if (strlen(s_exp) > 0) {
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
localcharset.c | 135 size_t dir_len = strlen (dir); 136 size_t base_len = strlen (base); 183 l1 = strlen (buf1); 184 l2 = strlen (buf2); 486 aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1) 490 codeset = aliases + strlen (aliases) + 1;
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cdtdptst.c | 58 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("EEE MMM dd HH:mm:ss.SSS zzz yyyy G")+1 )); 72 s=(UChar*)malloc(sizeof(UChar) * (strlen("03-Apr-04 2:20:47 o'clock AM PST")+1) ); 129 s=(UChar*)malloc(sizeof(UChar) * (strlen("01/01/1997 10:11:42 AM")+1) ); 163 str=(UChar*)malloc(sizeof(UChar) * (strlen(s) + 1) ); 165 pat=(UChar*)malloc(sizeof(UChar) * (strlen(pattern) + 1) ); 201 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("yyyyMMddHHmmssSSS")+1) ); 313 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("MM/dd/yyyy 'at' hh:mm:ss a zzz")+1) ); 336 exp=(UChar*)malloc(sizeof(UChar) * (strlen(expStr) + 1) ); 340 if(u_strncmp(dateString, exp, (int32_t)strlen(expStr)) !=0)
|
/external/icu4c/test/cintltst/ |
cdtdptst.c | 58 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("EEE MMM dd HH:mm:ss.SSS zzz yyyy G")+1 )); 72 s=(UChar*)malloc(sizeof(UChar) * (strlen("03-Apr-04 2:20:47 o'clock AM PST")+1) ); 129 s=(UChar*)malloc(sizeof(UChar) * (strlen("01/01/1997 10:11:42 AM")+1) ); 163 str=(UChar*)malloc(sizeof(UChar) * (strlen(s) + 1) ); 165 pat=(UChar*)malloc(sizeof(UChar) * (strlen(pattern) + 1) ); 201 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("yyyyMMddHHmmssSSS")+1) ); 313 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("MM/dd/yyyy 'at' hh:mm:ss a zzz")+1) ); 336 exp=(UChar*)malloc(sizeof(UChar) * (strlen(expStr) + 1) ); 340 if(u_strncmp(dateString, exp, (int32_t)strlen(expStr)) !=0)
|
/external/qemu/android/protocol/ |
core-commands-impl.c | 221 strlen(netspeed->name) + 1; 224 resp.resp_data_size += strlen(netspeed->display) + 1; 235 strcpy(resp_data->name + strlen(resp_data->name) + 1, 238 strcpy(resp_data->name + strlen(resp_data->name) + 1, ""); 265 strlen(netdelay->name) + 1; 268 resp.resp_data_size += strlen(netdelay->display) + 1; 279 strcpy(resp_data->name + strlen(resp_data->name) + 1, 282 strcpy(resp_data->name + strlen(resp_data->name) + 1, ""); 302 resp.resp_data_size = strlen(filepath) + 1;
|
/frameworks/native/cmds/installd/tests/ |
installd_utils_test.cpp | 53 android_app_dir.len = strlen(TEST_APP_DIR); 56 android_app_private_dir.len = strlen(TEST_APP_PRIVATE_DIR); 59 android_data_dir.len = strlen(TEST_DATA_DIR); 62 android_asec_dir.len = strlen(TEST_ASEC_DIR); 68 android_system_dirs.dirs[0].len = strlen(TEST_SYSTEM_DIR1); 71 android_system_dirs.dirs[1].len = strlen(TEST_SYSTEM_DIR2); 275 size_t offset = strlen(prefix); 331 dir.len = strlen(dir.path); 390 src.len = strlen(src.path);
|
/art/runtime/ |
monitor_android.cc | 65 size_t len = strlen(procName); 85 cp = EventLogWriteString(cp, filename, strlen(filename)); 97 cp = EventLogWriteString(cp, owner_filename, strlen(owner_filename));
|
/bootable/recovery/tools/ota/ |
add-property-tag.c | 40 for (ptr += strlen(propname); *ptr != '\0' && isspace(*ptr); ++ptr) ; 50 int num = strtoul(pos + strlen(tag), &end, 10); 57 const char *end = line + strlen(line);
|
/external/chromium_org/net/tools/balsa/ |
balsa_frame_test.cc | 96 size_t read = frame_->ProcessInput(input, strlen(input)); 142 size_t read = frame_->ProcessInput(input, strlen(input)); 143 ASSERT_EQ(strlen(input), read); 192 size_t read = frame_->ProcessInput(input, strlen(input)); 193 ASSERT_EQ(strlen(input), read); 256 size_t read = frame_->ProcessInput(input, strlen(input)); 260 read += frame_->ProcessInput(&input[read], strlen(input) - read); 261 ASSERT_EQ(strlen(input), read); 293 size_t read = frame_->ProcessInput(input, strlen(input)); 294 ASSERT_EQ(strlen(input), read) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
stringutils.cc | 122 return strncmp(s1, s2, strlen(s2)) == 0; 126 size_t s1_length = strlen(s1); 127 size_t s2_length = strlen(s2);
|