/external/openssl/crypto/ |
LPdir_unix.c | 78 *ctx = (LP_DIR_CTX *)malloc(sizeof(LP_DIR_CTX)); 84 memset(*ctx, '\0', sizeof(LP_DIR_CTX)); 103 strncpy((*ctx)->entry_name, direntry->d_name, sizeof((*ctx)->entry_name) - 1); 104 (*ctx)->entry_name[sizeof((*ctx)->entry_name) - 1] = '\0';
|
s390xcap.c | 21 memset(&ill_act,0,sizeof(ill_act));
|
/external/openssl/crypto/bio/ |
b_sock.c | 242 size=sizeof(int); 302 ret=(struct hostent *)OPENSSL_malloc(sizeof(struct hostent)); 304 memset(ret,0,sizeof(struct hostent)); 309 ret->h_aliases = (char **)OPENSSL_malloc(i*sizeof(char *)); 312 memset(ret->h_aliases, 0, i*sizeof(char *)); 317 ret->h_addr_list=(char **)OPENSSL_malloc(i*sizeof(char *)); 320 memset(ret->h_addr_list, 0, i*sizeof(char *)); 481 memset(&wsa_state,0,sizeof(wsa_state)); 662 memset(&hint,0,sizeof(hint)); 680 addrlen = res->ai_addrlen<=sizeof(server) [all...] |
/external/protobuf/src/google/protobuf/ |
repeated_field.cc | 48 memcpy(elements_, old_elements, allocated_size_ * sizeof(elements_[0])); 62 memcpy(swap_initial_space, initial_space_, sizeof(initial_space_)); 68 memcpy(initial_space_, other->initial_space_, sizeof(initial_space_)); 74 memcpy(other->initial_space_, swap_initial_space, sizeof(swap_initial_space));
|
/external/qemu/ |
acl.c | 59 acl = qemu_malloc(sizeof(*acl)); 69 acls = qemu_realloc(acls, sizeof(*acls) * (nacls +1)); 120 entry = qemu_malloc(sizeof(*entry)); 146 entry = qemu_malloc(sizeof(*entry));
|
/external/qemu/android/ |
hw-lcd.c | 29 snprintf(temp, sizeof temp, "%d", density);
|
/external/qemu/android/utils/ |
dirscanner.c | 41 char* end = s->root + sizeof s->root; 152 DirScanner* s = qemu_mallocz(sizeof *s); 154 char* end = p + sizeof s->root; 195 end = p + sizeof s->full;
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dummy/ |
SDL_dummyaudio.c | 67 this = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice)); 69 SDL_memset(this, 0, (sizeof *this)); 71 SDL_malloc((sizeof *this->hidden)); 80 SDL_memset(this->hidden, 0, (sizeof *this->hidden));
|
/external/qemu/distrib/sdl-1.2.12/src/loadso/win32/ |
SDL_sysloadso.c | 42 wchar_t *errbuf_t = SDL_malloc(512 * sizeof(wchar_t)); 43 wchar_t *sofile_t = SDL_malloc((MAX_PATH+1) * sizeof(wchar_t)); 93 wchar_t *name_t = SDL_malloc((length + 1) * sizeof(wchar_t)); 94 wchar_t *errbuf_t = SDL_malloc(512 * sizeof(wchar_t));
|
/external/qemu/distrib/sdl-1.2.12/src/video/dc/ |
SDL_dcevents.c | 83 for(i=0;i<sizeof(sdl_mousebtn);i++) { 111 SDL_memset(&old_state,0,sizeof(old_state)); 120 for(i=0;i<sizeof(sdl_shift);i++) { 127 for(i=0;i<sizeof(sdl_key);i++) {
|
/external/skia/tests/ |
ClipperTest.cpp | 56 if (!valid || memcmp(&gFull[i], dst, sizeof(dst))) { 59 REPORTER_ASSERT(reporter, valid && !memcmp(&gFull[i], dst, sizeof(dst))); 75 if (!valid || memcmp(&gPartial[i+2], dst, sizeof(dst))) { 79 !memcmp(&gPartial[i+2], dst, sizeof(dst)));
|
PackBitsTest.cpp | 34 gTests[i].fCount * sizeof(uint16_t)) == 0; 50 bool match = memcmp(src, src2, size * sizeof(uint16_t)) == 0; 88 gTests[i].fCount * sizeof(uint8_t)) == 0; 104 bool match = memcmp(src, src2, size * sizeof(uint8_t)) == 0;
|
/external/srec/srec/clib/ |
matx_ops.c | 43 matrix = (covdata **) CALLOC(dimen, sizeof(covdata *), 46 matrix[ii] = (covdata *) CALLOC(dimen, sizeof(covdata), 129 matrix = (imeldata **) CALLOC(dimen, sizeof(imeldata *), 132 matrix[ii] = (imeldata *) CALLOC(dimen, sizeof(imeldata),
|
/external/stlport/stlport/stl/pointers/ |
_tools.h | 93 enum { use_void_ptr = (sizeof(_UseVoidPtrStorageType(__true_type(), 94 __STATIC_CAST(_Tp*, 0))) == sizeof(char*)) }; 104 enum { use_void_ptr = (sizeof(_UseConstVoidPtrStorageType(__true_type(), 105 __STATIC_CAST(const _Tp*, 0))) == sizeof(char*)) }; 117 enum { use_void_ptr = (sizeof(_UseVolatileVoidPtrStorageType(__true_type(), 118 __STATIC_CAST(_Tp volatile*, 0))) == sizeof(char*)) }; 130 enum { use_void_ptr = (sizeof(_UseConstVolatileVoidPtrStorageType(__true_type(), 131 __STATIC_CAST(_Tp const volatile*, 0))) == sizeof(char*)) }; 150 enum { use_void_ptr = (sizeof(_UseVoidPtrStorageType(_PODType(), __null_rep())) == sizeof(char*)) } [all...] |
/external/stlport/stlport/ |
type_traits | 58 static const bool __value = sizeof(__test<_Tp>(0)) == sizeof(__select_types::__t1); 65 const bool __instance<_Tp>::__value = sizeof(__instance<_Tp>::__test<_Tp>(0)) == sizeof(__select_types::__t1); 83 static const bool __value = sizeof(__test<T>(0)) == sizeof(__select_types::__t1); 89 const bool __uoc_aux<T>::__value = sizeof(__uoc_aux<T>::__test<T>(0)) == sizeof(__select_types::__t1); 117 static const bool __value = B ? (sizeof(__inheritance_aux<T,B>) == sizeof(T)) : false [all...] |
/external/stlport/test/unit/ |
find_test.cpp | 68 const unsigned yearCount = sizeof(years) / sizeof(years[0]); 122 size_t str_size = sizeof(str) / sizeof(char);
|
partition_test.cpp | 69 CPPUNIT_ASSERT( nb_pred_calls == sizeof(numbers) / sizeof(numbers[0]) ); 106 CPPUNIT_ASSERT( nb_pred_calls == sizeof(numbers) / sizeof(numbers[0]) );
|
/external/tcpdump/ |
igrp.h | 33 #define IGRP_RTE_SIZE 14 /* don't believe sizeof ! */
|
/external/webkit/WebCore/css/ |
CSSPropertyLonghand.cpp | 35 map.set(propID, CSSPropertyLonghand(array, sizeof(array) / sizeof(array[0]))) 51 shorthandMap.set(CSSPropertyBorder, CSSPropertyLonghand(borderProperties[0], sizeof(borderProperties) / sizeof(borderProperties[0][0])));
|
/external/webkit/WebCore/platform/win/ |
MIMETypeRegistryWin.cpp | 39 DWORD contentTypeStrLen = sizeof(contentTypeStr); 45 return String(contentTypeStr, contentTypeStrLen / sizeof(contentTypeStr[0]) - 1); 54 DWORD extStrLen = sizeof(extStr); 60 return String(extStr + 1, extStrLen / sizeof(extStr[0]) - 2);
|
/external/webkit/WebCore/rendering/ |
RenderArena.cpp | 65 memset(m_recyclers, 0, sizeof(m_recyclers)); 78 void* block = ::malloc(sizeof(RenderArenaDebugHeader) + size); 88 size = ROUNDUP(size, sizeof(void*)); 123 size = ROUNDUP(size, sizeof(void*));
|
/external/webkit/WebKit/android/ |
RenderSkinButton.cpp | 54 static SkBitmap gButton[sizeof(gFiles)/sizeof(gFiles[0])]; 69 for (size_t i = 0; i < sizeof(gFiles)/sizeof(gFiles[0]); i++) {
|
/external/webkit/WebKit/chromium/src/ |
WebEntities.cpp | 90 sizeof(xmlBuiltInEntityCodes) / sizeof(Entity), 95 sizeof(wordlist) / sizeof(Entity),
|
/external/yaffs2/yaffs2/direct/ |
yaffs_fileem.c | 102 memset(&p,0xff,sizeof(yflash_Page)); 106 written = write(filedisk.handle,&p,sizeof(yflash_Page)); 108 if(written != sizeof(yflash_Page)) 196 memset(&pg,0xff,sizeof(yflash_Page));
|
/external/yaffs2/yaffs2/ |
yaffs_tagsvalidity.c | 21 memset(tags, 0, sizeof(yaffs_ExtendedTags));
|