/external/chromium_org/sdch/open-vcdiff/src/ |
vcdiffengine_test.cc | 18 #include <string.h> // memset, strlen 75 const size_t length_without_spaces = strlen(string_without_spaces); 118 return ExpectSize(strlen(s)); 246 ExpectAddInstruction(static_cast<int>(strlen(s))); 300 engine_(dictionary_, strlen(dictionary_)) { 332 strlen(text), 575 engine_(dictionary_, strlen(dictionary_)), 577 search_dictionary_(dictionary_, strlen(dictionary_)), 620 strlen(text), 655 + strlen(weasel_text_ [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/open-vcdiff/src/ |
vcdiffengine_test.cc | 18 #include <string.h> // memset, strlen 75 const size_t length_without_spaces = strlen(string_without_spaces); 118 return ExpectSize(strlen(s)); 246 ExpectAddInstruction(static_cast<int>(strlen(s))); 300 engine_(dictionary_, strlen(dictionary_)) { 332 strlen(text), 575 engine_(dictionary_, strlen(dictionary_)), 577 search_dictionary_(dictionary_, strlen(dictionary_)), 620 strlen(text), 655 + strlen(weasel_text_ [all...] |
/bionic/libc/netbsd/net/ |
getnameinfo.c | 168 int lengthResult = strlen(hostResult->h_name); 235 if (strlen(sp->s_name) + 1 > (size_t)servlen) 240 if (strlen(numserv) + 1 > (size_t)servlen) 313 numaddrlen = strlen(numaddr); 348 if (strlen(hp->h_name) + 1 > (size_t)hostlen) { 394 numaddrlen = strlen(numaddr); 449 return(strlen(p));
|
/dalvik/vm/compiler/ |
Dataflow.cpp | 853 snprintf(buffer + strlen(buffer), 256, " v%d,", insn->vA); 857 snprintf(buffer + strlen(buffer), 256, " v%d, v%d,", 872 snprintf(buffer + strlen(buffer), 256, " (%c%x)", 879 snprintf(buffer + strlen(buffer), 256, " v%d", insn->arg[i]); 883 snprintf(buffer + strlen(buffer), 256, 888 snprintf(buffer + strlen(buffer), 256, " v%d", insn->vA); 891 snprintf(buffer + strlen(buffer), 256, ", v%d", insn->vB); 894 snprintf(buffer + strlen(buffer), 256, ", (#%d)", insn->vB); 897 snprintf(buffer + strlen(buffer), 256, ", v%d", insn->vC); 900 snprintf(buffer + strlen(buffer), 256, ", (#%d)", insn->vC) [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
about_chrome_dialog.cc | 196 license.substr(link1_end + strlen(kEndLinkOss), 197 link2 - link1_end - strlen(kEndLinkOss)).c_str()); 200 license.substr(link2_end + strlen(kEndLinkOss)).c_str()); 204 license.substr(link1 + strlen(kBeginLinkOss), 205 link1_end - link1 - strlen(kBeginLinkOss)); 207 license.substr(link2 + strlen(kBeginLinkOss), 208 link2_end - link2 - strlen(kBeginLinkOss));
|
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io/ |
handlers.c | 99 if (endptr != s + strlen(s)) { 245 data_len = strlen(data); 692 non_variable_len = strlen("gethostbyname") + 1 693 + strlen(info->h_name) + 1 + strlen(addr_type); 700 output_len += strlen(inet_ntoa(*addr_list[i])); 703 output_len += strlen(inet6_addr_str);
|
/external/libppp/src/ |
systems.c | 135 to += strlen(to); 141 len = ptr ? (size_t)(ptr - from) : strlen(from); 154 to += strlen(to); 250 len = strlen(line); 273 len = strlen(buf); 303 if (argc != 1 || (len = strlen(argv[0])) < 2 || argv[0][len-1] != ':') { 396 len = strlen(cp);
|
/external/skia/gm/ |
shadertext2.cpp | 132 canvas->drawText(kLabelLabel, strlen(kLabelLabel), 0, 0, labelPaint); 139 canvas->drawText(matrices[lm].fLabel, strlen(matrices[lm].fLabel), 142 strlen(matrices[lm].fLabel)); 157 canvas->drawText(matrices[m].fLabel, strlen(matrices[m].fLabel), 199 SkScalar fillX = -outlinePaint.measureText(kFillLabel, strlen(kFillLabel)) - kPadX; 201 canvas->drawText(kFillLabel, strlen(kFillLabel), fillX, y, labelPaint); 202 canvas->drawText(kStrokeLabel, strlen(kStrokeLabel), strokeX, y, labelPaint);
|
/frameworks/compile/libbcc/lib/Renderscript/ |
RSInfoExtractor.cpp | 168 string_pool_size += ::strlen(LibBCCPath) + 1 + SHA1_DIGEST_LENGTH; 169 string_pool_size += ::strlen(LibCompilerRTPath) + 1 + SHA1_DIGEST_LENGTH; 170 string_pool_size += ::strlen(LibRSPath) + 1 + SHA1_DIGEST_LENGTH; 171 string_pool_size += ::strlen(LibCLCorePath) + 1 + SHA1_DIGEST_LENGTH; 172 string_pool_size += ::strlen(LibCLCoreDebugPath) + 1 + SHA1_DIGEST_LENGTH; 174 string_pool_size += ::strlen(LibCLCoreNEONPath) + 1 + SHA1_DIGEST_LENGTH; 178 string_pool_size += ::strlen(/* name */pDeps[i].first) + 1;
|
/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));
|
/hardware/qcom/display/msm8974/liboverlay/ |
overlayUtils.cpp | 387 strncat(buf, str, strlen(str)); 400 strncat(buf, str_src, strlen(str_src)); 409 strncat(buf, str_rect, strlen(str_rect)); 418 strncat(buf, str, strlen(str)); 428 strncat(buf, str_data, strlen(str_data)); 437 strncat(buf, str, strlen(str)); 449 strncat(buf, str, strlen(str));
|
/hardware/qcom/display/msm8x26/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))
|
/external/chromium/third_party/libevent/test/ |
regress_http.c | 168 (const unsigned char*) what, strlen(what)) != NULL) { 226 if (strcmp("END", multi + strlen(multi) - 3) == 0) 301 bufferevent_write(bev, http_request, strlen(http_request)); 335 bufferevent_write(bev, http_request, strlen(http_request)); 363 bufferevent_write(bev, http_request, strlen(http_request)); 515 if (EVBUFFER_LENGTH(req->input_buffer) != strlen(what)) { 520 if (memcmp(EVBUFFER_DATA(req->input_buffer), what, strlen(what)) != 0) { 597 if (EVBUFFER_LENGTH(req->input_buffer) != strlen(what)) { 599 EVBUFFER_LENGTH(req->input_buffer), strlen(what)); 603 if (memcmp(EVBUFFER_DATA(req->input_buffer), what, strlen(what)) != 0) [all...] |
/external/chromium_org/third_party/libevent/test/ |
regress_http.c | 168 (const unsigned char*) what, strlen(what)) != NULL) { 226 if (strcmp("END", multi + strlen(multi) - 3) == 0) 301 bufferevent_write(bev, http_request, strlen(http_request)); 335 bufferevent_write(bev, http_request, strlen(http_request)); 363 bufferevent_write(bev, http_request, strlen(http_request)); 515 if (EVBUFFER_LENGTH(req->input_buffer) != strlen(what)) { 520 if (memcmp(EVBUFFER_DATA(req->input_buffer), what, strlen(what)) != 0) { 597 if (EVBUFFER_LENGTH(req->input_buffer) != strlen(what)) { 599 EVBUFFER_LENGTH(req->input_buffer), strlen(what)); 603 if (memcmp(EVBUFFER_DATA(req->input_buffer), what, strlen(what)) != 0) [all...] |
/frameworks/native/cmds/installd/ |
commands.c | 330 dirpos = tmpdir + strlen(tmpdir); 341 if ((strlen(name)+(dirpos-tmpdir)) < (sizeof(tmpdir)-1)) { 356 dirpos = tmpdir + strlen(tmpdir); 366 if ((strlen(name)+(dirpos-tmpdir)) < (sizeof(tmpdir)-1)) { 549 srclen = strlen(src); 560 dstlen = srclen + strlen(DALVIK_CACHE_PREFIX) + 561 strlen(DALVIK_CACHE_POSTFIX) + 1; 572 for(tmp = path + strlen(DALVIK_CACHE_PREFIX); *tmp; tmp++) { 603 char zip_fd_arg[strlen("--zip-fd=") + MAX_INT_LEN]; 604 char zip_location_arg[strlen("--zip-location=") + PKG_PATH_MAX] [all...] |
utils.c | 26 const size_t postfix_len = strlen(postfix); 28 const size_t pkgname_len = strlen(pkgname); 73 const size_t prefix_len = android_data_dir.len + strlen(userid_prefix) 157 if ((android_data_dir.len + strlen(PRIMARY_USER_PREFIX) + strlen(pkgname) + strlen(leaf) + 1) 318 char* dirpos = basepath + strlen(basepath); 328 if ((dirpos-basepath+strlen(dir)) >= (PATH_MAX-1)) { 445 size_t nameLen = strlen(name); 479 size_t nameLen = strlen(name) [all...] |
/system/core/adb/ |
adb.c | 122 q = p + strlen(p); 128 int taglen = strlen(tags[tagn].tag); 195 adb_write(adb_debug_qemu, msg, strlen(msg)); 750 int local_len = strlen(l->local_name); 751 int connect_len = strlen(l->connect_to); 752 int serial_len = strlen(l->transport->serial); [all...] |
/external/chromium_org/third_party/openssl/openssl/apps/ |
engine.c | 102 int l = strlen(s); 116 if (strlen(*buf) + strlen(s) >= (unsigned int)*size) 257 if((xpos > (int)strlen(indent)) && 258 (xpos + (int)strlen(name) > line_wrap)) 376 if(strspn(*argv + 1, "v") < strlen(*argv + 1)) 378 if((verbose=strlen(*argv + 1)) > 4) 386 if(strspn(*argv + 1, "t") < strlen(*argv + 1)) 388 if((test_avail_noise = strlen(*argv + 1) - 1) > 1)
|
/external/openssh/ |
auth2-jpake.c | 288 strlen(authctxt->pw->pw_passwd) > 28) { 298 strlen(authctxt->pw->pw_passwd) > 29) { 308 strlen(authctxt->pw->pw_passwd) > 5) { 322 strlen(authctxt->pw->pw_passwd) > 9) { 331 } else if (strlen(authctxt->pw->pw_passwd) == 13 && 352 strlen(authctxt->pw->pw_passwd), EVP_sha256(), 359 *salt, (u_int)strlen(*salt)); 404 bzero(hash_scheme, strlen(hash_scheme)); 405 bzero(salt, strlen(salt));
|
/external/openssl/apps/ |
engine.c | 102 int l = strlen(s); 116 if (strlen(*buf) + strlen(s) >= (unsigned int)*size) 257 if((xpos > (int)strlen(indent)) && 258 (xpos + (int)strlen(name) > line_wrap)) 376 if(strspn(*argv + 1, "v") < strlen(*argv + 1)) 378 if((verbose=strlen(*argv + 1)) > 4) 386 if(strspn(*argv + 1, "t") < strlen(*argv + 1)) 388 if((test_avail_noise = strlen(*argv + 1) - 1) > 1)
|
/external/tcpdump/ |
print-icmp.c | 454 cp = buf + strlen(buf); 459 cp = buf + strlen(buf); 474 cp = buf + strlen(buf); 478 cp = buf + strlen(buf); 492 cp = buf + strlen(buf); 550 (void)snprintf(buf+strlen(buf),sizeof(buf)-strlen(buf),", recv %s", 552 (void)snprintf(buf+strlen(buf),sizeof(buf)-strlen(buf),", xmit %s",
|
/external/chromium_org/chrome/browser/mac/ |
relauncher.cc | 117 if (args[index].compare(0, strlen(kPSNArg), kPSNArg) != 0 && 118 args[index].compare(0, strlen(alt_psn_arg), alt_psn_arg) != 0) { 307 if (arg.compare(0, strlen(kPSNArg), kPSNArg) == 0) { 316 } else if (arg.compare(0, strlen(kRelauncherDMGDeviceArg), 318 dmg_bsd_device_name.assign(arg.substr(strlen(kRelauncherDMGDeviceArg)));
|
/external/chromium_org/third_party/icu/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);
|