/external/valgrind/none/tests/ |
readline1.stdout.exp | 1 HERE strlen is 2
|
coolo_strlen.c | 7 int len = strlen(b2);
|
/external/valgrind/memcheck/tests/amd64/ |
insn-pcmpistri.stdout.exp | 0 strlen("")=0 2 strlen("a")=1 3 strlen("ab")=2 4 strlen("abc")=3 5 strlen("abcd")=4 6 strlen("abcde")=5 7 strlen("abcdef")=6 8 strlen("abcdefg")=7 9 strlen("abcdefgh")=8 10 strlen("abcdefghi")= [all...] |
/external/compiler-rt/test/msan/ |
tzset.cc | 10 if (!strlen(tzname[0]) || !strlen(tzname[1])) 13 if (!strlen(tzname[0]) || !strlen(tzname[1]))
|
strlen_of_shadow.cc | 3 // Check that strlen() and similar intercepted functions can be called on shadow 29 assert(strlen(s) == 6); 30 assert(strlen(mem_to_shadow(s)) == 0); 34 assert(strlen(mem_to_shadow(t)) == 41);
|
/external/clang/test/SemaCXX/ |
constexpr-strlen.cpp | 6 extern size_t strlen(const char *p); 9 # 10 "SemaCXX/constexpr-strlen.cpp" 2 11 constexpr int m = strlen("hello"); // expected-error {{constant expression}} expected-note {{non-constexpr function 'strlen' cannot be used in a constant expression}} 13 // Make sure we can evaluate a call to strlen. 15 int k = arr[strlen("hello")]; // expected-warning {{array index 5}}
|
/external/clang/test/CodeGenCXX/ |
2004-03-09-UnmangledBuiltinMethods.cpp | 5 void strlen(); 8 void AccessFlags::strlen() { } function in class:AccessFlags
|
/external/llvm/test/Transforms/ADCE/ |
dce_pure_call.ll | 3 declare i32 @strlen(i8*) readonly nounwind 6 call i32 @strlen( i8* null ) ; <i32>:1 [#uses=0]
|
/device/google/marlin/power/ |
metadata-parser.c | 59 bytes_to_copy = MIN(strlen(attribute_string) - strlen(attribute) - 1, 78 if (strlen(attribute) == strlen("hint_id") && 79 (strncmp(attribute, "hint_id", strlen("hint_id")) == 0)) { 80 if (strlen(value) > 0) { 85 if (strlen(attribute) == strlen("state") && 86 (strncmp(attribute, "state", strlen("state")) == 0)) { 87 if (strlen(value) > 0) [all...] |
power-8996.c | 82 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 83 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 105 } else if ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) && 106 (strlen(governor) == strlen(SCHED_GOVERNOR))) { 121 if (((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 122 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) || 123 ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) & [all...] |
/device/huawei/angler/power/ |
metadata-parser.c | 59 bytes_to_copy = MIN(strlen(attribute_string) - strlen(attribute) - 1, 78 if (strlen(attribute) == strlen("hint_id") && 79 (strncmp(attribute, "hint_id", strlen("hint_id")) == 0)) { 80 if (strlen(value) > 0) { 85 if (strlen(attribute) == strlen("state") && 86 (strncmp(attribute, "state", strlen("state")) == 0)) { 87 if (strlen(value) > 0) [all...] |
power-8992.c | 79 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 80 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 92 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 93 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 127 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 128 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 139 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) & [all...] |
/device/lge/bullhead/power/ |
metadata-parser.c | 59 bytes_to_copy = MIN(strlen(attribute_string) - strlen(attribute) - 1, 78 if (strlen(attribute) == strlen("hint_id") && 79 (strncmp(attribute, "hint_id", strlen("hint_id")) == 0)) { 80 if (strlen(value) > 0) { 85 if (strlen(attribute) == strlen("state") && 86 (strncmp(attribute, "state", strlen("state")) == 0)) { 87 if (strlen(value) > 0) [all...] |
power-8994.c | 79 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 80 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 92 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 93 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 127 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && 128 (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { 139 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) & [all...] |
/device/asus/fugu/original-kernel-headers/linux/ |
kct.h | 132 strlen(Data0) + 1, Data0, GFP_ATOMIC); \ 145 strlen(Data0) + 1, Data0, GFP_ATOMIC); \ 148 strlen(Data1) + 1, Data1, GFP_ATOMIC); \ 161 strlen(Data0) + 1, Data0, GFP_ATOMIC); \ 164 strlen(Data1) + 1, Data1, GFP_ATOMIC); \ 167 strlen(Data2) + 1, Data2, GFP_ATOMIC); \ 181 strlen(Data0) + 1, Data0, GFP_ATOMIC); \ 184 strlen(Data1) + 1, Data1, GFP_ATOMIC); \ 187 strlen(Data2) + 1, Data2, GFP_ATOMIC); \ 190 strlen(Data3) + 1, Data3, GFP_ATOMIC); [all...] |
/external/llvm/test/Transforms/InstCombine/ |
2009-02-11-NotInitialized.ll | 8 %1 = tail call i64 @strlen(i8* %x) nounwind readonly 13 declare i64 @strlen(i8*) nounwind readonly 14 ; CHECK: declare i64 @strlen(i8* nocapture) nounwind readonly
|
/external/valgrind/memcheck/tests/ |
stpncpy.stderr.exp | 0 strlen: 53
|
/external/e2fsprogs/intl/ |
os2compat.c | 59 size_t sl = strlen (root); 60 _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); 62 memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1); 73 size_t sl = strlen (root); 74 _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); 76 memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1); 87 size_t sl = strlen (root); 88 _nlos2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1); 90 memcpy (_nlos2_localedir + sl, LOCALEDIR, strlen (LOCALEDIR) + 1); 96 if (strlen (_nlos2_localedir) <= MAXPATHLEN [all...] |
/device/asus/fugu/kernel-headers/linux/ |
kct.h | 96 #define __kct_log_5(Type, Submitter_name, Ev_name, flags, Data0) do { if (kct_alloc_event) { struct ct_event *__ev = kct_alloc_event(Submitter_name, Ev_name, Type, GFP_ATOMIC, flags); if (__ev) { if (Data0) kct_add_attchmt(&__ev, CT_ATTCHMT_DATA0, strlen(Data0) + 1, Data0, GFP_ATOMIC); kct_log_event(__ev, GFP_ATOMIC); } } } while (0) 97 #define __kct_log_6(Type, Submitter_name, Ev_name, flags, Data0, Data1) do { if (kct_alloc_event) { struct ct_event *__ev = kct_alloc_event(Submitter_name, Ev_name, Type, GFP_ATOMIC, flags); if (__ev) { if (Data0) kct_add_attchmt(&__ev, CT_ATTCHMT_DATA0, strlen(Data0) + 1, Data0, GFP_ATOMIC); if (Data1) kct_add_attchmt(&__ev, CT_ATTCHMT_DATA1, strlen(Data1) + 1, Data1, GFP_ATOMIC); kct_log_event(__ev, GFP_ATOMIC); } } } while (0) 99 #define __kct_log_7(Type, Submitter_name, Ev_name, flags, Data0, Data1, Data2) do { if (kct_alloc_event) { struct ct_event *__ev = kct_alloc_event(Submitter_name, Ev_name, Type, GFP_ATOMIC, flags); if (__ev) { if (Data0) kct_add_attchmt(&__ev, CT_ATTCHMT_DATA0, strlen(Data0) + 1, Data0, GFP_ATOMIC); if (Data1) kct_add_attchmt(&__ev, CT_ATTCHMT_DATA1, strlen(Data1) + 1, Data1, GFP_ATOMIC); if (Data2) kct_add_attchmt(&__ev, CT_ATTCHMT_DATA2, strlen(Data2) + 1, Data2, GFP_ATOMIC); kct_log_event(__ev, GFP_ATOMIC); } } } while (0) 100 #define __kct_log_8(Type, Submitter_name, Ev_name, flags, Data0, Data1, Data2, Data3) do { if (kct_alloc_event) { struct ct_event *__ev = kct_alloc_event(Submitter_name, Ev_name, Type, GFP_ATOMIC, flags); if (__ev) { if (Data0) kct_add_attchmt(&__ev, CT_ATTCHMT_DATA0, strlen(Data0) + 1, Data0, GFP_ATOMIC); if (Data1) kct_add_attchmt(&__ev, CT_ATTCHMT_DATA1, strlen(Data1) + 1, Data1, GFP_ATOMIC); if (Data2) kct_add_attchmt(&__ev, CT_ATTCHMT_DATA2, strlen(Data2) + 1, Data2, GFP_ATOMIC); if (Data3) kct_add_attchmt(&__ev, CT_ATTCHMT_DATA3, strlen(Data3) + 1, Data3, GFP_ATOMIC); kct_log_event(__ev, GFP_ATOMIC); } } } while (0 [all...] |
/external/compiler-rt/test/asan/TestCases/ |
suppressions-interceptor.cc | 5 // RUN: echo "interceptor_name:strlen" > %t.supp 17 size_t len = strlen(a); // BOOM 18 fprintf(stderr, "strlen ignored, len = %zu\n", len); 22 // CHECK-CRASH-NOT: strlen ignored 24 // CHECK-IGNORE: strlen ignored
|
/external/clang/test/Analysis/ |
cstring-syntax.c | 5 size_t strlen (const char *s); 9 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - 1); // expected-warning {{Potential buffer overflow. Replace with 'sizeof(dest) - strlen(dest) - 1' or use a safer 'strlcat' API}} 11 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - strlen(dest)); // expected-warning {{Potential buffer overflow. Replace with}}
|
/external/llvm/test/Transforms/BDCE/ |
dce-pure.ll | 3 declare i32 @strlen(i8*) readonly nounwind 6 call i32 @strlen( i8* null ) 16 invoke i32 @strlen( i8* null ) readnone
|
/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/icu/icu4c/source/tools/tzcode/ |
ialloc.c | 16 newsize = (new == NULL) ? 0 : strlen(new); 21 else oldsize = strlen(old);
|
/external/llvm/lib/Fuzzer/test/ |
SimpleDictionaryTest.cpp | 15 if (Size < strlen(Expected)) return 0; 20 if (Match == strlen(Expected)) {
|