/external/valgrind/memcheck/tests/amd64/ |
D | insn-pcmpistri.stdout.exp | 1 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")=9 [all …]
|
D | insn-pcmpistri.stderr.exp | 11 strlen("")=false 22 strlen("a")=true 33 strlen("ab")=true 44 strlen("abc")=true 55 strlen("abcd")=true 66 strlen("abcde")=true 77 strlen("abcdef")=true 88 strlen("abcdefg")=true 99 strlen("abcdefgh")=true 110 strlen("abcdefghi")=true [all …]
|
/external/clang/test/Analysis/ |
D | string.c | 38 #define strlen BUILTIN(strlen) macro 39 size_t strlen(const char *s); 42 clang_analyzer_eval(strlen("123") == 3); // expected-warning{{TRUE}} in strlen_constant0() 47 clang_analyzer_eval(strlen(a) == 3); // expected-warning{{TRUE}} in strlen_constant1() 52 clang_analyzer_eval(strlen(a) == 3); // expected-warning{{TRUE}} in strlen_constant2() 55 clang_analyzer_eval(strlen(a) == 3); // expected-warning{{UNKNOWN}} in strlen_constant2() 59 return strlen(0); // expected-warning{{Null pointer argument in call to string length function}} in strlen_null() 63 …return strlen((char*)&strlen_fn); // expected-warning{{Argument to string length function is the a… in strlen_fn() 68 …return strlen((char*)&&label); // expected-warning{{Argument to string length function is the addr… in strlen_nonloc() 78 size_t a = strlen(z.a); in strlen_subregion() [all …]
|
D | comparison-implicit-casts.cpp | 74 size_t strlen(const char *s); 87 if (strlen(x) != value) return; in PR12206_strlen() 90 clang_analyzer_eval(strlen(x) >= 2); // expected-warning{{TRUE}} in PR12206_strlen() 91 clang_analyzer_eval(2 <= strlen(x)); // expected-warning{{TRUE}} in PR12206_strlen() 94 clang_analyzer_eval(strlen(x) != 1); // expected-warning{{TRUE}} in PR12206_strlen() 95 clang_analyzer_eval(1 != strlen(x)); // expected-warning{{TRUE}} in PR12206_strlen()
|
/external/jsmn/ |
D | jsmn_test.c | 35 && strlen(s) == (t).end - (t).start) 52 r = jsmn_parse(&p, js, strlen(js), t, 10); in test_empty() 59 r = jsmn_parse(&p, js, strlen(js), t, 10); in test_empty() 66 r = jsmn_parse(&p, js, strlen(js), t, 10); in test_empty() 74 r = jsmn_parse(&p, js, strlen(js), t, 10); in test_empty() 91 r = jsmn_parse(&p, js, strlen(js), tokens, 10); in test_simple() 103 r = jsmn_parse(&p, js, strlen(js), tokens, 10); in test_simple() 108 r = jsmn_parse(&p, js, strlen(js), tokens, 10); in test_simple() 122 r = jsmn_parse(&p, js, strlen(js), tok, 10); in test_primitive() 130 r = jsmn_parse(&p, js, strlen(js), tok, 10); in test_primitive() [all …]
|
/external/svox/pico/tts/ |
D | svox_ssml_parser.cpp | 83 int doclen = (int)strlen(ssmldoc) + 1; in parseDocument() 112 if (strlen(m_data) > 0) in startElement() 133 m_docLanguage = new char[strlen(attributes[i+1])+1]; in startElement() 142 if (strlen(m_data) + 4 > (size_t)m_datasize) in startElement() 154 if (strlen(m_data) + 4 > (size_t)m_datasize) in startElement() 209 xsampasize = strlen(xsampastr); in startElement() 216 char* phonstr = createPhonemeString(xsampastr, strlen(xsampastr) + 1); in startElement() 219 xsampastr = (char*)malloc(strlen(phonstr) + 1); in startElement() 228 if (strlen(m_data) + strlen(xsampastr) + 1 > (size_t)m_datasize) in startElement() 240 if (strlen(m_data) + strlen(xsampastr) + 17 > (size_t)m_datasize) in startElement() [all …]
|
D | com_svox_picottsengine.cpp | 532 textlen = strlen(str) + 1; in doAddProperties() 534 textlen += strlen(PICO_PITCH_OPEN_TAG) + 5; in doAddProperties() 535 textlen += strlen(PICO_PITCH_CLOSE_TAG); in doAddProperties() 539 textlen += strlen(PICO_SPEED_OPEN_TAG) + 5; in doAddProperties() 540 textlen += strlen(PICO_SPEED_CLOSE_TAG); in doAddProperties() 545 textlen += strlen(PICO_VOLUME_OPEN_TAG) + 5; in doAddProperties() 546 textlen += strlen(PICO_VOLUME_CLOSE_TAG); in doAddProperties() 557 char* tmp = (char*)malloc(strlen(PICO_PITCH_OPEN_TAG) + strlen(PICO_PITCH_CLOSE_TAG) + 5); in doAddProperties() 564 char* tmp = (char*)malloc(strlen(PICO_SPEED_OPEN_TAG) + strlen(PICO_SPEED_CLOSE_TAG) + 5); in doAddProperties() 571 char* tmp = (char*)malloc(strlen(PICO_VOLUME_OPEN_TAG) + strlen(PICO_VOLUME_CLOSE_TAG) + 5); in doAddProperties() [all …]
|
/external/e2fsprogs/intl/ |
D | os2compat.c | 59 size_t sl = strlen (root); in nlos2_initialize() 60 _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); in nlos2_initialize() 62 memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1); in nlos2_initialize() 73 size_t sl = strlen (root); in nlos2_initialize() 74 _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); in nlos2_initialize() 76 memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1); in nlos2_initialize() 87 size_t sl = strlen (root); in nlos2_initialize() 88 _nlos2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1); in nlos2_initialize() 90 memcpy (_nlos2_localedir + sl, LOCALEDIR, strlen (LOCALEDIR) + 1); in nlos2_initialize() 96 if (strlen (_nlos2_localedir) <= MAXPATHLEN) in nlos2_initialize()
|
/external/libvncserver/libvncserver/ |
D | httpd.c | 294 if (strlen(rfbScreen->httpDir) > 255) { in httpProcessInput() 300 fname = &fullFname[strlen(fullFname)]; in httpProcessInput() 301 maxFnameLen = 511 - strlen(fullFname); in httpProcessInput() 350 rfbWriteExact(&cl,INVALID_REQUEST_STR, strlen(INVALID_REQUEST_STR)); in httpProcessInput() 356 rfbWriteExact(&cl,PROXY_OK_STR,strlen(PROXY_OK_STR)); in httpProcessInput() 364 rfbWriteExact(&cl,PROXY_OK_STR,strlen(PROXY_OK_STR)); in httpProcessInput() 380 if (strlen(buf) > maxFnameLen) { in httpProcessInput() 394 rfbWriteExact(&cl, NOT_FOUND_STR, strlen(NOT_FOUND_STR)); in httpProcessInput() 436 if (strlen(fname) >= 4 && strcmp(&fname[strlen(fname)-4], ".vnc") == 0) { in httpProcessInput() 444 rfbWriteExact(&cl, NOT_FOUND_STR, strlen(NOT_FOUND_STR)); in httpProcessInput() [all …]
|
/external/valgrind/include/ |
D | pub_tool_options.h | 53 (VG_STREQN(VG_(strlen)(qq_option)+1, qq_arg, qq_option"=") && \ 55 const HChar* val = &(qq_arg)[ VG_(strlen)(qq_option)+1 ]; \ 66 (VG_STREQN(VG_(strlen)(qq_option)+1, qq_arg, qq_option"=") && \ 68 const HChar* val = &(qq_arg)[ VG_(strlen)(qq_option)+1 ]; \ 77 (VG_STREQN(VG_(strlen)(qq_option)+1, qq_arg, qq_option"=") && \ 79 const HChar* val = &(qq_arg)[ VG_(strlen)(qq_option)+1 ]; \ 101 (VG_STREQN(VG_(strlen)(qq_option)+1, qq_arg, qq_option"=") && \ 103 const HChar* val = &(qq_arg)[ VG_(strlen)(qq_option)+1 ]; \ 117 (VG_STREQN(VG_(strlen)(qq_option)+1, qq_arg, qq_option"=") && \ 119 const HChar* val = &(qq_arg)[ VG_(strlen)(qq_option)+1 ]; \ [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | 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 …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | substitute.h | 90 : text_(value), size_(strlen(text_)) {} in SubstituteArg() 107 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 109 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 111 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 113 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 115 : text_(FastLongToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 117 : text_(FastULongToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 119 : text_(FastInt64ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 121 : text_(FastUInt64ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 123 : text_(FloatToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | FastStringBuffer.java | 482 int strlen = value.length(); in append() local 484 if (0 == strlen) in append() 492 while (strlen > 0) in append() 496 if (available > strlen) in append() 497 available = strlen; in append() 502 strlen -= available; in append() 506 if (strlen > 0) in append() 564 int strlen = value.length(); in append() local 566 if (0 == strlen) in append() 574 while (strlen > 0) in append() [all …]
|
/external/libmicrohttpd/src/microhttpd/ |
D | digestauth.c | 111 MD5Update (&md5, username, strlen (username)); in digest_calc_ha1() 113 MD5Update (&md5, realm, strlen (realm)); in digest_calc_ha1() 115 MD5Update (&md5, password, strlen (password)); in digest_calc_ha1() 122 MD5Update (&md5, nonce, strlen (nonce)); in digest_calc_ha1() 124 MD5Update (&md5, cnonce, strlen (cnonce)); in digest_calc_ha1() 161 MD5Update (&md5, method, strlen(method)); in digest_calc_response() 163 MD5Update (&md5, uri, strlen(uri)); in digest_calc_response() 171 MD5Update (&md5, hentity, strlen(hentity)); in digest_calc_response() 180 MD5Update (&md5, nonce, strlen(nonce)); in digest_calc_response() 184 MD5Update (&md5, noncecount, strlen(noncecount)); in digest_calc_response() [all …]
|
/external/avahi/avahi-common/ |
D | domain.c | 213 avahi_escape_label(label, strlen(label), &r, &size); in avahi_normalize_name() 257 if (strlen(t) >= AVAHI_DOMAIN_NAME_MAX || !*t) in avahi_is_valid_service_type_generic() 266 if (strlen(label) <= 2 || label[0] != '_') in avahi_is_valid_service_type_generic() 278 if (strlen(t) >= AVAHI_DOMAIN_NAME_MAX || !*t) in avahi_is_valid_service_type_strict() 286 if (strlen(label) <= 2 || label[0] != '_') in avahi_is_valid_service_type_strict() 311 if (strlen(t) >= AVAHI_DOMAIN_NAME_MAX || !*t) in avahi_get_type_from_subtype() 319 if (strlen(label) <= 2 || label[0] != '_') in avahi_get_type_from_subtype() 343 if (strlen(label) <= 2 || label[0] != '_') in avahi_get_type_from_subtype() 373 if (strlen(t) >= AVAHI_DOMAIN_NAME_MAX) in avahi_is_valid_domain_name() 399 if (strlen(t) >= AVAHI_LABEL_MAX || !*t) in avahi_is_valid_service_name() [all …]
|
/external/dbus/tools/ |
D | dbus-launch-x11.c | 59 plen = strlen (prefix); in remove_prefix() 63 memmove (s, s + plen, strlen (s) - plen + 1); in remove_prefix() 154 result = malloc (strlen (home) + strlen (prefix) + strlen (machine) + in get_session_file() 155 strlen (display) + 2); in get_session_file() 183 dir = malloc (strlen (home) + strlen (DBUS_DIR) + strlen (DBUS_SESSION_BUS_DIR) + 3); in ensure_session_directory() 256 atom_name = malloc (strlen (machine) + strlen (user_name) + 2 + in init_x_atoms() 257 MAX (strlen (selection_prefix), in init_x_atoms() 258 MAX (strlen (address_prefix), in init_x_atoms() 259 strlen (pid_prefix)))); in init_x_atoms() 374 (unsigned char *)address, strlen (address)); in set_address_in_x11()
|
/external/valgrind/ |
D | glibc-2.3.supp | 33 strlen/__GI__dl_open/dlopen_doit 35 fun:strlen 40 strlen/_dl_signal_cerror/_dl_lookup_symbol_internal/do_dlsym 47 strlen/*dl_map_object*(Cond) 49 fun:strlen 54 strlen/*dl_open_worker*(Cond) 56 fun:strlen 60 strlen/_dl_sym/dlsym_doit 62 fun:strlen 80 strlen/decompose_rpath/_dl_map_object [all …]
|
/external/toybox/lib/ |
D | getmountlist.c | 23 (int)(5+strlen(toys.which->name)+strlen(err)+next-al->arg), '^'); in comma_args() 38 if (atold[strlen(atold)-1] == ',') comma = ""; in comma_collate() 56 *len = strlen(*list); in comma_iterate() 91 int optlen = strlen(opt), len, no, got = 0; in comma_scan() 100 if (clean && optlist) memmove(s, optlist, strlen(optlist)+1); in comma_scan() 170 mt = xzalloc(sizeof(struct mtab_list) + strlen(me->mnt_fsname) + in xgetmountlist() 171 strlen(me->mnt_dir) + strlen(me->mnt_type) + strlen(me->mnt_opts) + 4); in xgetmountlist()
|
/external/compiler-rt/test/msan/Linux/ |
D | glob_altdirfunc.cc | 34 assert(__msan_test_shadow(s, strlen(s) + 1) == (size_t)-1); in my_gl_opendir() 39 assert(__msan_test_shadow(s, strlen(s) + 1) == (size_t)-1); in my_gl_lstat() 46 assert(__msan_test_shadow(s, strlen(s) + 1) == (size_t)-1); in my_gl_stat() 68 printf("%zu\n", strlen(globbuf.gl_pathv[0])); in main() 69 printf("%zu\n", strlen(globbuf.gl_pathv[1])); in main() 70 __msan_poison(globbuf.gl_pathv[0], strlen(globbuf.gl_pathv[0]) + 1); in main() 71 __msan_poison(globbuf.gl_pathv[1], strlen(globbuf.gl_pathv[1]) + 1); in main()
|
/external/boringssl/src/crypto/base64/ |
D | base64_test.cc | 46 strlen(t->decoded)); in TestEncode() 47 if (len != strlen(t->encoded) || in TestEncode() 64 size_t expected_len = strlen(t->decoded); in TestDecode() 66 (const uint8_t*)t->encoded, strlen(t->encoded))) { in TestDecode() 70 if (len != strlen(t->decoded) || in TestDecode() 79 strlen(t->encoded)); in TestDecode() 91 if (static_cast<size_t>(ret) != strlen(t->decoded) || in TestDecode()
|
/external/tlsdate/src/ |
D | proxy-polarssl.c | 75 memcpy(buf + sz, ctx->host, strlen(ctx->host) + 1); in socks4a_connect() 76 sz += strlen(ctx->host) + 1; in socks4a_connect() 152 buf[4] = strlen(ctx->host); in socks5_connect() 154 memcpy(buf + 5, ctx->host, strlen(ctx->host)); in socks5_connect() 155 sz += strlen(ctx->host); in socks5_connect() 231 r = ctx->f_send(ctx->p_send, (unsigned char *) buf, strlen(buf)); in http_connect() 232 if (r != strlen(buf)) in http_connect() 236 r = ctx->f_send(ctx->p_send, (unsigned char *) buf, strlen(buf)); in http_connect() 237 if (r != strlen(buf)) in http_connect() 240 r = ctx->f_send(ctx->p_send, (unsigned char *) buf, strlen(buf)); in http_connect() [all …]
|
D | proxy-bio-plan9.c | 111 memcpy(buf + sz, ctx->host, strlen(ctx->host) + 1); in socks4a_connect() 112 sz += strlen(ctx->host) + 1; in socks4a_connect() 143 if (strlen(ctx->host) == UINT8_MAX + 1) in socks5_connect() 187 buf[4] = strlen(ctx->host); in socks5_connect() 189 memcpy(buf + 5, ctx->host, strlen(ctx->host)); in socks5_connect() 190 sz += strlen(ctx->host); in socks5_connect() 271 r = BIO_write(b->next_bio, buf, strlen(buf)); in http_connect() 274 if ( (size_t) r != strlen(buf)) in http_connect() 278 r = BIO_write(b->next_bio, buf, strlen(buf)); in http_connect() 281 if ( (size_t) r != strlen(buf)) in http_connect() [all …]
|
/external/e2fsprogs/util/ |
D | symlinks.c | 44 int oldlen = strlen(old), newlen = 0; in substr() 50 newlen = strlen(new); in substr() 53 if ((tmp = malloc(strlen(s))) == NULL) { in substr() 83 s = path + strlen(path) - 1; in tidy_path() 103 p = path + strlen(path) - 1; in tidy_path() 124 while (abspath && strlen(abspath) > 1 && (p = strstr(path,"../"))) { in shorten_path() 143 a = abspath + strlen(abspath) - 1; in shorten_path() 152 if (strncmp(dir, a, strlen(dir))) in shorten_path() 179 c = strlen(abspath); in fix_symlink() 294 dirwalk(path, strlen(path), dev); in dirwalk() [all …]
|
D | subst.c | 42 ent->name = (char *) malloc(strlen(name)+1); in add_subst() 45 ent->value = (char *) malloc(strlen(value)+1); in add_subst() 108 replace_len = strlen(newstr); in replace_string() 111 memmove(begin, end+1, strlen(end)+1); in replace_string() 114 strlen(end)+1); in replace_string() 137 memmove(name_ptr-1, name_ptr, strlen(name_ptr)+1); in substitute_line() 164 (strlen(replace_name) == strlen(ent->value)-2) && in substitute_line() 166 strlen(ent->value)-2)) in substitute_line() 168 ptr += strlen(ent->value); in substitute_line() 227 for (cp = line + strlen(line) - 1; cp >= line; cp--) { in parse_config_file() [all …]
|
/external/libmicrohttpd/src/examples/ |
D | post_example.c | 284 response = MHD_create_response_from_buffer (strlen (form), in serve_simple_form() 319 reply = malloc (strlen (MAIN_PAGE) + strlen (session->value_1) + 1); in fill_v1_form() 323 strlen (MAIN_PAGE) + strlen (session->value_1) + 1, in fill_v1_form() 327 response = MHD_create_response_from_buffer (strlen (reply), in fill_v1_form() 362 reply = malloc (strlen (SECOND_PAGE) + strlen (session->value_1) + strlen (session->value_2) + 1); in fill_v1_v2_form() 366 strlen (SECOND_PAGE) + strlen (session->value_1) + strlen (session->value_2) + 1, in fill_v1_v2_form() 371 response = MHD_create_response_from_buffer (strlen (reply), in fill_v1_v2_form() 406 response = MHD_create_response_from_buffer (strlen (NOT_FOUND_ERROR), in not_found_page() 623 response = MHD_create_response_from_buffer (strlen (METHOD_ERROR), in create_response()
|