/external/ppp/pppd/plugins/radius/ |
lock.c | 21 memset((void *)&fl, 0, sizeof(fl)); 39 memset((void *)&fl, 0, sizeof(fl));
|
options.h | 62 static int num_options = ((sizeof(config_options))/(sizeof(config_options[0])));
|
/external/qemu/distrib/sdl-1.2.12/src/events/ |
SDL_expose.c | 37 SDL_PeepEvents(events, sizeof(events)/sizeof(events[0]),
|
/external/quake/quake/src/WinQuake/ |
snd_next.cpp | 30 size = 16384 + sizeof(dma_t);
34 shm->buffer = (char*)shm + sizeof(dma_t);
|
/external/skia/src/core/ |
SkTemplatesPriv.h | 37 SkASSERT(storageSize >= sizeof(classname)); \ 48 SkASSERT(storageSize >= sizeof(classname)); \
|
/external/skia/src/ports/ |
SkThread_win.cpp | 45 COMPILE_ASSERT(sizeof(fStorage) > sizeof(CRITICAL_SECTION),
|
/external/srec/srec/clib/ |
imeld_rd.c | 61 sizeof(imeldata), "clib.offset"); 108 pfread(&matdim, sizeof(short), 1, dfpt); 113 pfread(&scale, sizeof(double), 1, dfpt); 129 pfread(onerow, sizeof(double), matdim, dfpt); 133 pfread(onerow, sizeof(double), matdim, dfpt); 149 pfread(onerow, sizeof(double), matdim, dfpt); 160 pfread(onerow, sizeof(double), matdim, dfpt); 175 pfread(onerow, sizeof(double), matdim, dfpt);
|
/external/stlport/stlport/stl/ |
_string_io.c | 48 const bool __need_pad = (((sizeof(streamsize) > sizeof(size_t)) && (__STATIC_CAST(streamsize, __n) < __w)) || 49 ((sizeof(streamsize) <= sizeof(size_t)) && (__n < __STATIC_CAST(size_t, __w)))); 90 /* __width can only overflow size_type if sizeof(streamsize) > sizeof(size_type) 94 else if (sizeof(streamsize) > sizeof(size_type) &&
|
/external/stlport/test/unit/ |
max_test.cpp | 61 const unsigned namesCt = sizeof(names) / sizeof(names[0]);
|
min_test.cpp | 59 const unsigned namesCt = sizeof(names) / sizeof(names[0]);
|
/external/webkit/JavaScriptCore/wtf/ |
ByteArray.cpp | 33 unsigned char* buffer = new unsigned char[size + sizeof(ByteArray) - sizeof(size_t)];
|
/external/webkit/WebCore/platform/android/ |
PlatformBridge.h | 57 // ARRAYSIZE_UNSAFE(arr) works by inspecting sizeof(arr) (the # of bytes in 58 // the array) and sizeof(*(arr)) (the # of bytes in one array 66 // !(sizeof(a) & sizeof(*(a))) to size_t in order to ensure the final 76 ((sizeof(a) / sizeof(*(a))) / \ 77 static_cast<size_t>(!(sizeof(a) % sizeof(*(a)))))
|
/external/webkit/WebCore/platform/graphics/mac/ |
ComplexTextControllerCoreText.cpp | 54 m_coreTextIndicesData.adoptCF(CFDataCreateMutable(kCFAllocatorDefault, m_glyphCount * sizeof(CFIndex))); 55 CFDataIncreaseLength(m_coreTextIndicesData.get(), m_glyphCount * sizeof(CFIndex)); 97 m_coreTextIndicesData.adoptCF(CFDataCreateMutable(kCFAllocatorDefault, m_glyphCount * sizeof(CFIndex))); 98 CFDataAppendBytes(m_coreTextIndicesData.get(), reinterpret_cast<const UInt8*>(indices.data()), m_glyphCount * sizeof(CFIndex)); 129 static CFDictionaryRef ltrTypesetterOptions = CFDictionaryCreate(kCFAllocatorDefault, optionKeys, ltrOptionValues, sizeof(optionKeys) / sizeof(*optionKeys), &kCFCopyStringDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks); 130 static CFDictionaryRef rtlTypesetterOptions = CFDictionaryCreate(kCFAllocatorDefault, optionKeys, rtlOptionValues, sizeof(optionKeys) / sizeof(*optionKeys), &kCFCopyStringDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks);
|
/external/wpa_supplicant/ |
driver_wired.c | 68 os_memset(&ifr, 0, sizeof(ifr)); 92 os_memset(&ifr, 0, sizeof(ifr)); 116 os_memset(&ifr, 0, sizeof(ifr)); 126 dlp->sdl_len = sizeof(struct sockaddr_dl); 155 os_memset(&mreq, 0, sizeof(mreq)); 163 &mreq, sizeof(mreq)) < 0) { 179 drv = os_zalloc(sizeof(*drv)); 182 os_strncpy(drv->ifname, ifname, sizeof(drv->ifname));
|
/external/yaffs2/yaffs2/ |
yaffs_packedtags1.c | 23 if (memcmp(allFF, pt, sizeof(yaffs_PackedTags1))) { 36 memset(t, 0, sizeof(yaffs_ExtendedTags));
|
/frameworks/base/cmds/servicemanager/ |
service_manager.c | 83 for (n = 0; n < sizeof(allowed) / sizeof(allowed[0]); n++) 107 !memcmp(s16, si->name, len * sizeof(uint16_t))) { 168 si = malloc(sizeof(*si) + (len + 1) * sizeof(uint16_t)); 176 memcpy(si->name, s, (len + 1) * sizeof(uint16_t)); 212 if ((len != (sizeof(svcmgr_id) / 2)) || 213 memcmp(svcmgr_id, s, sizeof(svcmgr_id))) {
|
/frameworks/base/core/jni/android/graphics/ |
PorterDuff.cpp | 48 sizeof(methods) / sizeof(methods[0]));
|
Rasterizer.cpp | 46 sizeof(methods) / sizeof(methods[0]));
|
/frameworks/base/include/ui/ |
android_native_buffer.h | 33 common.version = sizeof(android_native_buffer_t); 34 memset(common.reserved, 0, sizeof(common.reserved));
|
/frameworks/base/libs/rs/ |
rsHandcode.h | 7 uint32_t size = sizeof(RS_CMD_AllocationData); 28 uint32_t size = sizeof(RS_CMD_Allocation1DSubData);
|
/frameworks/base/media/libstagefright/ |
MetaData.cpp | 58 return setData(key, TYPE_INT32, &value, sizeof(value)); 62 return setData(key, TYPE_INT64, &value, sizeof(value)); 66 return setData(key, TYPE_FLOAT, &value, sizeof(value)); 70 return setData(key, TYPE_POINTER, &value, sizeof(value)); 94 CHECK_EQ(size, sizeof(*value)); 109 CHECK_EQ(size, sizeof(*value)); 124 CHECK_EQ(size, sizeof(*value)); 139 CHECK_EQ(size, sizeof(*value));
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/ |
AMRWBEncoder.cpp | 96 memset(&userData, 0, sizeof(userData)); 214 sizeof(int16_t) 220 size_t align = mInputBuffer->range_length() % sizeof(int16_t); 236 (kNumSamplesPerFrame - mNumInputSamples) * sizeof(int16_t); 256 mNumInputSamples += copy / sizeof(int16_t); 264 memset(&inputData, 0, sizeof(inputData)); 274 memset(&outputData, 0, sizeof(outputData)); 276 memset(&outputInfo, 0, sizeof(outputInfo));
|
/frameworks/base/voip/jni/rtp/ |
EchoSuppressor.cpp | 59 memset(mXs, 0, sizeof(*mXs) * (mTailLength + mWindowSize)); 61 memset(mXSums, 0, sizeof(*mXSums) * mTailLength); 63 memset(mX2Sums, 0, sizeof(*mX2Sums) * mTailLength); 65 memset(mXRecords, 0, sizeof(*mXRecords) * mRecordLength * mWindowSize); 70 memset(mYRecords, 0, sizeof(*mYRecords) * mRecordLength); 72 memset(mY2Records, 0, sizeof(*mY2Records) * mRecordLength); 75 memset(mXYSums, 0, sizeof(*mXYSums) * mTailLength); 77 memset(mXYRecords, 0, sizeof(*mXYRecords) * mRecordLength * mTailLength);
|
/ndk/sources/android/stlport/stlport/stl/ |
_string_io.c | 48 const bool __need_pad = (((sizeof(streamsize) > sizeof(size_t)) && (__STATIC_CAST(streamsize, __n) < __w)) || 49 ((sizeof(streamsize) <= sizeof(size_t)) && (__n < __STATIC_CAST(size_t, __w)))); 90 /* __width can only overflow size_type if sizeof(streamsize) > sizeof(size_type) 94 else if (sizeof(streamsize) > sizeof(size_type) &&
|
/ndk/sources/android/stlport/test/unit/ |
max_test.cpp | 61 const unsigned namesCt = sizeof(names) / sizeof(names[0]);
|