/external/libogg/macos/compat/ |
strdup.c | 14 outStr = _ogg_malloc(strlen(inStr) + 1);
|
/external/libselinux/src/ |
fsetfilecon.c | 12 return fsetxattr(fd, XATTR_NAME_SELINUX, context, strlen(context) + 1,
|
lsetfilecon.c | 12 return lsetxattr(path, XATTR_NAME_SELINUX, context, strlen(context) + 1,
|
setfilecon.c | 12 return setxattr(path, XATTR_NAME_SELINUX, context, strlen(context) + 1,
|
/external/libvorbis/macos/compat/ |
strdup.c | 14 outStr = _ogg_malloc(strlen(inStr) + 1);
|
/external/llvm/test/Transforms/InstCombine/ |
strlen-1.ll | 1 ; Test that the strlen library call simplifier works correctly. 14 declare i32 @strlen(i8*) 16 ; Check strlen(string constant) -> integer constant. 21 %hello_l = call i32 @strlen(i8* %hello_p) 29 %null_l = call i32 @strlen(i8* %null_p) 37 %null_hello_l = call i32 @strlen(i8* %null_hello_p) 44 %len = tail call i32 @strlen(i8* @nullstring) nounwind 49 ; Check strlen(x) == 0 --> *x == 0. 54 %hello_l = call i32 @strlen(i8* %hello_p) 63 %null_l = call i32 @strlen(i8* %null_p [all...] |
strlen-2.ll | 1 ; Test that the strlen library call simplifier works correctly. 9 declare i32 @strlen(i8*, i32) 14 %hello_l = call i32 @strlen(i8* %hello_p, i32 187) 15 ; CHECK-NEXT: %hello_l = call i32 @strlen
|
/external/selinux/libselinux/src/ |
get_default_type.c | 35 len = strlen(role); 41 if (buf[strlen(buf) - 1]) 42 buf[strlen(buf) - 1] = 0; 65 t = malloc(strlen(buf) - len);
|
/prebuilts/misc/common/swig/include/2.0.11/typemaps/ |
string.swg | 23 char, Char, SWIG_AsCharPtrAndSize, SWIG_FromCharPtrAndSize, strlen,
|
/external/compiler-rt/test/msan/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);
|
/frameworks/av/media/libstagefright/foundation/ |
AStringUtils.cpp | 30 const char *glob, size_t globLen, const char *str, size_t strLen, bool ignoreCase) { 38 if (strLen < globIx || Compare(str, glob, globIx /* len */, ignoreCase)) { 55 if (ix + len > strLen) { 58 const char *tail = str + strLen - len; 62 while (ix + len <= strLen && Compare(str + ix, pattern, len, ignoreCase)) { 65 if (ix + len > strLen) { 73 return ix == strLen;
|
/hardware/qcom/display/msm8226/libqdutils/ |
mdp_version.cpp | 150 if(strncmp(fbType, strCmdPanel, strlen(strCmdPanel)) == 0) { 153 else if(strncmp(fbType, strVideoPanel, strlen(strVideoPanel)) == 0) { 156 else if(strncmp(fbType, strLVDSPanel, strlen(strLVDSPanel)) == 0) { 159 else if(strncmp(fbType, strEDPPanel, strlen(strEDPPanel)) == 0) { 180 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { 186 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { 190 if(!strncmp(tokens[0], "walign", strlen("walign"))) { 194 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) { 198 if(!strncmp(tokens[0], "halign", strlen("halign"))) { 202 if(!strncmp(tokens[0], "min_w", strlen("min_w"))) [all...] |
/external/llvm/test/Transforms/GVN/ |
calls-readonly.ll | 1 ; RUN: opt < %s -basicaa -gvn -S | grep "call.*strlen" | count 1 2 ; Should delete the second call to strlen even though the intervening strchr call exists. 9 %0 = tail call i32 @strlen(i8* %P) ; <i32> [#uses=2] 20 %4 = tail call i32 @strlen(i8* %P) ; <i32> [#uses=1] 27 declare i32 @strlen(i8*) nounwind readonly
|
/hardware/qcom/display/msm8084/libqdutils/ |
mdp_version.cpp | 144 if(strncmp(fbType, strCmdPanel, strlen(strCmdPanel)) == 0) { 147 else if(strncmp(fbType, strVideoPanel, strlen(strVideoPanel)) == 0) { 150 else if(strncmp(fbType, strLVDSPanel, strlen(strLVDSPanel)) == 0) { 153 else if(strncmp(fbType, strEDPPanel, strlen(strEDPPanel)) == 0) { 174 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { 180 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { 184 if(!strncmp(tokens[0], "walign", strlen("walign"))) { 188 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) { 192 if(!strncmp(tokens[0], "halign", strlen("halign"))) { 196 if(!strncmp(tokens[0], "min_w", strlen("min_w"))) [all...] |
/hardware/qcom/display/msm8994/libqdutils/ |
mdp_version.cpp | 172 if(strncmp(fbType, strCmdPanel, strlen(strCmdPanel)) == 0) { 175 else if(strncmp(fbType, strVideoPanel, strlen(strVideoPanel)) == 0) { 178 else if(strncmp(fbType, strLVDSPanel, strlen(strLVDSPanel)) == 0) { 181 else if(strncmp(fbType, strEDPPanel, strlen(strEDPPanel)) == 0) { 203 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { 209 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { 213 if(!strncmp(tokens[0], "walign", strlen("walign"))) { 217 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) { 221 if(!strncmp(tokens[0], "halign", strlen("halign"))) { 225 if(!strncmp(tokens[0], "min_w", strlen("min_w"))) [all...] |
/external/jsmn/ |
jsmn_test.c | 35 && strlen(s) == (t).end - (t).start) 52 r = jsmn_parse(&p, js, strlen(js), t, 10); 59 r = jsmn_parse(&p, js, strlen(js), t, 10); 66 r = jsmn_parse(&p, js, strlen(js), t, 10); 74 r = jsmn_parse(&p, js, strlen(js), t, 10); 91 r = jsmn_parse(&p, js, strlen(js), tokens, 10); 103 r = jsmn_parse(&p, js, strlen(js), tokens, 10); 108 r = jsmn_parse(&p, js, strlen(js), tokens, 10); 122 r = jsmn_parse(&p, js, strlen(js), tok, 10); 130 r = jsmn_parse(&p, js, strlen(js), tok, 10) [all...] |
/external/libvncserver/x11vnc/ |
solid.c | 75 newpath = (char *) malloc(strlen(oldpath) + strlen(addpath) + 1); 148 if (strlen(output) + strlen(line) + 1 < 50000) { 561 if (dbus_env != NULL && strlen(dbus_env) > 0) { 701 cmd = (char *) malloc(strlen(set_option) - 2 + strlen(orig_option) + strlen(dbus) + 1); 705 cmd = (char *) malloc(strlen(set_color) - 2 + strlen(orig_color) + strlen(dbus) + 1) [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...] |
/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...] |
/bionic/libc/arch-arm/denver/ |
denver.mk | 9 # Use cortex-a15 versions of strcat/strcpy/strlen. 15 arch-arm/cortex-a15/bionic/strlen.S \
|
/bionic/libc/arch-arm/krait/ |
krait.mk | 8 # Use cortex-a15 versions of strcat/strcpy/strlen and standard memmove 13 arch-arm/cortex-a15/bionic/strlen.S \
|
/bionic/libc/private/ |
bionic_string_utils.h | 23 size_t s1_length = strlen(s1); 24 size_t s2_length = strlen(s2);
|
/external/llvm/test/ExecutionEngine/MCJIT/ |
2003-08-21-EnvironmentTest.ll | 12 declare i32 @strlen(i8*) 16 %tmp.3 = call i32 @strlen( i8* %tmp.2 ) ; <i32> [#uses=1]
|
/external/llvm/test/ExecutionEngine/OrcMCJIT/ |
2003-08-21-EnvironmentTest.ll | 12 declare i32 @strlen(i8*) 16 %tmp.3 = call i32 @strlen( i8* %tmp.2 ) ; <i32> [#uses=1]
|
/external/llvm/test/Transforms/FunctionAttrs/ |
2009-01-04-Annotate.ll | 6 ; CHECK: declare i8 @strlen(i8* nocapture) #1 7 declare i8 @strlen(i8*)
|