HomeSort by relevance Sort by last modified time
    Searched defs:len (Results 201 - 225 of 8575) sorted by null

1 2 3 4 5 6 7 891011>>

  /system/core/liblog/
uio.c 30 int len = vecs->iov_len; local
32 while (len > 0) {
33 int ret = read(fd, buf, len);
42 len -= ret;
54 int len = vecs->iov_len; local
56 while (len > 0) {
57 int ret = write(fd, buf, len);
66 len -= ret;
  /system/core/libsparse/
sparse_file.h 28 int64_t len; member in struct:sparse_file
  /test/vts-testcase/security/poc/target/kernel_bluetooth/30149612/
poc.cpp 13 socklen_t len, i; local
31 len = sizeof(sa);
32 if (getsockname(fd, &sa, &len)) {
37 printf("[+] getsockname return len = %d\n", len);
40 for (i = 0; i < len; i++) {
45 for (i = 1; i < len; i++) {
  /toolchain/binutils/binutils-2.27/libiberty/
choose-temp.c 64 int len; local
66 len = strlen (base);
67 temp_filename = XNEWVEC (char, len + TEMP_FILE_LEN + 1);
69 strcpy (temp_filename + len, TEMP_FILE);
  /art/libdexfile/dex/
compact_dex_file_test.cc 28 static const size_t len = CompactDexFile::kDexVersionLen + CompactDexFile::kDexMagicSize; local
29 uint8_t header[len] = {};
30 std::fill_n(header, len, 0x99);
  /bionic/libc/include/netinet/
udp.h 48 u_int16_t len; member in struct:udphdr::__anon298::__anon300
  /bionic/libc/upstream-netbsd/lib/libc/gen/
utmp.c 94 size_t len = strlen(fname); local
96 if (len >= sizeof(utfile))
100 if (fname[len - 1] == 'x')
  /bionic/libc/upstream-netbsd/lib/libc/inet/
nsap_addr.c 60 u_int len = 0; local
69 while ((c = *ascii++) != '\0' && len < (u_int)maxlen) {
83 len++;
93 return (len);
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
fgetln.c 68 size_t len; local
87 *lenp = len = p - fp->_p;
89 fp->_r -= len;
105 for (len = fp->_r, off = 0;; len += fp->_r) {
113 if (__slbexpand(fp, len + OPTIMISTIC))
116 len - off);
117 off = len;
126 len += diff;
127 if (__slbexpand(fp, len))
    [all...]
getdelim.c 50 size_t len, newlen, off; local
78 len = fp->_r;
80 len = (p - fp->_p) + 1;
83 if (off > SSIZE_MAX || len + 1 > SSIZE_MAX - off) {
87 newlen = off + len + 1; /* reserve space for NUL terminator */
113 (void)memcpy((*buf + off), fp->_p, len);
114 /* Safe, len is never greater than what fp->_r can fit. */
115 fp->_r -= (int)len;
116 fp->_p += (int)len;
117 off += len;
    [all...]
vswscanf.c 46 eofread(void *cookie, char *buf, int len)
59 size_t len, mlen; local
67 len = wcslen(str) * MB_CUR_MAX;
68 if ((mbstr = malloc(len + 1)) == NULL)
72 if ((mlen = wcsrtombs(mbstr, &strp, len, &mbs)) == (size_t)-1) {
76 if (mlen == len)
77 mbstr[len] = '\0';
  /cts/suite/audio_quality/lib/src/audio/
AudioProtocol.cpp 158 int len = ntohl(data[2]); local
159 if (len > (int)param->mBuffer->getCapacity()) {
160 LOGE("received data %d exceeding buffer capacity %d", len, param->mBuffer->getCapacity());
162 //Buffer tempBuffer(len);
163 //readData(tempBuffer.getData(), len);
166 if (!readData(param->mBuffer->getData(), len)) {
169 LOGI("received data %d from device", len);
170 param->mBuffer->setHandled(len);
171 param->mBuffer->setSize(len);
184 int len = ntohl(data[2]) local
    [all...]
  /device/generic/goldfish-opengl/shared/OpenglCodecCommon/
FixedBuffer.h 49 size_t len() { return m_bufferLen; } function in class:FixedBuffer
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
mysnprintf.c 56 int len; /* # bytes written, excluding \0 */ local
70 len = -666;
75 len = vsnprintf(str, size, format, va);
80 len = -666;
84 len = vsprintf(buffer, format, va);
85 if (len < 0)
88 else if ((size_t)len >= size + _PyOS_vsnprintf_EXTRA_SPACE)
92 const size_t to_copy = (size_t)len < size ?
93 (size_t)len : size - 1;
103 return len;
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
mysnprintf.c 56 int len; /* # bytes written, excluding \0 */ local
70 len = -666;
75 len = vsnprintf(str, size, format, va);
80 len = -666;
84 len = vsprintf(buffer, format, va);
85 if (len < 0)
88 else if ((size_t)len >= size + _PyOS_vsnprintf_EXTRA_SPACE)
92 const size_t to_copy = (size_t)len < size ?
93 (size_t)len : size - 1;
103 return len;
    [all...]
  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
nsap_addr.c 43 u_int len = 0; local
45 while ((c = *ascii++) != '\0' && len < (u_int)maxlen) {
59 len++;
69 return (len);
  /device/linaro/bootloader/edk2/StdLib/LibC/Locale/
_wcstod.h 60 size_t bufsiz, len; local
82 len = wcstombs(NULL, src, 0);
83 if (len == (size_t)-1)
87 _DIAGASSERT(len > 0);
89 bufsiz = len;
95 len = wcstombs(buf, src, bufsiz + 1);
97 _DIAGASSERT(len == bufsiz);
98 _DIAGASSERT(buf[len] == '\0');
aliasname.c 57 size_t len; local
70 p = fgetln(fp, &len);
74 _DIAGASSERT(len != 0);
77 if (p[len - 1] == '\n')
78 len--;
81 if (len == 0 || p[0] == '#')
84 if (aliaslen > len)
91 len -= aliaslen;
93 if (len == 0 || !__is_ws(*p))
105 len--;
    [all...]
ctypeio.c 63 u_int32_t i, len; local
84 if (fread(&len, sizeof(u_int32_t), 1, fp) != 1)
87 if ((len = ntohl(len)) != _CTYPE_NUM_CHARS)
90 if ((new_ctype = malloc(sizeof(UINT16) * (1 + len))) == NULL)
94 if (fread(&new_ctype[1], sizeof(UINT16), len, fp) != len)
97 if ((new_toupper = malloc(sizeof(UINT8) * (1 + len))) == NULL)
101 if (fread(&new_toupper[1], sizeof(UINT8), len, fp) != len)
146 u_int32_t i, len = _CTYPE_NUM_CHARS; local
    [all...]
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
fgetstr.c 101 size_t len; local
128 *lenp = len = p - fp->_p;
130 fp->_r -= (int)len;
145 for (len = fp->_r, off = 0;; len += fp->_r) {
153 if (__slbexpand(fp, len + OPTIMISTIC))
156 len - off);
157 off = len;
166 len += diff;
167 if (__slbexpand(fp, len))
    [all...]
  /device/linaro/bootloader/edk2/StdLib/LibC/String/
Copying.c 140 size_t len; local
143 len = strlen(str) + 1;
144 if ((copy = malloc(len)) == NULL)
146 memcpy(copy, str, len);
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRDFA.h 44 NSInteger len; variable
49 @property (assign, getter=getLen,setter=setLen:) NSInteger len; variable
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRDFA.h 44 NSInteger len; variable
49 @property (assign, getter=getLen,setter=setLen:) NSInteger len; variable
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRDFA.h 44 NSInteger len; variable
49 @property (assign, getter=getLen,setter=setLen:) NSInteger len; variable
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRDFA.h 44 NSInteger len; variable
81 @property (assign, getter=getLen,setter=setLen:) NSInteger len; variable

Completed in 437 milliseconds

1 2 3 4 5 6 7 891011>>