/external/ppp/pppd/ |
H A D | magic.c | 90 random_bytes(unsigned char *buf, int len) argument 94 for (i = 0; i < len; ++i)
|
/external/ppp/pppd/plugins/pppoatm/ |
H A D | misc.c | 23 int ref_len,best_len,len; local 32 len = strlen(value); 33 if (*value != '!' && len <= ref_len && len > best_len && 34 !strncasecmp(*pos,value,len)) { 36 best_len = len;
|
/external/ppp/pppd/plugins/rp-pppoe/ |
H A D | debug.c | 30 * len -- length of data 37 dumpHex(FILE *fp, unsigned char const *buf, int len) argument 45 if (len >= 2 && buf[0] == 0xC0 && buf[1] == 0x23) { 50 for (base=0; base<len; base += 16) { 52 if (i < len) { 60 if (i < len) { 88 int len = ntohs(packet->length); local 124 len);
|
/external/qemu/distrib/ext4_utils/src/ |
H A D | ext4_sb.h | 29 int64_t len; /* If set to 0, ask the block device for the size, member in struct:fs_info
|
/external/qemu/distrib/libselinux/src/ |
H A D | compute_av.c | 21 size_t len; local 34 len = selinux_page_size; 35 buf = malloc(len); 41 snprintf(buf, len, "%s %s %hu %x", scon, tcon, 48 memset(buf, 0, len); 49 ret = read(fd, buf, len - 1);
|
/external/qemu/distrib/libsparse/src/ |
H A D | img2simg.c | 53 off64_t len; local 89 len = lseek64(in, 0, SEEK_END); 92 s = sparse_file_new(block_size, len);
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testiconv.c | 8 size_t len = 0; local 11 ++len; 13 return len; 50 size_t len; local 52 len = (widelen(ucs4)+1)*4; 54 test[0] = SDL_iconv_string(formats[i], "UCS-4", ucs4, len); 55 test[1] = SDL_iconv_string("UCS-4", formats[i], test[0], len); 56 if ( !test[1] || SDL_memcmp(test[1], ucs4, len) != 0 ) { 67 test[0] = SDL_iconv_string("UTF-8", "UCS-4", ucs4, len);
|
/external/qemu/slirp/ |
H A D | cksum.c | 47 int cksum(struct mbuf *m, int len) argument 69 if (len < mlen) 70 mlen = len; 71 len -= mlen; 123 if (len) { 125 DEBUG_ERROR((dfd, " len = %d\n", len));
|
H A D | ip_output.c | 51 * header (with len, off, ttl, proto, tos, src, dst). 61 int len, off, error = 0; local 69 * m = ip_insertoptions(m, opt, &len); 70 * hlen = len; 117 len = (IF_MTU - hlen) &~ 7; /* ip databytes per packet */ 118 if (len < 8) { 124 int mhlen, firstlen = len; 133 for (off = hlen + len; off < (u_int16_t)ip->ip_len; off += len) { 155 if (off + len > [all...] |
/external/qemu/slirp-android/ |
H A D | cksum.c | 47 int cksum(struct mbuf *m, int len) argument 69 if (len < mlen) 70 mlen = len; 71 len -= mlen; 123 if (len) { 125 DEBUG_ERROR((dfd, " len = %d\n", len));
|
H A D | ip_output.c | 51 * header (with len, off, ttl, proto, tos, src, dst). 61 int len, off, error = 0; local 69 * m = ip_insertoptions(m, opt, &len); 70 * hlen = len; 117 len = (IF_MTU - hlen) &~ 7; /* ip databytes per packet */ 118 if (len < 8) { 124 int mhlen, firstlen = len; 133 for (off = hlen + len; off < (u_int16_t)ip->ip_len; off += len) { 155 if (off + len > [all...] |
/external/qemu/telephony/ |
H A D | sms.h | 46 unsigned char len; member in struct:__anon30243
|
/external/qemu/util/ |
H A D | unicode.c | 50 unsigned byte, mask, len, i; local 69 len = 0; 71 len++; 73 assert(len > 1 && len < 7); 75 for (i = 1; i < len; i++) { 92 } else if (cp < min_cp[len - 2] && !(cp == 0 && len == 2)) {
|
/external/regex-re2/re2/testing/ |
H A D | string_generator.cc | 68 int len = acm_->Uniform(maxlen_+1); local 69 digits_.resize(len); 70 for (int i = 0; i < len; i++)
|
/external/sfntly/cpp/src/test/tinyxml/ |
H A D | tinystr.cpp | 49 TiXmlString& TiXmlString::assign(const char* str, size_type len) argument 52 if (len > cap || cap > 3*(len + 8)) 55 tmp.init(len); 56 memcpy(tmp.start(), str, len); 61 memmove(start(), str, len); local 62 set_size(len); 68 TiXmlString& TiXmlString::append(const char* str, size_type len) argument 70 size_type newsize = length() + len; 75 memmove(finish(), str, len); local [all...] |
/external/skia/gm/ |
H A D | getpostextpath.cpp | 40 int len = SkToInt(strlen(text)); local 49 canvas->drawText(text, len, 0, 0, paint); 50 paint.getTextPath(text, len, 0, 0, &path); 54 SkAutoTArray<SkPoint> pos(len); 55 SkAutoTArray<SkScalar> widths(len); 56 paint.getTextWidths(text, len, &widths[0]); 61 for (int i = 0; i < len; ++i) { 68 canvas->drawPosText(text, len, &pos[0], paint); 69 paint.getPosTextPath(text, len, &pos[0], &path);
|
/external/skia/samplecode/ |
H A D | SampleLCD.cpp | 42 size_t len = strlen(text); local 52 canvas->drawText(text, len, x0, y, paint); 54 canvas->drawText(text, len, x1, y, paint);
|
/external/skia/src/gpu/ |
H A D | GrBinHashKey.h | 41 size_t len = KEY_SIZE; local 42 while (len >= 4) { 46 len -= 4;
|
/external/skia/tests/ |
H A D | MD5Test.cpp | 21 size_t len = strlen(string); local 26 context.update(reinterpret_cast<const uint8_t*>(string), len); local 37 const uint8_t* end = reinterpret_cast<const uint8_t*>(string + len);
|
H A D | SHA1Test.cpp | 37 size_t len = strlen(test.message); local 41 context.update(reinterpret_cast<const uint8_t*>(test.message), len); local
|
H A D | TLSTest.cpp | 18 size_t len = strlen(text); local 26 paint.measureText(text, len); 28 paint.measureText(text, len);
|
H A D | ToUnicodeTest.cpp | 15 const char* buffer, size_t len) { 17 if (offset + len > data->size()) { 20 if (len != strlen(buffer)) { 23 return memcmp(data->bytes() + offset, buffer, len) == 0; 14 stream_equals(const SkDynamicMemoryWStream& stream, size_t offset, const char* buffer, size_t len) argument
|
/external/skia/tools/lua/ |
H A D | lua_app.cpp | 25 size_t len = stream->getLength(); local 26 void* buffer = sk_malloc_throw(len); 27 stream->read(buffer, len); 28 return SkData::NewFromMalloc(buffer, len); 39 size_t len; local 43 len = strlen(argv[i + 1]); 48 len = data->size(); 50 if (!L.runCode(ptr, len)) {
|
/external/smali/util/src/main/java/org/jf/util/ |
H A D | RandomAccessFileOutputStream.java | 60 @Override public void write(byte[] b, int off, int len) throws IOException { argument 62 filePosition += len; 63 raf.write(b, off, len);
|
/external/speex/libspeex/ |
H A D | cb_search_bfin.h | 88 static inline void target_update(spx_word16_t *t, spx_word16_t g, spx_word16_t *r, int len) argument 90 if (!len) 109 : "a" (t), "a" (r), "d" (g), "a" (len)
|