HomeSort by relevance Sort by last modified time
    Searched full:len (Results 576 - 600 of 5669) sorted by null

<<21222324252627282930>>

  /external/icu4c/tools/genrb/
ustr.c 25 static void ustr_resize(struct UString *s, int32_t len, UErrorCode *status);
101 int32_t len,
107 if(s->fCapacity < (len + 1)) {
108 ustr_resize(s, ALLOCATION(len), status);
113 s->fLength = len;
114 s->fChars[len] = 0x0000;
180 const UChar* src,int len,
186 if(dst->fCapacity < (dst->fLength + len)) {
187 ustr_resize(dst, ALLOCATION(dst->fLength + len), status);
193 sizeof(UChar) * len);
    [all...]
  /external/opencore/fileformats/mp4/parser/src/
avcsampleentry.cpp 244 uint32 len = (numSPS * 2) + (numPPS * 2) + totalSPSLen + totalPPSLen; local
246 if ((int32)len > 0)
250 uint8* info = (uint8*)(oscl_malloc(sizeof(uint8) * len));
258 uint16 len = 0; local
260 if (getSequenceParamSet(i, len, ptr) == false)
265 oscl_memcpy(destPtr, &len, sizeof(uint16));
267 oscl_memcpy(destPtr, ptr, len);
268 destPtr += len;
275 uint16 len = 0; local
277 if (getPictureParamSet(i, len, ptr) == false
    [all...]
  /external/opencore/protocols/systems/tools/general/common/src/
media_fragment.cpp 22 OSCL_EXPORT_REF MediaFragment::MediaFragment(const MediaFragment& that, OsclAny* ptr, int32 len):
27 if (ptr && (len > 0))
29 if ((ptr >= _fragment.ptr && ptr < ((uint8*)_fragment.ptr + _fragment.len)) &&
30 (((uint8*)ptr + len) <= ((uint8*)_fragment.ptr + _fragment.len)))
33 _fragment.len = len;
45 frag.len = sz;
51 OsclAny* ptr, uint32 len)
53 return OSCL_NEW(MediaFragment, (*fragment, ptr, len));
    [all...]
  /external/qemu/android/utils/
stralloc.c 29 int len = strlen(strings[n]); local
30 if (len > maxw)
31 maxw = len;
63 stralloc_ready( stralloc_t* s, unsigned int len )
68 while (new_max < len) {
85 stralloc_readyplus( stralloc_t* s, unsigned int len )
87 unsigned len2 = s->n + len;
91 __FUNCTION__, len);
126 stralloc_add_bytes( stralloc_t* s, const void* from, unsigned len )
128 stralloc_readyplus( s, len );
    [all...]
  /external/wpa_supplicant/
os_unix.c 111 int os_get_random(unsigned char *buf, size_t len)
122 rc = fread(buf, 1, len, f);
125 return rc != len ? -1 : 0;
138 size_t len = 128, cwd_len, rel_len, ret_len; local
145 buf = malloc(len);
148 cwd = getcwd(buf, len);
154 len *= 2;
155 if (len > 2000)
158 buf[len - 1] = '\0';
228 char * os_readfile(const char *name, size_t *len)
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/utils/
os_unix.c 150 int os_get_random(unsigned char *buf, size_t len)
161 rc = fread(buf, 1, len, f);
164 return rc != len ? -1 : 0;
177 size_t len = 128, cwd_len, rel_len, ret_len; local
184 buf = malloc(len);
187 cwd = getcwd(buf, len);
193 len *= 2;
194 if (len > 2000)
197 buf[len - 1] = '\0';
268 char * os_readfile(const char *name, size_t *len)
    [all...]
  /frameworks/base/core/jni/
android_os_SystemProperties.cpp 29 int len; local
42 len = property_get(key, buf, "");
43 if ((len <= 0) && (defJ != NULL)) {
45 } else if (len >= 0) {
66 int len; local
79 len = property_get(key, buf, "");
80 if (len > 0) {
95 int len; local
108 len = property_get(key, buf, "");
109 if (len > 0)
124 int len; local
    [all...]
android_bluetooth_common.cpp 385 int i, len; local
392 &list, &len,
398 strArray = env->NewObjectArray(len, stringClass, NULL);
400 for (i = 0; i < len; i++)
414 int i, len; local
421 &list, &len,
426 //LOGV("%s: there are %d elements in string array!", __FUNCTION__, len);
429 strArray = env->NewObjectArray(len, stringClass, NULL);
431 for (i = 0; i < len; i++)
444 int i, len; local
593 int len = 0, prop_type = DBUS_TYPE_INVALID, prop_index = -1, type; local
596 int len; member in struct:android::__anon7091
662 int len = 0, prop_index = -1; local
    [all...]
  /system/core/adb/
transport.c 38 static void dump_hex( const unsigned char* ptr, size_t len )
40 int nn, len2 = len;
95 int len = sizeof(*ppacket); local
96 while(len > 0) {
97 r = adb_read(fd, p, len);
99 len -= r;
112 int len = (*ppacket)->msg.data_length; local
126 fd, command, cmd, (*ppacket)->msg.arg0, (*ppacket)->msg.arg1, len);
127 dump_hex((*ppacket)->data, len);
137 int r, len = sizeof(ppacket) local
143 int len = (*ppacket)->msg.data_length; local
346 int len; local
435 int len; local
470 int len; local
501 int len = sizeof(*m); local
523 int len = sizeof(*m); local
813 int len; local
    [all...]
  /bootable/recovery/applypatch/
imgdiff.c 70 * source len (8)
74 * source len (8)
76 * source expanded len (8) [size of uncompressed source]
77 * target expected len (8) [size of uncompressed target]
83 * gzip header len (4)
84 * gzip header (gzip header len)
88 * source len (8)
90 * source expanded len (8) [size of uncompressed source]
91 * target expected len (8) [size of uncompressed target]
98 * target len (4
132 size_t len; member in struct:__anon573
    [all...]
  /external/elfutils/libebl/
libebl.h 127 char *buf, size_t len);
131 char *buf, size_t len);
145 char *buf, size_t len);
149 char *buf, size_t len);
153 char *buf, size_t len,
158 char *buf, size_t len);
165 char *buf, size_t len);
169 char *buf, size_t len);
173 char *buf, size_t len);
183 extern const char *ebl_osabi_name (Ebl *ebl, int osabi, char *buf, size_t len);
    [all...]
  /external/webkit/WebCore/platform/text/
