/ndk/build/platforms/android-4/arch-arm/usr/include/linux/ |
netlink.h | 71 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) 73 #define NLMSG_LENGTH(len) ((len)+NLMSG_ALIGN(NLMSG_HDRLEN)) 74 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlms (…) [all...] |
/ndk/build/platforms/android-5/arch-arm/usr/include/linux/ |
netlink.h | 71 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) 73 #define NLMSG_LENGTH(len) ((len)+NLMSG_ALIGN(NLMSG_HDRLEN)) 74 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlms (…) [all...] |
/ndk/build/platforms/android-5/arch-x86/usr/include/linux/ |
netlink.h | 71 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) 73 #define NLMSG_LENGTH(len) ((len)+NLMSG_ALIGN(NLMSG_HDRLEN)) 74 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlms (…) [all...] |
/ndk/build/platforms/android-8/arch-arm/usr/include/linux/ |
netlink.h | 71 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) 73 #define NLMSG_LENGTH(len) ((len)+NLMSG_ALIGN(NLMSG_HDRLEN)) 74 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlms (…) [all...] |
/ndk/build/platforms/android-8/arch-x86/usr/include/linux/ |
netlink.h | 71 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) 73 #define NLMSG_LENGTH(len) ((len)+NLMSG_ALIGN(NLMSG_HDRLEN)) 74 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlms (…) [all...] |
/external/wpa_supplicant/ |
priv_netlink.h | 55 #define NLMSG_ALIGN(len) (((len) + NLMSG_ALIGNTO - 1) & ~(NLMSG_ALIGNTO - 1)) 56 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr))) 60 #define RTA_ALIGN(len) (((len) + RTA_ALIGNTO - 1) & ~(RTA_ALIGNTO - 1)) 61 #define RTA_OK(rta,len) \ 62 ((len) > 0 && (rta)->rta_len >= sizeof(struct rtattr) && \ 63 (rta)->rta_len <= (len)) 67 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
priv_netlink.h | 55 #define NLMSG_ALIGN(len) (((len) + NLMSG_ALIGNTO - 1) & ~(NLMSG_ALIGNTO - 1)) 56 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr))) 60 #define RTA_ALIGN(len) (((len) + RTA_ALIGNTO - 1) & ~(RTA_ALIGNTO - 1)) 61 #define RTA_OK(rta,len) \ 62 ((len) > 0 && (rta)->rta_len >= sizeof(struct rtattr) && \ 63 (rta)->rta_len <= (len)) 67 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len) [all...] |
/cts/tools/dx-tests/src/dxc/junit/opcodes/invokeinterface/jm/ |
T_invokeinterface_2.cfh | 2 // parsed:, offset 0, len 0, h: begin classfile 3 // parsed:, offset 0, len 4, h: magic: cafebabe 6 // parsed:, offset 4, len 2, h: minor_version: 0003 9 // parsed:, offset 6, len 2, h: major_version: 002d 12 // parsed:, offset 8, len 2, h: constant_pool_count: 0012 15 // parsed:, offset 10, len 0, h: constant_pool: 16 // parsed:, offset 10, len 5, h: 0001: ifaceMethod{dxc.junit.opcodes.invokeinterface.jm.ITest.doit:()V} 19 // parsed:, offset 15, len 5, h: 0002: method{java.lang.Object.<init>:()V} 22 // parsed:, offset 20, len 19, h: 0003: utf8{"java/lang/Object"} 25 // parsed:, offset 39, len 3, h: 0004: type{dxc.junit.opcodes.invokeinterface.jm.T_invokeinterface_2 [all...] |
T_invokeinterface_23.cfh | 2 // parsed:, offset 0, len 0, h: begin classfile 3 // parsed:, offset 0, len 4, h: magic: cafebabe 6 // parsed:, offset 4, len 2, h: minor_version: 0003 9 // parsed:, offset 6, len 2, h: major_version: 002d 12 // parsed:, offset 8, len 2, h: constant_pool_count: 0012 15 // parsed:, offset 10, len 0, h: constant_pool: 16 // parsed:, offset 10, len 5, h: 0001: ifaceMethod{dxc.junit.opcodes.invokeinterface.jm.ITest.doit:()V} 19 // parsed:, offset 15, len 5, h: 0002: method{java.lang.Object.<init>:()V} 22 // parsed:, offset 20, len 19, h: 0003: utf8{"java/lang/Object"} 25 // parsed:, offset 39, len 13, h: 0004: utf8{"SourceFile" [all...] |
T_invokeinterface_6.cfh | 2 // parsed:, offset 0, len 0, h: begin classfile 3 // parsed:, offset 0, len 4, h: magic: cafebabe 6 // parsed:, offset 4, len 2, h: minor_version: 0003 9 // parsed:, offset 6, len 2, h: major_version: 002d 12 // parsed:, offset 8, len 2, h: constant_pool_count: 0014 15 // parsed:, offset 10, len 0, h: constant_pool: 16 // parsed:, offset 10, len 19, h: 0001: utf8{"java/lang/Object"} 19 // parsed:, offset 29, len 5, h: 0002: ifaceMethod{dxc.junit.opcodes.invokeinterface.jm.ITest.doit:(I)V} 22 // parsed:, offset 34, len 9, h: 0003: utf8{"<init>"} 25 // parsed:, offset 43, len 3, h: 0004: type{java.lang.Object [all...] |
T_invokeinterface_8.cfh | 2 // parsed:, offset 0, len 0, h: begin classfile 3 // parsed:, offset 0, len 4, h: magic: cafebabe 6 // parsed:, offset 4, len 2, h: minor_version: 0003 9 // parsed:, offset 6, len 2, h: major_version: 002d 12 // parsed:, offset 8, len 2, h: constant_pool_count: 0014 15 // parsed:, offset 10, len 0, h: constant_pool: 16 // parsed:, offset 10, len 19, h: 0001: utf8{"java/lang/Object"} 19 // parsed:, offset 29, len 27, h: 0002: utf8{"T_invokeinterface_8.java"} 22 // parsed:, offset 56, len 5, h: 0003: ifaceMethod{dxc.junit.opcodes.invokeinterface.jm.ITest.doit:(I)V} 25 // parsed:, offset 61, len 9, h: 0004: utf8{"<init>" [all...] |
/cts/tools/vm-tests/src/dot/junit/verify/a3/d/ |
T_a3_1.dfh | 4 // parsed: offset 0, len 8: magic : 'dex 7 // parsed: offset 8, len 4: checksum : be8e34ae 9 // parsed: offset 12, len 20: signature : 816e...af7b 11 // parsed: offset 32, len 4: file_size : 484 13 // parsed: offset 36, len 4: header_size : 112 15 // parsed: offset 40, len 4: endian_tag : 0x12345678 17 // parsed: offset 44, len 4: link_size : 0 19 // parsed: offset 48, len 4: link_off : 0 (0x000000) 21 // parsed: offset 52, len 4: map_off : 360 (0x000168) 23 // parsed: offset 56, len 4: string_ids_size : [all...] |
/cts/tools/vm-tests/src/dot/junit/verify/a5/d/ |
T_a5_1.dfh | 4 // parsed: offset 0, len 8: magic : 'dex 7 // parsed: offset 8, len 4: checksum : 1acf344e 9 // parsed: offset 12, len 20: signature : 60c2...28af 11 // parsed: offset 32, len 4: file_size : 484 13 // parsed: offset 36, len 4: header_size : 112 15 // parsed: offset 40, len 4: endian_tag : 0x12345678 17 // parsed: offset 44, len 4: link_size : 0 19 // parsed: offset 48, len 4: link_off : 0 (0x000000) 21 // parsed: offset 52, len 4: map_off : 360 (0x000168) 23 // parsed: offset 56, len 4: string_ids_size : [all...] |
/external/opencore/oscl/oscl/osclutil/src/ |
oscl_str_ptr_len.h | 68 int32 len; member in struct:StrPtrLen 80 len = oscl_strlen(newPtr); 84 : ptr(newPtr), len(newLen) 88 : ptr(""), len(0) 92 : ptr(rhs.ptr), len(rhs.len) 102 return len; 107 return len; 113 len = newLen; 118 if (len != rhs.len 187 int32 len; member in struct:WStrPtrLen [all...] |
/external/bluetooth/hcidump/parser/ |
ppp.c | 107 fcs = bt_get_unaligned((uint16_t *) (frm->ptr + frm->len - 2)); 108 frm->len -= 2; 114 frm->len += 2; 115 printf("HDLC: %s: len %d fcs 0x%04x\n", 116 dir2str(frm->in), frm->len, fcs); 118 printf("HDLC: %s: addr 0x%02x ctrl 0x%02x len %d fcs 0x%04x\n", 119 dir2str(frm->in), addr, ctrl, frm->len, fcs); 127 printf("PPP: %s (0x%04x): len %d\n", proto2str(proto), proto, frm->len); 132 static inline void unslip_frame(int level, struct frame *frm, int len) 170 int err, len, pos = 0; local 174 uint16_t len = htons(frm->len); local [all...] |
/external/clearsilver/cs/ |
test15.cs | 8 len (depreciated) <?cs var:len(Foo.Bar.Baz) ?> == 4
|
/frameworks/base/include/utils/ |
Buffer.h | 32 void ensureCapacity(int len); 35 makeRoomFor(int len) 37 if (len + used >= bufsiz) { 38 bufsiz = (len + used) * 3/2 + 2; 83 append(const char *s, int len) 85 makeRoomFor(len); 87 memcpy(buf + used, s, len); 88 used += len;
|
/external/dropbear/libtomcrypt/ |
parsenames.pl | 9 $len = length($b); 12 $len = $len + length($obj); 14 if ($len > 100) { 16 $len = length($obj);
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
chap.c | 26 size_t len[3]; local 29 len[0] = 1; 31 len[1] = secret_len; 33 len[2] = challenge_len; 34 md5_vector(3, addr, len, response);
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/util/encoders/ |
BufferedDecoder.java | 55 int len, 59 if (len < 0) 67 if (len > gapLen) 75 len -= gapLen; 79 int chunkSize = len - (len % buf.length); 83 len -= chunkSize; 87 if (len != 0) 89 System.arraycopy(in, inOff, buf, bufOff, len); 91 bufOff += len; [all...] |
BufferedEncoder.java | 55 int len, 59 if (len < 0) 67 if (len > gapLen) 75 len -= gapLen; 79 int chunkSize = len - (len % buf.length); 83 len -= chunkSize; 87 if (len != 0) 89 System.arraycopy(in, inOff, buf, bufOff, len); 91 bufOff += len; [all...] |
/external/bluetooth/bluez/compat/ |
lib.h | 46 /* Read exactly len bytes (Signal safe)*/ 47 static inline int read_n(int fd, char *buf, int len) 51 while (!__io_canceled && len > 0) { 52 if ((w = read(fd, buf, len)) < 0) { 59 len -= w; 67 /* Write exactly len bytes (Signal safe)*/ 68 static inline int write_n(int fd, char *buf, int len) 72 while (!__io_canceled && len > 0) { 73 if ((w = write(fd, buf, len)) < 0) { 80 len -= w [all...] |
/external/qemu/ |
softmmu-semi.h | 37 static void *softmmu_lock_user(CPUState *env, uint32_t addr, uint32_t len, 42 p = malloc(len); 44 cpu_memory_rw_debug(env, addr, p, len, 0); 47 #define lock_user(type, p, len, copy) softmmu_lock_user(env, p, len, copy) 64 target_ulong len) 66 if (len) 67 cpu_memory_rw_debug(env, addr, p, len, 1); 70 #define unlock_user(s, args, len) softmmu_unlock_user(env, s, args, len) [all...] |
/bionic/libc/netbsd/nameser/ |
ns_print.c | 68 static void addlen(size_t len, char **buf, size_t *buflen); 69 static int addstr(const char *src, size_t len, 71 static int addtab(size_t len, size_t target, int spaced, 126 int len, x; local 134 len = prune_origin(name, origin); 137 } else if (len == 0) { 140 T(addstr(name, (size_t)len, &buf, &buflen)); 144 name[len] == '\0')) && name[len - 1] != '.') { 147 len++ [all...] |
/external/skia/src/ports/ |
SkXMLParser_expat.cpp | 36 inline const char* ConvertUnicodeToChar(const short* ch16, size_t len, SkAutoMalloc& ch8Malloc) { 39 for (index = 0; index < len; index++) 49 size_t len = sk_wcslen((const short*) el); local 50 SkAutoMalloc el8(len + 1); 51 el = ConvertUnicodeToChar((const short*) el, len, el8); 80 size_t len = sk_wcslen((const short*) el); local 81 SkAutoMalloc el8(len + 1); 82 el = ConvertUnicodeToChar((const short*) el, len, el8); 88 static void XMLCALL text_proc(void* data, const char* text, int len) 91 SkAutoMalloc text8(len + 1) 124 size_t len = input.read(NULL, 0); local [all...] |