/external/dhcpcd-6.8.2/ |
script.c | 131 len = strlen(prefix) + strlen(var) + 2; 159 if (strncmp(ne[j] + strlen(prefix) + 1, 208 len += strlen(*ap++) + 1; 214 l = strlen(*ap) + 1; 263 else if (reason[strlen(reason) - 1] == '6') 294 e = strlen("interface") + strlen(ifp->name) + 2; 297 e = strlen("reason") + strlen(reason) + 2 [all...] |
/external/harfbuzz_ng/src/ |
hb-utf-private.hh | 124 strlen (const uint8_t *text) function in struct:hb_utf8_t 126 return ::strlen ((const char *) text); 201 strlen (const uint16_t *text) function in struct:hb_utf16_t 240 strlen (const uint32_t *text) function in struct:hb_utf32_t 274 strlen (const uint8_t *text) function in struct:hb_latin1_t
|
/external/icu/icu4c/source/tools/toolutil/ |
unewdata.c | 62 length += strlen(dir); 65 if (dir[strlen(dir) - 1]!= U_FILE_SEP_CHAR) { 69 length += strlen(name); /* Add the filename length */ 72 length += strlen(type); 86 char *p=filename+strlen(dir);
|
/external/iptables/extensions/ |
libxt_limit.c | 52 if (strlen(delim+1) == 0) 55 if (strncasecmp(delim+1, "second", strlen(delim+1)) == 0) 57 else if (strncasecmp(delim+1, "minute", strlen(delim+1)) == 0) 59 else if (strncasecmp(delim+1, "hour", strlen(delim+1)) == 0) 61 else if (strncasecmp(delim+1, "day", strlen(delim+1)) == 0)
|
/external/libmicrohttpd/src/testcurl/ |
test_digestauth.c | 89 response = MHD_create_response_from_buffer(strlen (DENIED), 107 response = MHD_create_response_from_buffer(strlen (DENIED), 119 response = MHD_create_response_from_buffer(strlen(PAGE), PAGE, 220 if (cbc.pos != strlen (PAGE)) 222 if (0 != strncmp (PAGE, cbc.buf, strlen (PAGE)))
|
test_digestauth_with_arguments.c | 88 response = MHD_create_response_from_buffer(strlen (DENIED), 106 response = MHD_create_response_from_buffer(strlen (DENIED), 118 response = MHD_create_response_from_buffer(strlen(PAGE), PAGE, 219 if (cbc.pos != strlen (PAGE)) 221 if (0 != strncmp (PAGE, cbc.buf, strlen (PAGE)))
|
test_iplimit.c | 97 response = MHD_create_response_from_buffer (strlen (url), 184 if (cbc[i].pos != strlen ("/hello_world")) 189 if (0 != strncmp ("/hello_world", cbc[i].buf, strlen ("/hello_world"))) 280 if (cbc[i].pos != strlen ("/hello_world")) 285 if (0 != strncmp ("/hello_world", cbc[i].buf, strlen ("/hello_world")))
|
/external/libweave/third_party/modp_b64/modp_b64/ |
modp_b64.h | 41 * i.e. the result will be equal to strlen(dest) + 1 70 * Returns the length (strlen) of the output, or -1 if unable to 75 * int srclen = ...; // or if you don't know use strlen(src) 107 * Will return the strlen of the output from encoding. 113 * int len = strlen(b64encoded);
|
/external/llvm/test/Transforms/InstCombine/ |
memset_chk-1.ll | 70 %call49 = call i64 @strlen(i8* %a) 74 ; CHECK: %strlen = call i64 @strlen(i8* %b) 75 ; CHECK-NEXT: %strchr2 = getelementptr i8, i8* %b, i64 %strlen 89 declare i64 @strlen(i8* nocapture)
|
sprintf-1.ll | 19 ; Check sprintf(dst, fmt) -> llvm.memcpy(str, fmt, strlen(fmt) + 1, 1). 61 ; Check sprintf(dst, "%s", str) -> llvm.memcpy(dest, str, strlen(str) + 1, 1). 67 ; CHECK-NEXT: [[STRLEN:%[a-z0-9]+]] = call i32 @strlen(i8* %str) 68 ; CHECK-NEXT: [[LENINC:%[a-z0-9]+]] = add i32 [[STRLEN]], 1
|
/external/ltrace/sysdeps/linux-gnu/ |
hooks.c | 40 char *ret = malloc(strlen(str1) + strlen(str2) + 2); 110 size_t home_len = home != NULL ? strlen(home) : 0; 188 homepath = malloc(strlen(g_home_dir) + 1 + sizeof FN); 202 syspath = malloc(strlen(sysconfdir) + sizeof FN);
|
/external/lzma/CPP/7zip/UI/Console/ |
HashCon.cpp | 167 SetSpacesAndNul(s + strlen(s), (int)GetColumnWidth(h.DigestSize) - (int)strlen(s) + 1);
177 int numSpaces = kSizeField_Len - (int)strlen(p);
185 SetSpacesAndNul(s, kSizeField_Len - (int)strlen(s));
186 unsigned len = (unsigned)strlen(p);
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_printf.c | 120 assert(strlen(format) + strlen(type_fmt) * length + 2 <= sizeof format); 124 util_strncat(format, type_fmt, sizeof(format) - strlen(format) - 1); 128 util_strncat(format, type_fmt, sizeof(format) - strlen(format) - 1); 133 util_strncat(format, "\n", sizeof(format) - strlen(format) - 1);
|
/external/mesa3d/src/glx/ |
clientinfo.c | 34 const unsigned ext_length = strlen("GLX_ARB_create_context"); 35 const unsigned prof_length = strlen("_profile"); 116 gl_extension_length = strlen(gl_extension_string) + 1; 133 strlen(glx_extensions) + 1, 144 strlen(glx_extensions) + 1,
|
/external/modp_b64/modp_b64/ |
modp_b64.h | 41 * i.e. the result will be equal to strlen(dest) + 1 70 * Returns the length (strlen) of the output, or -1 if unable to 75 * int srclen = ...; // or if you don't know use strlen(src) 107 * Will return the strlen of the output from encoding. 113 * int len = strlen(b64encoded);
|
/external/skia/gm/ |
coloremoji.cpp | 86 canvas->drawText(text, strlen(text), 10, SkIntToScalar(textYOffset[y]), paint); 112 canvas->drawText(text, strlen(text), 380, SkIntToScalar(y_offset), 125 paint.measureText(text, strlen(text), &bounds); 149 canvas->drawText(text, strlen(text), 0, 0, paint); 152 canvas->drawText(text, strlen(text), 0, 0, paint);
|
complexclip.cpp | 155 canvas->drawText(aTxt, strlen(aTxt), txtX, SkIntToScalar(220), paint); 156 txtX += paint.measureText(aTxt, strlen(aTxt)); 158 canvas->drawText(gOps[op].fName, strlen(gOps[op].fName), 160 txtX += paint.measureText(gOps[op].fName, strlen(gOps[op].fName)); 163 canvas->drawText(bTxt, strlen(bTxt), txtX, SkIntToScalar(220), paint);
|
/hardware/qcom/power/ |
power.c | 78 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 81 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 104 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 107 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 160 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un));
|
/external/svox/pico/tts/ |
com_svox_picottsengine.cpp | 532 textlen = strlen(str) + 1; 534 textlen += strlen(PICO_PITCH_OPEN_TAG) + 5; 535 textlen += strlen(PICO_PITCH_CLOSE_TAG); 539 textlen += strlen(PICO_SPEED_OPEN_TAG) + 5; 540 textlen += strlen(PICO_SPEED_CLOSE_TAG); 545 textlen += strlen(PICO_VOLUME_OPEN_TAG) + 5; 546 textlen += strlen(PICO_VOLUME_CLOSE_TAG); 557 char* tmp = (char*)malloc(strlen(PICO_PITCH_OPEN_TAG) + strlen(PICO_PITCH_CLOSE_TAG) + 5); 564 char* tmp = (char*)malloc(strlen(PICO_SPEED_OPEN_TAG) + strlen(PICO_SPEED_CLOSE_TAG) + 5) [all...] |
/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));
|
/bionic/linker/ |
linker_utils.cpp | 27 const size_t len = strlen(path) + 1; 67 size_t needle_len = strlen(needle); 77 size_t needle_len = strlen(needle);
|
/external/autotest/client/deps/fakemodem/src/ |
fakemodem.c | 135 if (strlen (responsetext) == 0) { 141 while (pat->reply[strlen (pat->reply) - 1] == '\\') { 143 pat->reply[strlen (pat->reply) - 1] = '\0'; 436 rval = write (masterfd, rstr, strlen (rstr)); 437 assert(strlen(rstr) == rval); 442 rval = write (masterfd, rstr, strlen (rstr)); 443 assert(strlen(rstr) == rval); 498 rval = write (masterfd, pat->reply, strlen (pat->reply)); 499 assert(strlen(pat->reply) == rval); 514 rval = write (masterfd, text, strlen (text)) [all...] |
/external/clang/INPUTS/ |
stpcpy-test.c | 3 #define __stpcpy(dest, src) (__extension__ (__builtin_constant_p (src) ? (__string2_1bptr_p (src) && strlen (src) + 1 <= 8 ? __stpcpy_small (dest, __stpcpy_args (src), strlen (src) + 1) : ((char *) __mempcpy (dest, src, strlen (src) + 1) - 1)) : __stpcpy (dest, src)))
|
/external/clang/test/CodeGen/ |
libcalls-fno-builtin.c | 20 size_t strlen(const char *s); 87 size_t t15(void) { return strlen("foo"); } 89 // CHECK: strlen
|
/external/clang/test/Sema/ |
warn-strncat-size.c | 7 size_t strlen (const char *s); 30 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - strlen(dest) - 1); // no-warning 39 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - strlen(dest)); // expected-warning{{the value of the size argument in 'strncat' is too large, might lead to a buffer overflow}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}}
|