/external/valgrind/coregrind/ |
m_options.c | 193 len = VG_(strlen)(format) + 1; 256 ENSURE_THIS_MUCH_SPACE(VG_(strlen)(qual)); 275 len = VG_(strlen)(base_dir) + 1 + VG_(strlen)(out) + 1; 290 HChar opt[VG_(strlen)(option_name) + VG_(strlen)(format) + 2]; 326 if (child_exe_name == NULL || VG_(strlen)(child_exe_name) == 0)
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
dhdu_linux.c | 158 strlen(RWL_WIFI_ACTION_CMD)) && strncmp(buf, RWL_WIFI_GET_ACTION_CMD, 159 strlen(RWL_WIFI_GET_ACTION_CMD))) { 330 !strncmp(dev_type, type, strlen(dev_type) - 1)) 463 if (*argv && strncmp (*argv, "--wince", strlen(*argv)) == 0) { 469 if (*argv && strncmp (*argv, "--socket", strlen(*argv)) == 0) { 496 if (*argv && strncmp (*argv, "--dongle", strlen(*argv)) == 0) { 502 if (*argv && strncmp (*argv, "--wifi", strlen(*argv)) == 0) {
|
/hardware/qcom/bootctrl/ |
boot_control.c | 133 strlen(slot_suffix_arr[i]))) 249 strlen(BOOT_IMG_PTN_NAME))) 363 if (is_ufs && !strncmp(ptn_list[i], PTN_XBL, strlen(PTN_XBL))) 445 strlen(AB_SLOT_A_SUFFIX))){ 468 strlen(AB_SLOT_B_SUFFIX))){ 508 strlen(AB_SLOT_A_SUFFIX))){ 512 strlen(AB_SLOT_B_SUFFIX))){
|
/hardware/qcom/display/msm8960/liboverlay/ |
overlayUtils.cpp | 336 strncat(buf, str, strlen(str)); 349 strncat(buf, str_src, strlen(str_src)); 358 strncat(buf, str_rect, strlen(str_rect)); 367 strncat(buf, str, strlen(str)); 378 strncat(buf, str_data, strlen(str_data)); 387 strncat(buf, str, strlen(str)); 399 strncat(buf, str, strlen(str));
|
/ndk/sources/host-tools/make-3.81/ |
expand.c | 180 o = variable_buffer_output (o, value, strlen (value)); 227 o = variable_buffer_output (o, p, p1 != 0 ? (unsigned int)(p1 - p) : strlen (p) + 1); 512 return variable_buffer_output (buf, v->value, strlen (v->value)); 514 buf = variable_expand_string (buf, v->value, strlen (v->value)); 515 return (buf + strlen (buf)); 531 val = variable_append (v->name, strlen (v->name), current_variable_set_list); 558 value = xrealloc (value, strlen (value))
|
variable.c | 58 p->len = strlen (target); 70 unsigned int targlen = strlen(target); 292 unsigned long max = EXPANSION_INCREMENT (strlen (var->value)); 391 nvalue = alloca (strlen (value) + scnt + 1); 511 p->variable.name, strlen (p->variable.name), 902 gv = lookup_variable_in_set (v->name, strlen(v->name), 1031 v = lookup_variable (varname, strlen (varname)); 1050 v = lookup_variable_in_set (varname, strlen (varname), 1059 v = lookup_variable (varname, strlen (varname)); [all...] |
/system/bt/bta/hl/ |
bta_hl_sdp.c | 108 str_len = strlen(p_elem_list->p_mdep_desp)+1; 245 (UINT32)(strlen(p_cb->srv_name) + 1), 257 (UINT32)(strlen(p_cb->srv_desp) + 1), 271 (UINT32)(strlen(p_cb->provider_name) + 1), 456 (UINT32)(strlen(p_cb->srv_name) + 1), 468 (UINT32)(strlen(p_cb->srv_desp) + 1), 482 (UINT32)(strlen(p_cb->provider_name) + 1),
|
/system/core/libutils/ |
String8.cpp | 173 : mString(allocFromUTF8(o, strlen(o))) 255 const char *newString = allocFromUTF8(other, strlen(other)); 312 return append(other, strlen(other)); 393 unlockBuffer(strlen(mString)); 431 size_t skip = strlen(other); 516 setPathName(name, strlen(name)); 649 int newlen = strlen(name);
|
/external/google-breakpad/src/third_party/libdisasm/ |
x86_format.c | 19 int _i = strlen(str), _blen = strlen(buf), _len = len - 1; \ 282 return( strlen(buf) ); 716 return ( strlen( buf ) ); 780 return( strlen( buf ) ); 881 return( strlen( buf ) ); [all...] |
/external/libmtp/src/ |
playlist-spl.c | 94 (strlen(oi->Filename) > 4) && 95 (strcmp((oi->Filename + strlen(oi->Filename) -4), ".spl") == 0); 122 pl->name = malloc(sizeof(char)*(strlen(oi->Filename) -4 +1)); 123 memcpy(pl->name, oi->Filename, strlen(oi->Filename) -4); 125 pl->name[strlen(oi->Filename) - 4] = 0; 224 f->filename = malloc(sizeof(char)*(strlen(pl->name)+5)); 307 char* s = malloc(sizeof(char)*(strlen(newlist->name)+5)); 466 for(i=0;i<strlen(p->text);i++) 690 iw = iw - (strlen(files->filename) +1); // leave room for '\0' at the end 700 iw = iw - (strlen(f) +1) [all...] |
/external/valgrind/coregrind/m_initimg/ |
initimg-darwin.c | 123 Int ld_preload_len = VG_(strlen)( ld_preload ); 124 Int dyld_cache_len = VG_(strlen)( dyld_cache ); 125 Int v_launcher_len = VG_(strlen)( v_launcher ); 128 Int vglib_len = VG_(strlen)(VG_(libdir)); 141 Int preload_tool_path_len = vglib_len + VG_(strlen)(toolname) 182 Int len = VG_(strlen)(*cpp) + preload_string_len; 193 Int len = dyld_cache_len + VG_(strlen)(dyld_cache_value) + 1; 214 Int len = dyld_cache_len + VG_(strlen)(dyld_cache_value) + 1; 344 stringsize += VG_(strlen)(info->interp_name) + 1; 348 stringsize += VG_(strlen)(info->interp_args) + 1 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
Xos_r.h | 257 (p).len = strlen((p).pwp->pw_name); 261 (p).len = strlen((p).pwp->pw_passwd); 265 (p).len = strlen((p).pwp->pw_class); 269 (p).len = strlen((p).pwp->pw_gecos); 273 (p).len = strlen((p).pwp->pw_dir); 277 (p).len = strlen((p).pwp->pw_shell); 287 ((p).len = strlen((p).pwp->pw_name)), \ 290 ((p).len = strlen((p).pwp->pw_passwd)), \ 293 ((p).len = strlen((p).pwp->pw_age)), \ 296 ((p).len = strlen((p).pwp->pw_comment)), [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
Xos_r.h | 257 (p).len = strlen((p).pwp->pw_name); 261 (p).len = strlen((p).pwp->pw_passwd); 265 (p).len = strlen((p).pwp->pw_class); 269 (p).len = strlen((p).pwp->pw_gecos); 273 (p).len = strlen((p).pwp->pw_dir); 277 (p).len = strlen((p).pwp->pw_shell); 287 ((p).len = strlen((p).pwp->pw_name)), \ 290 ((p).len = strlen((p).pwp->pw_passwd)), \ 293 ((p).len = strlen((p).pwp->pw_age)), \ 296 ((p).len = strlen((p).pwp->pw_comment)), [all...] |
/external/vulkan-validation-layers/loader/ |
loader.c | 316 } else if (strlen(out) + name_size + 1 > total_size) { 328 if (strlen(out) == 0) 331 snprintf(out + strlen(out), name_size + 2, "%c%s", 379 required_len += strlen(component); 405 cstr = loader_stack_alloc(strlen(vers_str) + 1); 798 inst, strlen(entrys[i]) + 1, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); [all...] |
/external/boringssl/src/crypto/pem/ |
pem_lib.c | 110 j=strlen(buf); 350 assert(strlen(objstr)+23+2*iv_len+13 <= sizeof buf); 355 /* k=strlen(buf); */ 561 nlen=strlen(name); 568 i=strlen(header); 670 i=strlen(&(buf[11])); 755 i=strlen(nameB->data); 804 int pem_len = strlen(pem_str); 805 int suffix_len = strlen(suffix); 824 size_t len = strlen((char *) userdata) [all...] |
/external/icu/icu4c/source/test/cintltst/ |
spreptst.c | 329 destLen = nfs4_cis_prepare(src , (int32_t)strlen(src), dest, destLen, &parseError, &status); 333 destLen = nfs4_cis_prepare( src , (int32_t)strlen(src), dest, destLen, &parseError, &status); 449 srcLen = unescapeData(mixed_prep_data[i], (int32_t)strlen(mixed_prep_data[i]), src, MAX_BUFFER_SIZE, &status); 475 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); 502 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); 525 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); 548 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); 573 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); 574 int32_t expLen = unescapeData(expected, (int32_t)strlen(expected), exp, MAX_BUFFER_SIZE, &status); 585 log_err("Did not get the expected length for the outputfor case: Case Mapping Turned On. Expected: %i Got: %i\n", strlen(expected), destLen) [all...] |
/external/libvncserver/libvncserver/tightvnc-filetransfer/ |
handlefiletransferrequest.c | 85 if((userHome != NULL) && (strlen(userHome) != 0)) { 110 if((path == NULL) || (strlen(path) == 0) || (strlen(path) > (PATH_MAX - 1))) { 140 if(path[strlen(path)-1] == '/') { 141 memcpy(ftproot, path, strlen(path)-1); 144 memcpy(ftproot, path, strlen(path)); 204 (strlen(path) == 0) || 205 (strlen(path)+strlen(ftproot) > PATH_MAX - 1) ) { 212 memcpy(p, path, strlen(path)) [all...] |
/external/ltrace/ |
options.c | 58 .strlen = DEFAULT_STRLEN, /* maximum # of bytes printed in strings */ 150 m = n = strlen(path); 152 if (n + strlen(filename) + 1 >= PATH_MAX) { 197 char lib[strlen(a_lib) + 3]; 238 char sym[strlen(a_sym) + 3]; 327 char *symend = symname + strlen(symname) - 1; 328 char *libend = libname + strlen(libname) - 1; 461 char *end = clone + strlen(clone); 620 size_t patlen = strlen(optarg); 661 options.strlen = parse_int(optarg, 's', 0, 0) [all...] |
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_unittest.cc | 303 coded_output->WriteVarint32(strlen(strA)); 304 coded_output->WriteRaw(strA, strlen(strA)); 311 coded_output->WriteVarint32(strlen(strB)); 312 coded_output->WriteRaw(strB, strlen(strB)); 322 EXPECT_EQ(strlen(strA), insize); 327 EXPECT_EQ(strlen(strB), insize); 610 int32 outlen = strlen(strA) + 1; 621 outlen = strlen(strB) + 1; 635 EXPECT_EQ(strlen(strA) + 1, insize); 641 EXPECT_EQ(strlen(strB) + 1, insize) [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
alsa_pcm.c | 786 strlcat(dname, tmp, (2+strlen(dname))) ; 788 strlcat(dname, "D", (sizeof("D")+strlen(dname))); 793 strlcat(dname, tmp, (3+strlen(dname))); 795 strlcat(dname, tmp, (2+strlen(dname))); 796 strlcat(dname, "c", (sizeof("c")+strlen(dname))); 800 strlcat(dname, tmp, (2+strlen(dname))) ; 802 strlcat(dname, "D", (sizeof("D")+strlen(dname))); 807 strlcat(dname, tmp, (3+strlen(dname))); 809 strlcat(dname, tmp, (2+strlen(dname))); 810 strlcat(dname, "p", (sizeof("p")+strlen(dname))) [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
rclex.c | 152 len = strlen (s); 153 mlen = strlen ("pragma"); 161 len = strlen (s); 162 mlen = strlen ("code_page"); 185 if (! len || (len == strlen ("DEFAULT") && strcasecmp (fn, "DEFAULT") == 0)) 231 initial_fn = xmalloc (strlen (fn) + 1); 238 || strcmp (fn + strlen (fn) - 2, ".h") != 0) 273 ret = get_string (strlen (input) + 1); 436 ret = get_unistring (strlen (input) + 1); 867 s = get_string (strlen (rclex_tok) + 1) [all...] |
/external/autotest/client/profilers/powertop/src/ |
powertop.c | 223 while (c && strlen(c)) { 282 if (strlen(entry->d_name) < 3) 335 if (strlen(entry->d_name) < 3) 353 if (strlen(entry->d_name) < 3) 508 if (strlen(dirent->d_name) < 3) 589 if (strncmp("AC Power", line, strlen("AC Power")) == 0) 591 else if (strncmp("Battery count", line, strlen("Battery count")) == 0) 612 if (strncmp("flags", line, strlen("flags")) == 0) 614 else if (strncmp("charge", line, strlen("charge")) == 0) 616 else if (strncmp("max_charge", line, strlen("max_charge")) == 0 [all...] |
/external/selinux/libsepol/cil/src/ |
cil.c | 1192 str_len += strlen("user ") + strlen(user->datum.fqn) + strlen(" prefix ") + strlen(userprefix->prefix_str) + 2; [all...] |
/bootable/recovery/updater/ |
install.cpp | 139 if (strlen(fs_type) == 0) { 143 if (strlen(partition_type) == 0) { 148 if (strlen(location) == 0) { 152 if (strlen(mount_point) == 0) { 223 if (strlen(mount_point) == 0) { 253 if (strlen(mount_point) == 0) { 317 if (strlen(fs_type) == 0) { 321 if (strlen(partition_type) == 0) { 326 if (strlen(location) == 0) { 331 if (strlen(mount_point) == 0) [all...] |
/external/curl/tests/server/ |
rtspd.c | 377 if((strlen(doc) + strlen(request)) < 200) 451 if(!strncmp(CMD_AUTH_REQUIRED, ptr, strlen(CMD_AUTH_REQUIRED))) { 455 else if(!strncmp(CMD_IDLE, ptr, strlen(CMD_IDLE))) { 460 else if(!strncmp(CMD_STREAM, ptr, strlen(CMD_STREAM))) { 571 req->checkindex += (end - line) + strlen(END_OF_HEADERS); 615 strlen("Transfer-Encoding: chunked"))) { 679 req->reqbuf + req->offset > end + strlen(END_OF_HEADERS) && 680 (!strncmp(req->reqbuf, "GET", strlen("GET")) || 681 !strncmp(req->reqbuf, "HEAD", strlen("HEAD")))) [all...] |