/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
OpenSSLDigest.java | 38 * Holds the output size of the message digest. 40 private final int size; field in class:OpenSSLDigest 43 * Holds the block size of the message digest. 63 private OpenSSLDigest(String algorithm, int evp_md, int size, int blockSize) { 66 this.size = size; 75 return size; 127 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD); 129 public MD5() { super("MD5", EVP_MD, SIZE, BLOCK_SIZE); } 134 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD) [all...] |
/external/valgrind/main/none/tests/ |
sigstackgrowth.c | 29 #define SIZE (4*1024*1024) 48 deep = &here - SIZE;
|
/hardware/libhardware_legacy/audio/ |
AudioHardwareStub.cpp | 101 const size_t SIZE = 256; 102 char buffer[SIZE]; 105 snprintf(buffer, SIZE, "\tmMicMute: %s\n", mMicMute? "true": "false"); 107 ::write(fd, result.string(), result.size()); 142 const size_t SIZE = 256; 143 char buffer[SIZE]; 145 snprintf(buffer, SIZE, "AudioStreamOutStub::dump\n"); 146 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate()); 147 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()) [all...] |
AudioHardwareGeneric.cpp | 168 const size_t SIZE = 256; 169 char buffer[SIZE]; 172 snprintf(buffer, SIZE, "\tmFd: %d mMicMute: %s\n", mFd, mMicMute? "true": "false"); 174 ::write(fd, result.string(), result.size()); 247 const size_t SIZE = 256; 248 char buffer[SIZE]; 250 snprintf(buffer, SIZE, "AudioStreamOutGeneric::dump\n"); 252 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate()); 254 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()) [all...] |
AudioHardwareInterface.cpp | 139 const size_t SIZE = 256; 140 char buffer[SIZE]; 142 snprintf(buffer, SIZE, "AudioHardwareBase::dumpState\n"); 144 snprintf(buffer, SIZE, "\tmMode: %d\n", mMode); 146 ::write(fd, result.string(), result.size());
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AtomicDoubleArrayTest.java | 56 * constructor creates array of given size with all elements zero 59 AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); 60 for (int i = 0; i < SIZE; i++) { 77 * constructor with array is of same size and has all elements 88 * constructor with empty array has size 0 and contains no elements 100 * constructor with length zero has size 0 and contains no elements 115 AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); 116 for (int index : new int[] { -1, SIZE }) { 180 AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); 181 for (int i : new int[] { 0, SIZE - 1}) [all...] |
/external/e2fsprogs/intl/ |
xsize.h | 32 /* The size of memory objects is often computed through expressions of 44 size_t size = xsum (header_size, xtimes (n, element_size)); 45 void *p = (size_in_bounds_p (size) ? malloc (size) : NULL); 95 /* Multiplication of a count with an element size, with overflow check. 96 The count must be >= 0 and the element size must be > 0. 103 #define size_overflow_p(SIZE) \ 104 ((SIZE) == SIZE_MAX) 106 #define size_in_bounds_p(SIZE) \ 107 ((SIZE) != SIZE_MAX [all...] |
/ndk/sources/host-tools/nawk-20071023/ |
maketab.c | 109 #define SIZE (LASTTOKEN - FIRSTTOKEN + 1) 110 const char *table[SIZE]; 111 char *names[SIZE]; 125 for (i = SIZE; --i >= 0; ) 142 printf("static char *printname[%d] = {\n", SIZE); 161 printf("\nCell *(*proctab[%d])(Node **, int) = {\n", SIZE); 162 for (i=0; i<SIZE; i++)
|
/hardware/ti/omap4xxx/domx/domx/omx_rpc/inc/ |
omx_rpc_utils.h | 111 #define RPC_SETFIELDCOPYGEN(MSGBODY, POS, PTR, SIZE) do { \ 112 TIMM_OSAL_Memcpy((OMX_U8*)((OMX_U32)MSGBODY+POS), PTR, SIZE); \ 113 POS += SIZE; \ 134 #define RPC_GETFIELDCOPYGEN(MSGBODY, POS, PTR, SIZE) do { \ 135 TIMM_OSAL_Memcpy(PTR, (OMX_U8*)((OMX_U32)MSGBODY+POS), SIZE); \ 136 POS += SIZE; \ 152 RPC_OMX_ERRORTYPE RPC_FlushBuffer(OMX_U8 * pBuffer, OMX_U32 size, 155 OMX_U32 size, OMX_U32 nTargetCoreId);
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/config/arm/ |
aout.h | 336 #define ASM_OUTPUT_COMMON(STREAM, NAME, SIZE, ROUNDED) \ 342 (int)(ROUNDED), (int)(SIZE)); \ 352 #define ASM_OUTPUT_ALIGNED_LOCAL(STREAM, NAME, SIZE, ALIGN) \ 358 fprintf (STREAM, "\t.space\t%d\n", (int)(SIZE)); \ 365 #define ASM_OUTPUT_ALIGNED_BSS(STREAM, DECL, NAME, SIZE, ALIGN) \ 366 asm_output_aligned_bss (STREAM, DECL, NAME, SIZE, ALIGN)
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/config/arm/ |
aout.h | 336 #define ASM_OUTPUT_COMMON(STREAM, NAME, SIZE, ROUNDED) \ 342 (int)(ROUNDED), (int)(SIZE)); \ 352 #define ASM_OUTPUT_ALIGNED_LOCAL(STREAM, NAME, SIZE, ALIGN) \ 358 fprintf (STREAM, "\t.space\t%d\n", (int)(SIZE)); \ 365 #define ASM_OUTPUT_ALIGNED_BSS(STREAM, DECL, NAME, SIZE, ALIGN) \ 366 asm_output_aligned_bss (STREAM, DECL, NAME, SIZE, ALIGN)
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/config/arm/ |
aout.h | 336 #define ASM_OUTPUT_COMMON(STREAM, NAME, SIZE, ROUNDED) \ 342 (int)(ROUNDED), (int)(SIZE)); \ 352 #define ASM_OUTPUT_ALIGNED_LOCAL(STREAM, NAME, SIZE, ALIGN) \ 358 fprintf (STREAM, "\t.space\t%d\n", (int)(SIZE)); \ 365 #define ASM_OUTPUT_ALIGNED_BSS(STREAM, DECL, NAME, SIZE, ALIGN) \ 366 asm_output_aligned_bss (STREAM, DECL, NAME, SIZE, ALIGN)
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/config/arm/ |
aout.h | 336 #define ASM_OUTPUT_COMMON(STREAM, NAME, SIZE, ROUNDED) \ 342 (int)(ROUNDED), (int)(SIZE)); \ 352 #define ASM_OUTPUT_ALIGNED_LOCAL(STREAM, NAME, SIZE, ALIGN) \ 358 fprintf (STREAM, "\t.space\t%d\n", (int)(SIZE)); \ 365 #define ASM_OUTPUT_ALIGNED_BSS(STREAM, DECL, NAME, SIZE, ALIGN) \ 366 asm_output_aligned_bss (STREAM, DECL, NAME, SIZE, ALIGN)
|
/device/generic/goldfish/audio/ |
AudioHardwareGeneric.cpp | 165 const size_t SIZE = 256; 166 char buffer[SIZE]; 169 snprintf(buffer, SIZE, "\tmFd: %d mMicMute: %s\n", mFd, mMicMute? "true": "false"); 171 ::write(fd, result.string(), result.size()); 244 const size_t SIZE = 256; 245 char buffer[SIZE]; 247 snprintf(buffer, SIZE, "AudioStreamOutGeneric::dump\n"); 249 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate()); 251 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()) [all...] |
/external/guava/guava/src/com/google/common/cache/ |
RemovalCause.java | 82 * The entry was evicted due to size constraints. This can occur when using 85 SIZE {
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
DrawPoints.java | 36 private static final float SIZE = 300; 46 final float delta = SIZE / SEGS; 48 mPts[i*4 + X] = SIZE - value;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
ComposeShaderTest.java | 38 private static final int SIZE = 255; 42 LinearGradient blueGradient = new LinearGradient(0, 0, SIZE, 0, 44 LinearGradient redGradient = new LinearGradient(0, 0, 0, SIZE, 48 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); 54 for (int y = 0; y < SIZE; y++) { 55 for (int x = 0; x < SIZE; x++) {
|
SweepGradientTest.java | 37 private static final int SIZE = 200; 38 private static final int CENTER = SIZE / 2; 47 mBitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); 57 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); 66 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); 77 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint) [all...] |
/frameworks/native/libs/ui/ |
GraphicBufferAllocator.cpp | 59 const size_t SIZE = 4096; 60 char buffer[SIZE]; 61 snprintf(buffer, SIZE, "Allocated buffers:\n"); 63 const size_t c = list.size(); 66 if (rec.size) { 67 snprintf(buffer, SIZE, "%10p: %7.2f KiB | %4u (%4u) x %4u | %8X | 0x%08x\n", 68 list.keyAt(i), rec.size/1024.0f, 71 snprintf(buffer, SIZE, "%10p: unknown | %4u (%4u) x %4u | %8X | 0x%08x\n", 76 total += rec.size; 78 snprintf(buffer, SIZE, "Total allocated (estimate): %.2f KB\n", total/1024.0f) [all...] |
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_tiled_backing_store.h | 41 #define TILE_SIZE_AT_ZOOM(SIZE, ZOOM) ((int)roundf((SIZE) * (ZOOM))) 42 #define TILE_W_ZOOM_AT_SIZE(SIZE) ((float)SIZE / (float)TILE_W) 43 #define TILE_H_ZOOM_AT_SIZE(SIZE) ((float)SIZE / (float)TILE_H) 65 Eina_Bool full_update:1; /**< tile requires full size update */ 80 const Evas_Coord w, h; /**< tile size (see TILE_SIZE_AT_ZOOM()) */
|
/frameworks/av/media/libmedia/ |
MemoryLeakTrackUtil.cpp | 59 size_t size() const { function in struct:android::MyString8 72 const size_t SIZE = 256; 73 char buffer[SIZE]; 77 size_t size; member in struct:android::__anon17700 93 snprintf(buffer, SIZE, " Allocation count %i\n", count); 95 snprintf(buffer, SIZE, " Total memory %i\n", totalMemory); 104 e->size = *reinterpret_cast<size_t *>(ptr); 114 // Now we need to sort the entries. They come sorted by size but 123 bool swap = e1->size < e2->size; [all...] |
/external/guava/guava/src/com/google/common/math/ |
IntMath.java | 84 return (Integer.SIZE - 1) - Integer.numberOfLeadingZeros(x); 88 return Integer.SIZE - Integer.numberOfLeadingZeros(x - 1); 97 int logFloor = (Integer.SIZE - 1) - leadingZeros; 177 return (k < Integer.SIZE) ? (1 << k) : 0; 179 if (k < Integer.SIZE) { 268 int signum = 1 | ((p ^ q) >> (Integer.SIZE - 1)); 402 checkNoOverflow(k < Integer.SIZE - 1); 405 checkNoOverflow(k < Integer.SIZE);
|
/external/openssl/crypto/bn/ |
exp.c | 7 #define SIZE 256 17 int j,i,size=SIZE,num=NUM,mod=MOD; local 31 while (size <= 1024*8) 33 BN_rand(&a,size,0,0); 34 BN_rand(&b,size,1,0); 35 BN_rand(&c,size,0,1); 54 printf("%5d bit:%6.2f %6d %6.4f %4d m_set(%5.4f)\n",size, 59 size*=2;
|
/frameworks/base/services/jni/ |
com_android_server_BatteryService.cpp | 136 static int readFromFile(const char* path, char* buf, size_t size) 146 ssize_t count = read(fd, buf, size); 161 const int SIZE = 16; 162 char buf[SIZE]; 165 if (readFromFile(path, buf, SIZE) > 0) { 175 const int SIZE = 128; 176 char buf[SIZE]; 179 if (readFromFile(path, buf, SIZE) > 0) { 187 const int SIZE = 128; 188 char buf[SIZE]; [all...] |
/external/clang/test/SemaTemplate/ |
dependent-type-identity.cpp | 94 enum { SIZE = 100 }; 95 static T member[SIZE]; 99 T TemplateClass2<T>::member[TemplateClass2<T>::SIZE];
|