/frameworks/compile/libbcc/lib/ExecutionEngine/ |
SymbolResolvers.cpp | 69 size_t error_length = ::strlen(DYLD_ERROR_MSG_PATTERN) + 70 ::strlen(pFileName) + 1; 72 error_length += ::strlen(err);
|
/hardware/libhardware_legacy/qemu_tracing/ |
qemu_tracing.c | 64 if (strlen(name) > MAX_SYMBOL_NAME_LENGTH) 70 write(fd, buf, strlen(buf)); 83 write(fd, buf, strlen(buf));
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
bug-regex13.c | 89 err = re_compile_pattern (tests[i].pattern, strlen (tests[i].pattern), 98 start = re_search (®buf, tests[i].string, strlen (tests[i].string), 99 0, strlen (tests[i].string), NULL);
|
/system/core/libcutils/ |
properties.c | 49 len = strlen(default_value); 159 len = strlen(value); 164 if (strlen(key) >= PROPERTY_KEY_MAX) return -1; 186 len = strlen(value); 199 len = strlen(value); 225 if (strlen(key) >= PROPERTY_KEY_MAX) return -1; 226 if (strlen(value) >= PROPERTY_VALUE_MAX) return -1; 275 len = strlen(key); 284 len = strlen(p); 290 len = strlen(default_value) [all...] |
/system/core/toolbox/ |
mv.c | 35 if (strlen(dest) + 1 + strlen(source) + 1 > sizeof(fullDest)) { 44 if (fullDest[strlen(fullDest)-1] != '/') {
|
/external/chromium_org/net/websockets/ |
websocket_handshake_handler_unittest.cc | 89 strlen(kHandshakeRequestMessage))); 112 strlen(kHandshakeRequestMessage))); 137 strlen(kHandshakeRequestMessage))); 179 strlen(kHandshakeRequestMessage))); 217 EXPECT_EQ(strlen(kHandshakeResponseMessage), 219 strlen(kHandshakeResponseMessage))); 240 EXPECT_EQ(strlen(kHandshakeResponseMessage), 242 strlen(kHandshakeResponseMessage))); 266 EXPECT_EQ(strlen(kHandshakeResponseMessage), 268 strlen(kHandshakeResponseMessage))) [all...] |
/external/linux-tools-perf/util/ |
path.c | 28 size_t ret = strlen(src); 63 len = strlen(perf_dir); 109 len = strlen(perf_dir); 138 int path_len = strlen(path), suffix_len = strlen(suffix);
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/linux/ |
ml_sysfs_helper.c | 65 strlen(ent->d_name) > strlen(type) && 66 strncmp(ent->d_name, type, strlen(type)) == 0) { 67 numstrlen = sscanf(ent->d_name + strlen(type), 71 if (strncmp(ent->d_name + strlen(type) + numstrlen, 74 filename = malloc(strlen(iio_dir) 75 + strlen(type) 138 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){ 145 if(!memcmp(&line[i], name, strlen(name))){ 218 for (i=0; i<strlen(chip_name[j]); i++) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
FastStringBuffer.java | 482 int strlen = value.length(); local 484 if (0 == strlen) 492 while (strlen > 0) 496 if (available > strlen) 497 available = strlen; 502 strlen -= available; 506 if (strlen > 0) 564 int strlen = value.length(); local 566 if (0 == strlen) 574 while (strlen > 0 647 int strlen = length; local 734 int strlen = value.length(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
SharedBufferTest.cpp | 50 RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(testData0, strlen(testData0)); 51 sharedBuffer->append(testData1, strlen(testData1)); 52 sharedBuffer->append(testData2, strlen(testData2)); 57 ASSERT_EQ(strlen(expectedConcatenation), arrayBuffer->byteLength()); 58 EXPECT_EQ(0, memcmp(expectedConcatenation, arrayBuffer->data(), strlen(expectedConcatenation))); 65 RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(testData, strlen(testData)); 157 unsigned length = strlen(testData);
|
/external/qemu/memcheck/ |
memcheck_util.c | 41 if (sym_path_root == NULL || strlen(sym_path_root) >= max_char) { 46 max_char -= strlen(sym_path_root); 47 if (sym_path[strlen(sym_path)-1] != PATH_SEP_C) { 51 if (strlen("symbols") >= max_char) { 55 max_char -= strlen("symbols"); 56 if (strlen(module_path) >= max_char) { 77 memmove(parent+1, name + 1, strlen(name + 1) + 1);
|
/external/oprofile/libpopt/ |
popthelp.c | 162 strcpy(le, defstr); le += strlen(le); 187 strcpy(le, "null"); le += strlen(le); 191 strncpy(le, s, slen); le[slen] = '\0'; le += strlen(le); 192 if (slen < strlen(s)) { 193 strcpy(le, "..."); le += strlen(le); 235 if (opt->longName) nb += strlen(opt->longName); 236 if (argDescrip) nb += strlen(argDescrip); 257 char * le = left + strlen(left); 267 char * t = malloc((help ? strlen(help) : 0) + 268 strlen(defs) + sizeof(" ")) [all...] |
/external/netperf/ |
netserver.c | 179 snprintf(&FileName[strlen(FileName)], sizeof(FileName) - strlen(FileName), "_%d", getpid()); 677 snprintf(&cmdline[strlen(cmdline)], sizeof(cmdline) - strlen(cmdline), " -v %d", verbosity); 680 snprintf(&cmdline[strlen(cmdline)], sizeof(cmdline) - strlen(cmdline), " -d"); 682 snprintf(&cmdline[strlen(cmdline)], sizeof(cmdline) - strlen(cmdline), " -I %x", (int)(UINT_PTR)server_sock); 683 snprintf(&cmdline[strlen(cmdline)], sizeof(cmdline) - strlen(cmdline), " -i %x", (int)(UINT_PTR)server_control) [all...] |
/external/dropbear/ |
progressmeter.c | 168 snprintf(buf + strlen(buf), win_size - strlen(buf), 172 format_size(buf + strlen(buf), win_size - strlen(buf), 177 format_rate(buf + strlen(buf), win_size - strlen(buf), 203 snprintf(buf + strlen(buf), win_size - strlen(buf), 206 snprintf(buf + strlen(buf), win_size - strlen(buf) [all...] |
/external/ipsec-tools/src/libipsec/ |
ipsec_dump_policy.c | 187 buflen = strlen(ipsp_dir_strs[xpl->sadb_x_policy_dir]) 190 + strlen(priority_str) 192 + ((strlen(priority_str) != 0) ? 1 : 0) /* space */ 194 + strlen(ipsp_policy_strs[xpl->sadb_x_policy_type]) 208 else if (strlen (priority_str) != 0) 255 offset = strlen(buf); 256 buflen = offset + strlen(delimiter) + strlen(isrbuf) + 1; 386 if (strlen(tmp1) + 1 + strlen(tmp2) + 1 > len [all...] |
/external/openssh/ |
progressmeter.c | 178 snprintf(buf + strlen(buf), win_size - strlen(buf), 182 format_size(buf + strlen(buf), win_size - strlen(buf), 187 format_rate(buf + strlen(buf), win_size - strlen(buf), 213 snprintf(buf + strlen(buf), win_size - strlen(buf), 216 snprintf(buf + strlen(buf), win_size - strlen(buf) [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
nethelpers.cc | 79 total_len += strlen(ent->h_name) + 1; 81 total_len += sizeof(char*) + strlen(ent->h_aliases[num_aliases]) + 1; 99 memcpy(p, ent->h_name, strlen(ent->h_name) + 1); 100 p += strlen(ent->h_name) + 1; 106 memcpy(p, ent->h_aliases[i], strlen(ent->h_aliases[i]) + 1); 107 p += strlen(ent->h_aliases[i]) + 1;
|
/external/chromium_org/chrome/browser/chromeos/ |
external_metrics_unittest.cc | 26 int32 l = strlen(name) + strlen(value) + 2 + sizeof(l); 29 num_bytes += write(fd, name, strlen(name) + 1); 30 num_bytes += write(fd, value, strlen(value) + 1); 31 EXPECT_EQ(num_bytes, sizeof(l) + strlen(name) + strlen(value) + 2);
|
/external/e2fsprogs/lib/ss/ |
help.c | 62 buffer = malloc(80+2*strlen(request_name)); 84 buffer = malloc(strlen (info->info_dirs[idx]) + 1 + 85 strlen (argv[1]) + 6); 102 char *buf = malloc(strlen (MSG) + strlen (argv[1]) + 1); 162 dirs[n_dirs] = malloc((unsigned)strlen(info_dir)+1);
|
/external/elfutils/tests/ |
asm-tst2.c | 232 + strlen ("one") + 1 233 + strlen ("two") + 1 234 + strlen ("three") + 1))) 240 if ((cnt == 1 && shdr->sh_size != (strlen ("one") + 1 241 + strlen ("two") + 1 242 + strlen ("three") + 1))
|
/external/libusb-compat/examples/ |
testlibusb.c | 85 snprintf(description + strlen(description), sizeof(description) - 86 strlen(description), "%s", string); 88 snprintf(description + strlen(description), sizeof(description) - 89 strlen(description), "%04X", dev->descriptor.idProduct); 91 snprintf(description + strlen(description), sizeof(description) - 92 strlen(description), "%04X", dev->descriptor.idProduct);
|
/frameworks/av/media/libmedia/ |
MediaScanner.cpp | 59 if (!mSkipList || (strlen(mSkipList) == 0)) { 72 mSkipIndex[i++] = strlen(path); 83 int pathLength = strlen(path); 111 int len = strlen(path); 117 // no point to match path name if strlen mismatch 134 char* fileSpot = path + strlen(path); 143 if (pathRemaining >= 8 /* strlen(".nomedia") */ ) { 183 int nameLength = strlen(name);
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
driver_cmd_nl80211.c | 62 os_memcpy(buf, cmd, strlen(cmd) + 1); 82 ret = strlen(buf); 87 wpa_printf(MSG_DEBUG, "%s %s len = %d, %d", __func__, buf, ret, strlen(buf)); 100 return wpa_driver_nl80211_driver_cmd(priv, buf, buf, strlen(buf)+1); 116 return wpa_driver_nl80211_driver_cmd(priv, buf, buf, strlen(buf) + 1); 150 strlen(_cmd) + 3 + wpabuf_len(ap_wps_p2p_ie));
|
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/ |
driver_cmd_nl80211.c | 64 os_memcpy(buf, cmd, strlen(cmd) + 1); 80 ret = strlen(buf); 94 wpa_printf(MSG_DEBUG, "%s %s len = %d, %d", __func__, buf, ret, strlen(buf)); 107 return wpa_driver_nl80211_driver_cmd(priv, buf, buf, strlen(buf)+1); 123 return wpa_driver_nl80211_driver_cmd(priv, buf, buf, strlen(buf) + 1); 157 strlen(_cmd) + 3 + wpabuf_len(ap_wps_p2p_ie));
|
/bionic/libc/netbsd/nameser/ |
ns_samedomain.c | 59 la = strlen(a); 60 lb = strlen(b); 172 size_t n = strlen(src);
|