/external/elfutils/libelf/ |
gelf_getrela.c | 63 if (unlikely ((ndx + 1) * sizeof (Elf32_Rela) > data_scn->d.d_size)) 84 if (unlikely ((ndx + 1) * sizeof (Elf64_Rela) > data_scn->d.d_size)) 91 sizeof (Elf64_Rela));
|
/external/elfutils/tests/ |
asm-tst5.c | 52 snprintf (buf, sizeof (buf), ".data.%Zu", cnt); 65 snprintf (buf, sizeof (buf), "%Zu", cnt); 66 if (asm_newsym (scn, buf, sizeof (uint32_t), STT_OBJECT,
|
/external/icu4c/common/ |
udataswp.c | 252 if( (length>=0 && length<sizeof(DataHeader)) || 265 if( headerSize<sizeof(DataHeader) || 266 infoSize<sizeof(UDataInfo) || 267 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || 297 infoSize+=sizeof(pHeader->dataHeader); 326 swapper=uprv_malloc(sizeof(UDataSwapper)); 331 uprv_memset(swapper, 0, sizeof(UDataSwapper)); 372 (length>=0 && length<sizeof(DataHeader)) || 380 if( (length>=0 && length<sizeof(DataHeader)) || 400 if( headerSize<sizeof(DataHeader) | [all...] |
/external/icu4c/i18n/ |
ucsdet.cpp | 19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 21 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type))
|
/external/icu4c/test/cintltst/ |
cucdapi.c | 13 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof(array[0])) 97 if(num!=(sizeof(jaCode)/sizeof(UScriptCode))){ 99 num, (sizeof(jaCode)/sizeof(UScriptCode))); 101 for(j=0;j<sizeof(jaCode)/sizeof(UScriptCode);j++) { 132 while(i<sizeof(testAbbr)/sizeof(UScriptCode)) [all...] |
/external/icu4c/test/iotest/ |
stream.cpp | 84 strncpy(defConvName, ucnv_getDefaultName(), sizeof(defConvName)/sizeof(defConvName[0])); 93 ostrstream outTestStream(testStreamBuf, sizeof(testStreamBuf)); 97 memset(testStreamBuf, '*', sizeof(testStreamBuf)); 98 testStreamBuf[sizeof(testStreamBuf)-1] = 0; 136 memset(testFormatStreamBuf, 0, sizeof(testFormatStreamBuf)); 137 ostrstream outFormatStream(testFormatStreamBuf, sizeof(testFormatStreamBuf)); 156 memset(testLargeStreamBuf, 0, sizeof(testLargeStreamBuf)); 157 ostrstream outLargeStream(testLargeStreamBuf, sizeof(testLargeStreamBuf)); 160 int32_t large_array_length = sizeof(large_array)/sizeof(UChar) [all...] |
/external/iproute2/tc/ |
q_fifo.c | 37 memset(&opt, 0, sizeof(opt)); 59 addattr_l(n, 1024, TCA_OPTIONS, &opt, sizeof(opt)); 70 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
|
/external/kernel-headers/original/linux/ |
poll.h | 21 #define N_INLINE_POLL_ENTRIES (WQUEUES_STACK_ALLOC / sizeof(struct poll_table_entry)) 77 #define FDS_BITPERLONG (8*sizeof(long)) 79 #define FDS_BYTES(nr) (FDS_LONGS(nr)*sizeof(long))
|
/external/ppp/pppd/plugins/radius/ |
clientid.c | 50 while (fgets(buffer, sizeof(buffer), mapfd) != NULL) 69 if ((p = (struct map2id_s *)malloc(sizeof(*p))) == NULL) { 113 strncat(ttyname, name, sizeof(ttyname));
|
/external/qemu/distrib/sdl-1.2.12/src/joystick/ |
SDL_joystick.c | 51 arraylen = (status+1)*sizeof(*SDL_joysticks); 114 joystick = (SDL_Joystick *)SDL_malloc((sizeof *joystick)); 116 SDL_memset(joystick, 0, (sizeof *joystick)); 124 (joystick->naxes*sizeof(Sint16)); 128 (joystick->nhats*sizeof(Uint8)); 132 (joystick->nballs*sizeof(*joystick->balls)); 136 (joystick->nbuttons*sizeof(Uint8)); 148 joystick->naxes*sizeof(Sint16)); 152 joystick->nhats*sizeof(Uint8)); 156 joystick->nballs*sizeof(*joystick->balls)) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ataricommon/ |
SDL_biosevents.c | 53 SDL_memset(bios_currentkeyboard, 0, sizeof(bios_currentkeyboard)); 54 SDL_memset(bios_previouskeyboard, 0, sizeof(bios_previouskeyboard)); 106 SDL_memcpy(bios_previouskeyboard, bios_currentkeyboard, sizeof(bios_previouskeyboard));
|
SDL_gemdosevents.c | 60 SDL_memset(gemdos_currentkeyboard, 0, sizeof(gemdos_currentkeyboard)); 61 SDL_memset(gemdos_previouskeyboard, 0, sizeof(gemdos_previouskeyboard)); 112 SDL_memcpy(gemdos_previouskeyboard, gemdos_currentkeyboard, sizeof(gemdos_previouskeyboard));
|
/external/skia/src/utils/ |
SkMeshUtils.cpp | 6 sk_bzero(this, sizeof(*this)); 36 fStorage = sk_malloc_throw(fTexCount * sizeof(SkPoint) + 37 fIndexCount * sizeof(uint16_t));
|
/external/stlport/stlport/stl/ |
_pthread_alloc.h | 134 size_type __buf_size = __n * sizeof(value_type); 149 memset((char*)__p, _STLP_SHRED_BYTE, __n * sizeof(value_type)); 151 _S_Alloc::deallocate(__p, __n * sizeof(value_type)); 156 { return size_t(-1) / sizeof(_Tp); } 173 size_type __buf_size = __n * sizeof(value_type); 178 __allocated_n = __buf_size / sizeof(value_type); 317 size_type __buf_size = __n * sizeof(value_type); 332 memset((char*)__p, _STLP_SHRED_BYTE, __n * sizeof(value_type)); 334 _S_Alloc::deallocate(__p, __n * sizeof(value_type), _M_state); 339 { return size_t(-1) / sizeof(_Tp); [all...] |
/external/strace/ |
ioctlsort.c | 46 int nioctlents = sizeof ioctlent / sizeof ioctlent[0]; 65 qsort(ioctlent, nioctlents, sizeof ioctlent[0], compare);
|
/external/webkit/JavaScriptCore/interpreter/ |
RegisterFile.cpp | 37 munmap(m_buffer, ((m_max - m_start) + m_maxGlobals) * sizeof(Register)); 51 while (madvise(m_start, (m_max - m_start) * sizeof(Register), MADV_FREE) == -1 && errno == EAGAIN) { } 53 VirtualFree(m_start, (m_max - m_start) * sizeof(Register), MEM_DECOMMIT);
|
/external/webkit/JavaScriptCore/runtime/ |
PropertyMapHashTable.h | 82 return sizeof(PropertyMapHashTable) 83 + (size - 1) * sizeof(unsigned) 84 + (1 + size / 2) * sizeof(PropertyMapEntry);
|
/external/webkit/JavaScriptCore/wtf/ |
FastAllocBase.h | 126 void* p = fastMalloc(sizeof(T)); 138 void* p = fastMalloc(sizeof(T)); 150 void* p = fastMalloc(sizeof(T)); 162 void* p = fastMalloc(sizeof(T)); 174 void* p = fastMalloc(sizeof(T)); 186 void* p = fastMalloc(sizeof(T)); 218 T* p = static_cast<T*>(fastMalloc(sizeof(T) * count)); 230 T* p = static_cast<T*>(fastMalloc(sizeof(T) * count)); 250 void* p = fastMalloc(sizeof(AllocAlignmentInteger) + (sizeof(T) * count)) [all...] |
/external/webkit/JavaScriptCore/wtf/win/ |
MainThreadWin.cpp | 62 memset(&wcex, 0, sizeof(WNDCLASS)); 65 memset(&wcex, 0, sizeof(WNDCLASSEX)); 66 wcex.cbSize = sizeof(WNDCLASSEX);
|
/external/webkit/WebCore/platform/graphics/wince/ |
FontCustomPlatformData.cpp | 61 Vector<char> fontUuid(sizeof(GUID)); 64 for (int i = 0; i < sizeof(GUID) / sizeof(int) ; ++i)
|
/external/webkit/WebCore/platform/win/ |
BitmapInfo.cpp | 35 bitmapInfo.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); 52 memset(&bmiHeader, 0, sizeof(bmiHeader)); 53 bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
|
/external/wpa_supplicant/ |
driver_ndis_.c | 58 if (len < sizeof(int)) 61 pos = buf + sizeof(int); 102 if (ReadFile(drv->events_pipe, buf, sizeof(buf), &len, NULL))
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver_ndis_.c | 55 if (len < sizeof(int)) 58 pos = buf + sizeof(int); 99 if (ReadFile(drv->events_pipe, buf, sizeof(buf), &len, NULL))
|
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui-qt4/ |
scanresults.cpp | 68 snprintf(cmd, sizeof(cmd), "BSS %d", index++); 72 reply_len = sizeof(reply) - 1; 120 size_t reply_len = sizeof(reply);
|
/frameworks/base/include/utils/ |
ObbFile.h | 80 *length = sizeof(mSalt); 85 if (length != sizeof(mSalt)) { 89 memcpy(mSalt, salt, sizeof(mSalt));
|