/external/chromium_org/third_party/webrtc/base/ |
stringutils.h | 41 #define STACK_ARRAY(TYPE, LEN) static_cast<TYPE*>(::alloca((LEN)*sizeof(TYPE))) 211 int len = vsnprintf(buffer, buflen, format, args); local 212 if ((len < 0) || (static_cast<size_t>(len) >= buflen)) { 213 len = static_cast<int>(buflen - 1); 214 buffer[len] = 0; 216 return len; 225 size_t len = vsprintfn(buffer, buflen, format, args); local 227 return len; [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
decode.c | 42 int len, err; local 72 len = 0; 118 len = WebRtcIsac_DecodeSpec(&ISACdecLB_obj->bitstr_obj, AvgPitchGain_Q12, 120 if (len < 0) { 121 return len; 173 return len; 186 int len, err; local 197 len = 0; 208 len = WebRtcIsac_DecodeSpec(&ISACdecUB_obj->bitstr_obj, kAveragePitchGain, 210 if (len < 0) 250 int len, err; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
payload_splitter.cc | 369 int len = packet->payload_length; local 370 while (len >= (2 * split_size_bytes)) { 381 len -= split_size_bytes; 384 if (len > 0) { 386 new_packet->payload_length = len; 390 new_packet->payload = new uint8_t[len]; 391 memcpy(new_packet->payload, payload_ptr, len); 412 int len = packet->payload_length; local 413 while (len > 0) { 414 assert(len >= bytes_per_frame) [all...] |
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
window_capturer_win.cc | 48 int len = GetWindowTextLength(hwnd); local 51 if (len == 0 || IsIconic(hwnd) || !IsWindowVisible(hwnd) ||
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
rtcp_packet_unittest.cc | 543 size_t len = 0; local 545 rr.Build(packet, &len, kRrLength + kReportBlockLength + kFirLength); 548 parser.Parse(packet, len); 564 size_t len = 0; local 566 rr.Build(packet, &len, kRrLength + kReportBlockLength - 1); 568 parser.Parse(packet, len); 569 EXPECT_EQ(0U, len); 583 size_t len = 0; local 585 rr.Build(packet, &len, kRrLength + kReportBlockLength - 1); 587 parser.Parse(packet, len); [all...] |
/external/chromium_org/third_party/webrtc/modules/video_capture/linux/ |
video_capture_linux.cc | 67 int len = strlen((const char*) deviceUniqueIdUTF8); local 68 _deviceUniqueId = new (std::nothrow) char[len + 1]; 71 memcpy(_deviceUniqueId, deviceUniqueIdUTF8, len + 1);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
bytecode.h | 97 * This function should simply add to bc->len and not set it directly 116 * This function should simply add to bc->len to increase the length by 174 /** Adjusts offset instead of calculating len. */ 205 unsigned long len; member in struct:yasm_bytecode 553 * \param len length of string 556 yasm_dataval *yasm_dv_create_string(/*@keep@*/ char *contents, size_t len); 560 * \param len length 565 unsigned long len);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/nasm/ |
nasm-parser-struct.h | 39 size_t len; member in struct:__anon20267::__anon20268
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
main.c | 78 size_t len; local 81 len = strlen(str) + 1; 82 copy = malloc(len); 83 memcpy(copy, str, len); 170 int len; local 179 len = strlen(outputFileName); 180 tmp = (char*)malloc((len+1)*2);
|
/external/chromium_org/third_party/zlib/ |
gzread.c | 21 local int gz_load(state, buf, len, have) 24 unsigned len; 31 ret = read(state->fd, buf + *have, len - *have); 35 } while (*have < len); 109 unsigned len; local 177 len = (unsigned)NEXT(); 178 len += (unsigned)NEXT() << 8; 179 while (len--) 238 unsigned long crc, len; local 277 if (gz_next4(state, &crc) == -1 || gz_next4(state, &len) == -1) [all...] |
infback.c | 258 unsigned len; /* length to copy for repeats, bits to drop */ local 303 state->mode = LEN; /* decode codes */ 410 len = (unsigned)(state->lens[state->have - 1]); 417 len = 0; 424 len = 0; 434 state->lens[state->have++] = (unsigned short)len; 471 state->mode = LEN; 473 case LEN: 511 state->mode = LEN;
|
/external/chromium_org/url/third_party/mozilla/ |
url_parse.h | 24 Component() : begin(0), len(-1) {} 27 Component(int b, int l) : begin(b), len(l) {} 30 return begin + len; 36 return (len != -1); 42 return (len > 0); 47 len = -1; 51 return begin == other.begin && len == other.len; 55 int len; // Will be -1 if the component is unspecified. member in struct:url::Component
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_deadlock_detector1.cc | 122 uptr len = dd.findPathToLock(<->dd, m->id, path, ARRAY_SIZE(path)); local 123 CHECK_GT(len, 0U); // Hm.. cycle of 10 locks? I'd like to see that. 127 rep->n = len; 128 for (uptr i = 0; i < len; i++) { 130 uptr to = path[(i + 1) % len];
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLX509CertPath.java | 196 final int len = pbis.read(buffer); local 197 if (len < 0) { 201 pbis.unread(buffer, 0, len); 203 if (len == PKCS7_MARKER.length && Arrays.equals(PKCS7_MARKER, buffer)) {
|
OpenSSLX509CertificateFactory.java | 79 final int len = pbis.read(buffer); local 80 if (len < 0) { 84 pbis.unread(buffer, 0, len); 87 if (len == PKCS7_MARKER.length && Arrays.equals(PKCS7_MARKER, buffer)) { 142 final int len = pbis.read(buffer); local 143 if (len < 0) { 147 pbis.unread(buffer, 0, len); 149 if (len == PKCS7_MARKER.length && Arrays.equals(PKCS7_MARKER, buffer)) {
|
/external/deqp/modules/gles2/functional/ |
es2fBufferObjectQueryTests.cpp | 200 const GLint len = rnd.getInt(0, 1024); local 201 glBufferData(m_bufferTarget, len, DE_NULL, GL_STREAM_DRAW); 204 m_verifier->verifyInteger(m_testCtx, m_bufferTarget, GL_BUFFER_SIZE, len);
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
FixedSizeList.java | 250 int len = arr.length; local 251 StringBuffer sb = new StringBuffer(len * 10 + 10); 257 for (int i = 0; i < len; i++) {
|
TwoColumnOutput.java | 235 int len = buf.length(); local 237 if ((len != 0) && (buf.charAt(len - 1) != '\n')) {
|
/external/dhcpcd/ |
common.c | 206 size_t len = strlen(var) + strlen(value) + 3; local 209 len += strlen(prefix) + 1; 210 **e = xmalloc(len); 212 snprintf(**e, len, "%s_%s=%s", prefix, var, value); 214 snprintf(**e, len, "%s=%s", var, value); 216 return len; 243 ssize_t len; local 248 len = pwrite(fd, spid, strlen(spid), (off_t)0); 249 if (len != (ssize_t)strlen(spid))
|
/external/dnsmasq/src/ |
netlink.c | 129 ssize_t len; local 152 while((len = sendto(daemon->netlinkfd, (void *)&req, sizeof(req), 0, 155 if (len == -1) 160 if ((len = netlink_recv()) == -1) 170 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) 238 ssize_t len; local 247 if ((len = netlink_recv()) != -1) 249 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) [all...] |
/external/e2fsprogs/debugfs/ |
htree.c | 322 int len; member in struct:process_block_struct 352 pb.len = strlen(pb.search_name); 395 p->len == (dirent->name_len & 0xFF) && 397 p->len) == 0) {
|
/external/e2fsprogs/e2fsck/ |
message.c | 170 static void safe_print(FILE *f, const char *cp, int len) 174 if (len < 0) 175 len = strlen(cp); 177 while (len--) { 363 unsigned int rec_len, len; local 375 len = dirent->name_len & 0xFF; 377 (len > rec_len)) 378 len = rec_len; 379 safe_print(f, dirent->name, len);
|
/external/e2fsprogs/intl/ |
l10nflist.c | 89 argz_count__ (const char *argz, size_t len) 92 while (len > 0) 96 len -= part_len + 1; 102 # define __argz_count(argz, len) argz_count__ (argz, len) 105 # define __argz_count(argz, len) INTUSE(__argz_count) (argz, len) 113 argz_stringify__ (char *argz, size_t len, int sep) 115 while (len > 0) 119 len -= part_len + 1 371 int len = 0; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
ismounted.c | 250 int len, n; local 258 len = sizeof(_PATH_DEV) - 1; 260 if (strncmp(_PATH_DEV, s1, len) == 0) 261 s1 += len; 266 if (strncmp(_PATH_DEV, s2, len) == 0) { 267 s2 += len - 1;
|
/external/e2fsprogs/misc/ |
util.c | 175 int len; local 178 len = strlen(opts); 179 buf = malloc(len+1);
|