/development/ndk/platforms/android-5/arch-x86/include/asm/ |
cmpxchg_32.h | 17 #define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr)))) 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) 28 #define cmpxchg_local(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg_local((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; })
|
/external/elfutils/libelf/ |
version_xlate.h | 38 assert (sizeof (GElf_Verdef) == sizeof (Elf32_Verdef)); 39 assert (sizeof (GElf_Verdaux) == sizeof (Elf32_Verdaux)); 40 assert (sizeof (GElf_Verdef) == sizeof (Elf64_Verdef)); 41 assert (sizeof (GElf_Verdaux) == sizeof (Elf64_Verdaux)); 52 if (def_offset + sizeof (GElf_Verdef) > len) 81 if (aux_offset + sizeof (GElf_Verdaux) > len [all...] |
/external/icu4c/test/iotest/ |
iotest.cpp | 44 message.extract(0, message.length(), buffer, sizeof(buffer)); 51 message.extract(0, message.length(), buffer, sizeof(buffer)); 58 message.extract(0, message.length(), buffer, sizeof(buffer)); 89 static char p[sizeof(__FILE__) + 10]; 143 tdpath = (char*) malloc(sizeof(char) *(( strlen(directory) * strlen(tdrelativepath)) + 100)); 203 char cFormat[sizeof(cBuffer)]; 204 char cExpected[sizeof(cBuffer)]; 239 u_memset(uBuffer, 0x2A, sizeof(uBuffer)/sizeof(uBuffer[0])); 240 uBuffer[sizeof(uBuffer)/sizeof(uBuffer[0])-1] = 0 [all...] |
/external/kernel-headers/original/linux/ |
xattr.h | 18 #define XATTR_OS2_PREFIX_LEN (sizeof (XATTR_OS2_PREFIX) - 1) 21 #define XATTR_SECURITY_PREFIX_LEN (sizeof (XATTR_SECURITY_PREFIX) - 1) 24 #define XATTR_SYSTEM_PREFIX_LEN (sizeof (XATTR_SYSTEM_PREFIX) - 1) 27 #define XATTR_TRUSTED_PREFIX_LEN (sizeof (XATTR_TRUSTED_PREFIX) - 1) 30 #define XATTR_USER_PREFIX_LEN (sizeof (XATTR_USER_PREFIX) - 1)
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 17 #define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr)))) 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) 28 #define cmpxchg_local(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg_local((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; })
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 17 #define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr)))) 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) 28 #define cmpxchg_local(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg_local((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; })
|
/system/core/libcutils/ |
native_handle.c | 31 sizeof(native_handle_t) + sizeof(int)*(numFds+numInts)); 33 h->version = sizeof(native_handle_t); 42 if (h->version != sizeof(native_handle_t)) 51 if (h->version != sizeof(native_handle_t))
|
/external/bluetooth/bluez/src/ |
sdpd-request.c | 73 sdp_cstate_list_t *cstate = malloc(sizeof(sdp_cstate_list_t)); 77 memset((char *)cstate, 0, sizeof(sdp_cstate_list_t)); 133 if (bufsize < sizeof(uint8_t)) { 159 p += sizeof(uint8_t); 160 seqlen += sizeof(uint8_t); 161 bufsize -= sizeof(uint8_t); 162 if (bufsize < sizeof(uint16_t)) { 169 aid = malloc(sizeof(struct attrid)); 174 pElem = malloc(sizeof(uint16_t)); 177 p += sizeof(uint16_t) [all...] |
/hardware/ti/wlan/wl1271/CUDK/configurationutility/src/ |
cu_common.c | 72 CuCommon_t* pCuCommon = (CuCommon_t*)os_MemoryCAlloc(sizeof(CuCommon_t), sizeof(U8)); 105 res = IPC_STA_Private_Send(pCuCommon->hIpcSta, PrivateIoctlId, &Data, sizeof(U32), 120 pData, sizeof(U32)); 133 res = IPC_STA_Private_Send(pCuCommon->hIpcSta, PrivateIoctlId, &Data, sizeof(U16), 147 res = IPC_STA_Private_Send(pCuCommon->hIpcSta, PrivateIoctlId, &Data, sizeof(U8), 163 pData, sizeof(U8)); 220 pSizeOfBssiList, sizeof(U32)); 235 &buffer, sizeof(TCuCommon_RoamingStatisticsTable)); 252 &buffer, sizeof(TCuCommon_RoamingStatisticsTable)) [all...] |
/system/wlan/ti/wilink_6_1/CUDK/configurationutility/src/ |
cu_common.c | 72 CuCommon_t* pCuCommon = (CuCommon_t*)os_MemoryCAlloc(sizeof(CuCommon_t), sizeof(U8)); 105 res = IPC_STA_Private_Send(pCuCommon->hIpcSta, PrivateIoctlId, &Data, sizeof(U32), 120 pData, sizeof(U32)); 133 res = IPC_STA_Private_Send(pCuCommon->hIpcSta, PrivateIoctlId, &Data, sizeof(U16), 147 res = IPC_STA_Private_Send(pCuCommon->hIpcSta, PrivateIoctlId, &Data, sizeof(U8), 163 pData, sizeof(U8)); 220 pSizeOfBssiList, sizeof(U32)); 235 &buffer, sizeof(TCuCommon_RoamingStatisticsTable)); 252 &buffer, sizeof(TCuCommon_RoamingStatisticsTable)) [all...] |
/external/chromium/third_party/icu/source/test/iotest/ |
iotest.cpp | 44 message.extract(0, message.length(), buffer, sizeof(buffer)); 50 message.extract(0, message.length(), buffer, sizeof(buffer)); 81 static char p[sizeof(__FILE__) + 10]; 135 tdpath = (char*) malloc(sizeof(char) *(( strlen(directory) * strlen(tdrelativepath)) + 100)); 195 char cFormat[sizeof(cBuffer)]; 196 char cExpected[sizeof(cBuffer)]; 231 u_memset(uBuffer, 0x2A, sizeof(uBuffer)/sizeof(uBuffer[0])); 232 uBuffer[sizeof(uBuffer)/sizeof(uBuffer[0])-1] = 0 [all...] |
/external/dhcpcd/ |
if-linux.c | 69 memset(&nl, 0, sizeof(nl)); 72 if (bind(fd, (struct sockaddr *)&nl, sizeof(nl)) == -1) 91 buffer = xzalloc(sizeof(char) * BUFFERLEN); 126 l = nlm->nlmsg_len - sizeof(*nlm); 127 if ((size_t)l < sizeof(*err)) { 148 len = nlm->nlmsg_len - sizeof(*nlm); 149 if ((size_t)len < sizeof(*ifi)) { 156 rta = (struct rtattr *) ((char *)ifi + NLMSG_ALIGN(sizeof(*ifi))); 157 len = NLMSG_PAYLOAD(nlm, sizeof(*ifi)); 168 strlcpy(ifn, RTA_DATA(rta), sizeof(ifn)) [all...] |
/external/chromium/net/base/ |
mime_sniffer_unittest.cc | 67 { "<!DOCTYPE html PUBLIC", sizeof("<!DOCTYPE html PUBLIC")-1, 70 { "<HtMl><Body></body></htMl>", sizeof("<HtMl><Body></body></htMl>")-1, 73 { "GIF89a\x1F\x83\x94", sizeof("GIF89a\xAF\x83\x94")-1, 76 { "Gif87a\x1F\x83\x94", sizeof("Gif87a\xAF\x83\x94")-1, 79 { "%!PS-Adobe-3.0", sizeof("%!PS-Adobe-3.0")-1, 82 { "\x89" "PNG\x0D\x0A\x1A\x0A", sizeof("\x89" "PNG\x0D\x0A\x1A\x0A")-1, 85 { "\xFF\xD8\xFF\x23\x49\xAF", sizeof("\xFF\xD8\xFF\x23\x49\xAF")-1, 96 { "Cr24\x02\x00\x00\x00", sizeof("Cr24\x02\x00\x00\x00")-1, 99 { "Cr24\x02\x00\x00\x00", sizeof("Cr24\x02\x00\x00\x00")-1, 102 { "Cr24\x02\x00\x00\x00", sizeof("Cr24\x02\x00\x00\x00")-1 [all...] |
/system/core/libnetutils/ |
packet.c | 51 memset(&bindaddr, 0, sizeof(bindaddr)); 58 if (bind(s, (struct sockaddr *)&bindaddr, sizeof(bindaddr)) < 0) { 101 ip.ihl = sizeof(ip) >> 2; 103 ip.tot_len = htons(sizeof(ip) + sizeof(udp) + size); 111 ip.check = finish_sum(checksum(&ip, sizeof(ip), 0)); 115 udp.len = htons(sizeof(udp) + size); 119 udpsum = checksum(&ip.saddr, sizeof(ip.saddr), 0); 120 udpsum = checksum(&ip.daddr, sizeof(ip.daddr), udpsum); 122 udpsum = checksum(&temp, sizeof(temp), udpsum) [all...] |
/bionic/libc/kernel/common/linux/ |
efs_dir.h | 24 #define EFS_DENTSIZE (sizeof(struct efs_dentry) - 3 + 1) 25 #define EFS_MAXNAMELEN ((1 << (sizeof(char) * 8)) - 1) 38 #define EFS_MAXENTS ((EFS_DIRBSIZE - EFS_DIRBLK_HEADERSIZE) / (EFS_DENTSIZE + sizeof(char)))
|
/bootable/bootloader/legacy/include/boot/ |
usb_descriptors.h | 146 { device_desc, sizeof(device_desc), ID(TYPE_DEVICE, 0) }, 147 { config_desc, sizeof(config_desc), ID(TYPE_CONFIGURATION, 0) }, 148 { manufacturer_string, sizeof(manufacturer_string), ID(TYPE_STRING, 1) }, 149 { product_string, sizeof(product_string), ID(TYPE_STRING, 2) }, 150 { default_string, sizeof(default_string), ID(TYPE_STRING, 4) }, 151 { language_table, sizeof(language_table), ID(TYPE_STRING, 0) }, 156 { device_desc, sizeof(device_desc), ID(TYPE_DEVICE, 0) }, 157 { config_desc_fs, sizeof(config_desc), ID(TYPE_CONFIGURATION, 0) }, 158 { manufacturer_string, sizeof(manufacturer_string), ID(TYPE_STRING, 1) }, 159 { product_string, sizeof(product_string), ID(TYPE_STRING, 2) } [all...] |
/development/ndk/platforms/android-3/include/linux/ |
efs_dir.h | 24 #define EFS_DENTSIZE (sizeof(struct efs_dentry) - 3 + 1) 25 #define EFS_MAXNAMELEN ((1 << (sizeof(char) * 8)) - 1) 38 #define EFS_MAXENTS ((EFS_DIRBSIZE - EFS_DIRBLK_HEADERSIZE) / (EFS_DENTSIZE + sizeof(char)))
|
/external/dropbear/libtomcrypt/src/misc/ |
burn_stack.c | 25 zeromem(buf, sizeof(buf)); 26 if (len > (unsigned long)sizeof(buf)) 27 burn_stack(len - sizeof(buf));
|
/external/icu4c/samples/case/ |
ucase.c | 50 length = u_strToLower(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, 51 sizeof(upper)/sizeof(upper[0]), "tr", &errorCode); 63 length = u_strToUpper(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, 64 sizeof(upper)/sizeof(upper[0]), "en", &errorCode); 74 length = u_strFoldCase(buffer, sizeof(buffer)/sizeof(buffer[0]), unfold, [all...] |
/external/stlport/test/unit/ |
pair_test.cpp | 38 int PAIR_ARRAY_SIZE = sizeof(PAIR_ARRAY) > 0 ? sizeof(PAIR_ARRAY) / sizeof(PAIR_ARRAY[0]) : 0;
|
/ndk/sources/android/stlport/test/unit/ |
pair_test.cpp | 38 int PAIR_ARRAY_SIZE = sizeof(PAIR_ARRAY) > 0 ? sizeof(PAIR_ARRAY) / sizeof(PAIR_ARRAY[0]) : 0;
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
efs_dir.h | 24 #define EFS_DENTSIZE (sizeof(struct efs_dentry) - 3 + 1) 25 #define EFS_MAXNAMELEN ((1 << (sizeof(char) * 8)) - 1) 38 #define EFS_MAXENTS ((EFS_DIRBSIZE - EFS_DIRBLK_HEADERSIZE) / (EFS_DENTSIZE + sizeof(char)))
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
efs_dir.h | 24 #define EFS_DENTSIZE (sizeof(struct efs_dentry) - 3 + 1) 25 #define EFS_MAXNAMELEN ((1 << (sizeof(char) * 8)) - 1) 38 #define EFS_MAXENTS ((EFS_DIRBSIZE - EFS_DIRBLK_HEADERSIZE) / (EFS_DENTSIZE + sizeof(char)))
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
efs_dir.h | 24 #define EFS_DENTSIZE (sizeof(struct efs_dentry) - 3 + 1) 25 #define EFS_MAXNAMELEN ((1 << (sizeof(char) * 8)) - 1) 38 #define EFS_MAXENTS ((EFS_DIRBSIZE - EFS_DIRBLK_HEADERSIZE) / (EFS_DENTSIZE + sizeof(char)))
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
efs_dir.h | 24 #define EFS_DENTSIZE (sizeof(struct efs_dentry) - 3 + 1) 25 #define EFS_MAXNAMELEN ((1 << (sizeof(char) * 8)) - 1) 38 #define EFS_MAXENTS ((EFS_DIRBSIZE - EFS_DIRBLK_HEADERSIZE) / (EFS_DENTSIZE + sizeof(char)))
|