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

<<21222324252627282930>>

  /external/srec/portable/src/UNIX/
PANSIFileSystemUNIXImpl.c 31 ESR_ReturnCode PANSIFileSystemGetVirtualPathImpl(PFileSystem* self, LCHAR* path, size_t* len)
79 CHKLOG(rc, lstrinsert(bestKey, path, 0, len));
84 CHKLOG(rc, lstrinsert(L("X:/"), path, LSTRLEN(bestKey), len));
94 size_t len; local
99 len = P_PATH_MAX;
100 CHKLOG(rc, PANSIFileSystemGetRealPathImpl(self, realPath, &len));
120 ESR_ReturnCode PANSIFileSystemGetcwdImpl(PFileSystem* self, LCHAR* path, size_t* len)
130 if (getcwd(path, *len) == NULL)
135 *len = P_PATH_MAX;
144 CHKLOG(rc, PANSIFileSystemGetVirtualPathImpl(self, path, len));
153 size_t len; local
    [all...]
  /external/webkit/WebKit/mac/Plugins/
npapi.mm 92 NPError NPN_PostURLNotify(NPP instance, const char* URL, const char* target, uint32 len, const char* buf, NPBool file, void* notifyData)
94 return [pluginViewForInstance(instance) postURLNotify:URL target:target len:len buf:buf file:file notifyData:notifyData];
97 NPError NPN_PostURL(NPP instance, const char* URL, const char* target, uint32 len, const char* buf, NPBool file)
99 return [pluginViewForInstance(instance) postURL:URL target:target len:len buf:buf file:file];
107 int32 NPN_Write(NPP instance, NPStream* stream, int32 len, void* buffer)
109 return [pluginViewForInstance(instance) write:stream len:len buffer:buffer];
194 NPError NPN_GetValueForURL(NPP instance, NPNURLVariable variable, const char* url, char** value, uint32* len)
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/drivers/
driver_privsep.c 146 wpa_printf(MSG_DEBUG, "privsep: Invalid scan result len %lu",
175 int len; local
176 os_memcpy(&len, pos, sizeof(int));
178 if (len < 0 || len > 10000 || pos + len > end)
181 r = os_malloc(len);
184 os_memcpy(r, pos, len);
185 pos += len;
186 if (sizeof(*r) + r->ie_len > (size_t) len) {
278 size_t len = ETH_ALEN; local
292 size_t len = sizeof(reply); local
599 size_t len; local
733 size_t len = sizeof(*capa); local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/tls/
tlsv1_common.c 129 return 1 /* FIX: public key len > 512 bits */;
139 * @len: Length of the buffer
147 int tls_parse_cert(const u8 *buf, size_t len, struct crypto_public_key **pk)
152 buf, len);
154 *pk = crypto_public_key_from_cert(buf, len);
158 cert = x509_certificate_parse(buf, len);
210 size_t len)
213 crypto_hash_update(verify->md5_client, buf, len);
214 crypto_hash_update(verify->sha1_client, buf, len);
217 crypto_hash_update(verify->md5_server, buf, len);
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/utils/
base64.c 26 * @len: Length of the data to be encoded
35 unsigned char * base64_encode(const unsigned char *src, size_t len,
43 olen = len * 4 / 3 + 4; /* 3-byte blocks to 4-byte */
46 if (olen < len)
52 end = src + len;
96 * @len: Length of the data to be decoded
103 unsigned char * base64_decode(const unsigned char *src, size_t len,
115 for (i = 0; i < len; i++) {
129 for (i = 0; i < len; i++) {
162 size_t len, elen local
    [all...]
  /external/grub/netboot/
fsys_tftp.c 46 static unsigned short len, saved_len; variable
80 ++iport, TFTP_PORT, len, &tp))
128 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 2;
129 if (len > TFTP_MAX_PACKET)
132 e = p + len;
164 len = (grub_sprintf ((char *) tp.u.err.errmsg,
171 len, &tp);
194 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 4
    [all...]
  /external/iproute2/ip/
xfrm_monitor.c 49 int len = n->nlmsg_len; local
53 len -= NLMSG_LENGTH(sizeof(*xacq));
54 if (len < 0) {
55 fprintf(stderr, "BUG: wrong nlmsg len %d\n", len);
59 parse_rtattr(tb, XFRMA_MAX, XFRMACQ_RTA(xacq), len);
110 int len = n->nlmsg_len; local
113 len -= NLMSG_SPACE(sizeof(*xsf));
114 if (len < 0) {
115 fprintf(stderr, "BUG: wrong nlmsg len %d\n", len)
140 int len = n->nlmsg_len; local
178 int len = n->nlmsg_len; local
    [all...]
  /external/tcpdump/
print-ppp.c 427 u_int code, len; local
456 len = EXTRACT_16BITS(tptr);
459 printf("\n\tencoded length %u (=Option(s) length %u)",len,len-4);
482 x = len - 4; /* Code(1), Identifier(1) and Length(2) */
512 if ((j = (*pfunc)(tptr, len)) == 0)
534 if (len > 6) {
536 print_unknown_data(tptr+2,"\n\t ",len-2);
547 if (len > 8) {
549 TCHECK2(tptr[4], len-8)
591 int len, opt; local
800 u_int code, len; local
879 u_int code, len; local
981 int len, opt; local
1108 int len, opt; local
1165 int len, opt; local
1223 int len, opt; local
    [all...]
  /frameworks/base/media/java/android/drm/mobile1/
DrmRawContent.java 128 * @param len the length of raw data can be read.
131 public DrmRawContent(InputStream inRawdata, int len, String mimeTypeStr) throws DrmException, IOException {
136 inDataLen = len;
145 if (len <= 0)
146 throw new IllegalArgumentException("len must be > 0");
284 int len = nativeGetContentLength(); local
286 if (JNI_DRM_FAILURE == len)
290 if (JNI_DRM_UNKNOWN_DATA_LEN == len)
293 int availableLen = len - offset;
324 public int read(byte[] b, int off, int len) throws IOException
    [all...]
  /bootable/recovery/applypatch/
bsdiff.c 60 static void split(off_t *I,off_t *V,off_t start,off_t len,off_t h)
64 if(len<16) {
65 for(k=start;k<start+len;k+=j) {
67 for(i=1;k+i<start+len;i++) {
83 x=V[I[start+len/2]+h];
85 for(i=start;i<start+len;i++) {
118 if(start+len>kk) split(I,V,kk,start+len-kk,h);
124 off_t i,h,len; local
140 len=0
229 off_t scan,pos,len; local
    [all...]
  /dalvik/vm/
UtfString.c 143 int ic, len = 0; local
146 len++;
157 return len;
173 static int utf16_utf8ByteLen(const u2* utf16Str, int len)
177 while (len--) {
198 * not just "len".
200 static void convertUtf16ToUtf8(char* utf8Str, const u2* utf16Str, int len)
202 assert(len >= 0);
204 while (len--) {
230 static inline u4 dvmComputeUtf16Hash(const u2* utf16Str, int len)
242 int offset, len; local
391 int len, byteLen, offset; local
436 int len, offset; local
    [all...]
  /external/bsdiff/
bsdiff.c 43 static void split(off_t *I,off_t *V,off_t start,off_t len,off_t h)
47 if(len<16) {
48 for(k=start;k<start+len;k+=j) {
50 for(i=1;k+i<start+len;i++) {
66 x=V[I[start+len/2]+h];
68 for(i=start;i<start+len;i++) {
101 if(start+len>kk) split(I,V,kk,start+len-kk,h);
107 off_t i,h,len; local
123 len=0
202 off_t scan,pos,len; local
    [all...]
  /external/yaffs2/yaffs2/mtdemul/
nandemul2k.c 280 static int nand_read (struct mtd_info *mtd, loff_t from, size_t len,
282 static int nand_read_ecc (struct mtd_info *mtd, loff_t from, size_t len,
284 static int nand_read_oob (struct mtd_info *mtd, loff_t from, size_t len,
286 static int nand_write (struct mtd_info *mtd, loff_t to, size_t len,
288 static int nand_write_ecc (struct mtd_info *mtd, loff_t to, size_t len,
291 static int nand_write_oob (struct mtd_info *mtd, loff_t to, size_t len,
308 static int nand_read (struct mtd_info *mtd, loff_t from, size_t len,
311 return nand_read_ecc (mtd, from, len, retlen, buf, NULL,NULL);
318 static int nand_read_ecc (struct mtd_info *mtd, loff_t from, size_t len,
322 int n = len;
    [all...]
  /external/bluetooth/glib/glib/
guniprop.c 762 gint len = 0; local
771 len += g_unichar_to_utf8 (c, out_buffer ? out_buffer + len : NULL);
779 return len;
789 gint len; local
797 len = strlen (p);
799 memcpy (out_buffer, p, len);
801 return len;
812 gsize len = 0; local
843 len += g_unichar_to_utf8 (g_unichar_toupper (decomp[i]), out_buffer ? out_buffer + len : NULL)
987 gsize len = 0; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/
wpa_priv.c 117 char *buf, size_t len)
119 if (iface->drv_priv == NULL || len != sizeof(int))
128 char *buf, size_t len)
134 iface->driver->scan(iface->drv_priv, len ? (u8 *) buf : NULL,
135 len);
300 void *buf, size_t len)
310 if (len < sizeof(*assoc)) {
316 if (sizeof(*assoc) + assoc->wpa_ie_len > len) {
393 void *buf, size_t len)
401 if (len != sizeof(*params))
702 size_t len; local
846 int len; local
906 size_t len, maxlen; local
937 size_t len; local
    [all...]
  /bionic/libc/kernel/common/linux/
msm_adsp.h 22 uint32_t len; member in struct:adsp_command_t
31 uint32_t len; member in struct:adsp_event_t
  /build/tools/apriori/
debug.c 7 int dump_hex_buffer(FILE *s, void *b, size_t len, size_t elsize) {
13 for (i = last = 0; i < len; i++) {
  /build/tools/isprelinked/
debug.c 7 int dump_hex_buffer(FILE *s, void *b, size_t len, size_t elsize) {
12 for (i = last = 0; i < len; i++) {
  /build/tools/lsd/
debug.c 7 int dump_hex_buffer(FILE *s, void *b, size_t len, size_t elsize)
13 for (i = last = 0; i < len; i++) {
  /build/tools/soslim/
debug.c 9 int dump_hex_buffer(FILE *s, void *b, size_t len, size_t elsize) {
14 for (i = last = 0; i < len; i++) {
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/generators/
BaseKDFBytesGenerator.java 69 * fill len bytes of the output buffer with bytes generated from
78 int len)
81 if ((out.length - len) < outOff)
86 long oBytes = len;
124 if (len > outLen)
128 len -= outLen;
132 System.arraycopy(dig, 0, out, outOff, len);
140 return len;
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/io/
MacInputStream.java 37 int len)
40 int n = in.read(b, off, len);
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/macs/
BlockCipherMac.java 97 int len)
99 if (len < 0)
108 if (len > gapLen)
115 len -= gapLen;
118 while (len > blockSize)
122 len -= blockSize;
127 System.arraycopy(in, inOff, buf, bufOff, len);
129 bufOff += len;
  /development/tools/yuv420sp2rgb/
debug.c 7 int dump_hex_buffer(FILE *s, void *b, size_t len, size_t elsize) {
13 for (i = last = 0; i < len; i++) {
  /external/bluetooth/bluez/test/
test-network 15 if (len(sys.argv) < 2):
21 if (len(sys.argv) < 3):

Completed in 346 milliseconds

<<21222324252627282930>>