Base64.cpp 68 void base64Encode(const char* data, unsigned len, Vector<char>& out, bool insertLFs)
71 if (!len)
78 if (len > maxInputBufferSize)
84 unsigned out_len = ((len + 2) / 3) * 4;
95 if (len > 1) {
96 while (sidx < len - 2) {
110 if (sidx < len) {
115 if (sidx < len - 1) {
140 bool base64Decode(const char* data, unsigned len, Vector<char>& out)
143 if (len == 0
    [all...]
  /external/bluetooth/bluez/common/
btio.c 150 socklen_t len = sizeof(err); local
152 if (getsockopt(sock, SOL_SOCKET, SO_ERROR, &err, &len) < 0)
287 socklen_t len; local
289 len = sizeof(flags);
290 if (getsockopt(sock, SOL_L2CAP, L2CAP_LM, &flags, &len) < 0)
312 socklen_t len; local
314 len = sizeof(flags);
315 if (getsockopt(sock, SOL_RFCOMM, RFCOMM_LM, &flags, &len) < 0)
404 socklen_t len; local
406 len = sizeof(opt)
425 socklen_t len; local
447 socklen_t len; local
480 socklen_t len; local
585 socklen_t len; local
704 socklen_t len; local
728 socklen_t len; local
819 socklen_t len; local
840 socklen_t len; local
920 socklen_t len; local
940 socklen_t len; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
crypto_internal.c 133 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len)
141 MD5Update(&ctx->u.md5, data, len);
145 SHA1Update(&ctx->u.sha1, data, len);
151 int crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len)
159 if (mac == NULL || len == NULL) {
166 if (*len < 16) {
167 *len = 16;
171 *len = 16;
175 if (*len < 20) {
176 *len = 20
716 size_t len; local
    [all...]
  /external/ipsec-tools/src/racoon/
privsep.c 80 privsep_send(sock, buf, len)
83 size_t len;
88 if (sendto(sock, (char *)buf, len, 0, NULL, 0) == -1) {
109 size_t len; local
115 while ((len = recvfrom(sock, (char *)&com,
127 if (len < sizeof(com)) {
141 while ((len = recvfrom(sock, (char *)combuf,
151 /* We expect len to match */
152 if (len != com.ac_len) {
159 *lenp = len;
286 size_t len; local
708 size_t len; local
788 size_t len; local
896 size_t len; local
951 size_t len; local
998 size_t len; local
1127 size_t len; local
1171 size_t len; local
1232 size_t len; local
1299 size_t len; local
    [all...]
  /bionic/libc/tools/
genserv.py 28 result = "\\%0o%s" % (len(self.name),self.name)
35 result += "\\%0o" % len(self.aliases)
37 result += "\\%0o%s" % (len(alias), alias)
44 if len(line) > 0 and line[-1] == "\n":
46 if len(line) > 0 and line[-1] == "\r":
50 if len(line) == 0 or line[0] == "#":
  /dalvik/libcore/nio/src/main/java/java/nio/
CharArrayBuffer.java 69 public final CharBuffer get(char[] dest, int off, int len) {
71 if ((off < 0) || (len < 0) || (long) off + (long) len > length) {
74 if (len > remaining()) {
77 System.arraycopy(backingArray, offset + position, dest, off, len);
78 position += len;
DoubleArrayBuffer.java 69 public final DoubleBuffer get(double[] dest, int off, int len) {
71 if (off < 0 || len < 0 || (long) off + (long) len > length) {
74 if (len > remaining()) {
77 System.arraycopy(backingArray, offset + position, dest, off, len);
78 position += len;
FloatArrayBuffer.java 69 public final FloatBuffer get(float[] dest, int off, int len) {
71 if (off < 0 || len < 0 || (long) off + (long) len > length) {
74 if (len > remaining()) {
77 System.arraycopy(backingArray, offset + position, dest, off, len);
78 position += len;
IntArrayBuffer.java 69 public final IntBuffer get(int[] dest, int off, int len) {
71 if (off < 0 || len < 0 || (long) len + (long) off > length) {
74 if (len > remaining()) {
77 System.arraycopy(backingArray, offset + position, dest, off, len);
78 position += len;
LongArrayBuffer.java 69 public final LongBuffer get(long[] dest, int off, int len) {
71 if (off < 0 || len < 0 || (long) len + (long) off > length) {
74 if (len > remaining()) {
77 System.arraycopy(backingArray, offset + position, dest, off, len);
78 position += len;
ReadWriteCharArrayBuffer.java 113 public CharBuffer put(char[] src, int off, int len) {
115 if (off < 0 || len < 0 || (long) len + (long) off > length) {
118 if (len > remaining()) {
121 System.arraycopy(src, off, backingArray, offset + position, len);
122 position += len;
ReadWriteDoubleArrayBuffer.java 116 public DoubleBuffer put(double[] src, int off, int len) {
118 if (off < 0 || len < 0 || (long) off + (long) len > length) {
121 if (len > remaining()) {
124 System.arraycopy(src, off, backingArray, offset + position, len);
125 position += len;
ReadWriteFloatArrayBuffer.java 116 public FloatBuffer put(float[] src, int off, int len) {
118 if (off < 0 || len < 0 || (long) off + (long) len > length) {
121 if (len > remaining()) {
124 System.arraycopy(src, off, backingArray, offset + position, len);
125 position += len;
ReadWriteIntArrayBuffer.java 113 public IntBuffer put(int[] src, int off, int len) {
115 if (off < 0 || len < 0 || (long) off + (long) len > length) {
118 if (len > remaining()) {
121 System.arraycopy(src, off, backingArray, offset + position, len);
122 position += len;

Completed in 113 milliseconds

<<21222324252627282930>>