/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11modes.c | 192 XRRScreenSize *sizes; local 195 sizes = XRRConfigSizes(screen_config, &nsizes); 220 if ( (sizes[size_id].width == SDL_modelist[i]->w) && 221 (sizes[size_id].height == SDL_modelist[i]->h) ) 269 XRRScreenSize* sizes; local 271 sizes = XRRConfigSizes(screen_config, &nsizes); 278 *w = sizes[cur_size].width; 279 *h = sizes[cur_size].height; 485 XRRScreenSize *sizes; local 591 sizes = XRRConfigSizes(screen_config, &nsizes) [all...] |
/external/valgrind/unittest/ |
windows_tests.cc | 78 // Just spawn few threads with different stack sizes. 79 int sizes[3] = {1 << 19, 1 << 21, 1 << 22}; local 81 HANDLE t = ::CreateThread(0, sizes[i],
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
tls_schannel.c | 490 SecPkgContext_StreamSizes sizes; local 496 &sizes); 502 wpa_printf(MSG_DEBUG, "%s: Stream sizes: header=%u trailer=%u", 504 (unsigned int) sizes.cbHeader, 505 (unsigned int) sizes.cbTrailer); 507 total_len = sizes.cbHeader + in_len + sizes.cbTrailer; 519 bufs[0].cbBuffer = sizes.cbHeader; 522 os_memcpy(out_data + sizes.cbHeader, in_data, in_len); 523 bufs[1].pvBuffer = out_data + sizes.cbHeader [all...] |
/external/wpa_supplicant_8/src/crypto/ |
tls_schannel.c | 475 SecPkgContext_StreamSizes sizes; local 481 &sizes); 487 wpa_printf(MSG_DEBUG, "%s: Stream sizes: header=%u trailer=%u", 489 (unsigned int) sizes.cbHeader, 490 (unsigned int) sizes.cbTrailer); 492 out = wpabuf_alloc(sizes.cbHeader + wpabuf_len(in_data) + 493 sizes.cbTrailer); 496 bufs[0].pvBuffer = wpabuf_put(out, sizes.cbHeader); 497 bufs[0].cbBuffer = sizes.cbHeader; 505 bufs[2].pvBuffer = wpabuf_put(out, sizes.cbTrailer) [all...] |
/frameworks/av/media/libstagefright/ |
CameraSource.cpp | 210 * of the supported sizes. 213 * @param suppportedSizes the vector of sizes that we check against 240 * Query the camera to retrieve the supported video frame sizes 246 * @param sizes returns the vector of Size objects for the 247 * supported video frame sizes advertised by the camera. 252 Vector<Size>& sizes) { 255 params.getSupportedVideoSizes(sizes); 256 if (sizes.size() == 0) { 258 params.getSupportedPreviewSizes(sizes); 298 Vector<Size> sizes; local 380 Vector<Size> sizes; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
BaseLayoutRule.java | 618 Map<INode, Rect> sizes = mRulesEngine.measureChildren(parent, local 635 if (sizes != null) { 636 state.wrapBounds = sizes.get(child); [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
CameraTest.java | 365 // Test all preview sizes. 610 // Check if the sizes value contain invalid characters. 675 // that is among the supported preview sizes. 718 List<Size> sizes = p.getSupportedJpegThumbnailSizes(); local 719 assertTrue(sizes.size() >= 2); 720 assertTrue(sizes.contains(size)); 721 assertTrue(sizes.contains(mCamera.new Size(0, 0))); 907 List<Size> sizes = parameters.getSupportedPreviewSizes(); local [all...] |
/dalvik/tools/hprof-conv/ |
HprofConv.c | 310 static const int sizes[] = { -1, -1, 4, -1, 1, 2, 4, 8, 1, 2, 4, 8 }; local 311 static const size_t maxSize = sizeof(sizes) / sizeof(sizes[0]); 316 return sizes[basicType];
|
/external/chromium/net/disk_cache/ |
disk_format.h | 72 int32 sizes[5]; member in struct:disk_cache::LruData
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_video.c | 372 SDL_Rect **sizes; local 390 sizes = SDL_ListModes(&format, flags); 391 if ( sizes == (SDL_Rect **)0 ) { 392 /* No sizes supported at this bit-depth */ 395 if (sizes == (SDL_Rect **)NEGATIVE_ONE) { 401 for ( i=0; sizes[i]; ++i ) { 402 if ((sizes[i]->w >= width) && (sizes[i]->h >= height)) { 408 for ( i=0; sizes[i]; ++i ) { 409 if ((sizes[i]->w == width) && (sizes[i]->h == height)) 432 SDL_Rect **sizes; local [all...] |
/external/skia/src/ports/ |
SkFontHost_mac_atsui.cpp | 154 static const ByteCount sizes[] = { local 161 tags, sizes, values);
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
VideoChatTestActivity.java | 91 List<Camera.Size> sizes = params.getSupportedPreviewSizes(); local 94 logMessage("Sizes"); 95 for (Size size : sizes) {
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
DDSLoader.java | 112 private int[] sizes; field in class:DDSLoader 135 return new Image(pixelFormat, width, height, depth, data, sizes); 147 return new Image(pixelFormat, width, height, depth, data, sizes); 388 * Computes the sizes of each mipmap level in bytes, and stores it in sizes_[]. 394 sizes = new int[mipMapCount]; 404 sizes[i] = ((size + 3) / 4) * 4; 450 byte[] data = new byte[sizes[mip]]; 548 byte[] data = new byte[sizes[mip]]; 555 byte[] data = new byte[sizes[mip]]; 590 byte[] data = new byte[sizes[mip]] [all...] |
/external/opencv/cv/src/ |
cvhistogram.cpp | 45 cvCreateHist( int dims, int *sizes, CvHistType type, float** ranges, int uniform ) 55 if( !sizes ) 56 CV_ERROR( CV_HeaderIsNull, "Null <sizes> pointer" ); 65 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, 71 CV_CALL( hist->bins = cvCreateSparseMat( dims, sizes, CV_HIST_DEFAULT_TYPE )); 92 cvMakeHistHeaderForArray( int dims, int *sizes, CvHistogram *hist, 109 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, 429 CV_ERROR( CV_StsUnmatchedSizes, "The histograms have different sizes" ); 2385 int sizes[CV_MAX_DIM]; local 2462 int sizes[CV_MAX_DIM]; local [all...] |
/external/opencv/cxcore/src/ |
cxarray.cpp | 277 cvInitMatNDHeader( CvMatND* mat, int dims, const int* sizes, 296 if( !sizes ) 297 CV_ERROR( CV_StsNullPtr, "NULL <sizes> pointer" ); 305 if( sizes[i] <= 0 ) 306 CV_ERROR( CV_StsBadSize, "one of dimesion sizes is non-positive" ); 307 mat->dim[i].size = sizes[i]; 311 step *= sizes[i]; 335 cvCreateMatND( int dims, const int* sizes, int type ) 343 CV_CALL( arr = cvCreateMatNDHeader( dims, sizes, type )); 357 cvCreateMatNDHeader( int dims, const int* sizes, int type 392 int i, *sizes; local [all...] |
cxpersistence.cpp | 3631 int dims, sizes[CV_MAX_DIM]; local 3668 int sizes[CV_MAX_DIM], dims, elem_type; local 3828 int* sizes = 0, dims, elem_type, cn; local [all...] |
/external/opencv/ml/src/ |
ml_inner_functions.cpp | 925 // check parameter types and sizes 1164 int d, sizes[CV_MAX_DIM]; local [all...] |
/external/qemu/ |
qemu-io.c | 130 size_t *sizes = calloc(nr_iov, sizeof(size_t)); local 158 sizes[i] = len; 167 qemu_iovec_add(qiov, p, sizes[i]); 168 p += sizes[i]; 172 free(sizes); [all...] |
/external/v8/src/ |
spaces.cc | 936 FreeList::SizeStats sizes; local 937 free_list_.CountFreeListItems(page, &sizes); 938 if (sizes.Total() == AreaSize()) { [all...] |
mark-compact.cc | 453 FreeList::SizeStats sizes; local 454 space->CountFreeListItems(p, &sizes); 460 ratio = (sizes.medium_size_ * 10 + sizes.large_size_ * 2) * 100 / 464 ratio = (sizes.small_size_ * 5 + sizes.medium_size_) * 100 / 473 static_cast<int>(sizes.small_size_), 474 static_cast<double>(sizes.small_size_ * 100) / 476 static_cast<int>(sizes.medium_size_), 477 static_cast<double>(sizes.medium_size_ * 100) 583 FreeList::SizeStats sizes; local [all...] |
/external/webkit/Source/WebCore/rendering/ |
RenderThemeSafari.cpp | 132 static NSControlSize controlSizeFromRect(const IntRect& rect, const IntSize sizes[]) 134 if (sizes[NSRegularControlSize].height() == rect.height()) 136 else if (sizes[NSMiniControlSize].height() == rect.height()) 184 static float sizes[] = { 13.0f, 11.0f, 9.0f }; local 186 return sizes[controlSize]; 350 void RenderThemeSafari::setControlSize(NSCell* cell, const IntSize* sizes, const IntSize& minSize) 353 if (minSize.width() >= sizes[NSRegularControlSize].width() && 354 minSize.height() >= sizes[NSRegularControlSize].height()) 356 else if (minSize.width() >= sizes[NSSmallControlSize].width() && 357 minSize.height() >= sizes[NSSmallControlSize].height() 427 static const IntSize sizes[3] = { IntSize(14, 14), IntSize(12, 12), IntSize(10, 10) }; local 466 static const IntSize sizes[3] = { IntSize(14, 15), IntSize(12, 13), IntSize(10, 10) }; local 551 static const IntSize sizes[3] = { IntSize(0, 21), IntSize(0, 18), IntSize(0, 15) }; local 662 static const IntSize sizes[3] = { IntSize(0, 21), IntSize(0, 18), IntSize(0, 15) }; local 941 static const IntSize sizes[3] = { IntSize(9, 0), IntSize(5, 0), IntSize(0, 0) }; local 1038 static const IntSize sizes[3] = { IntSize(0, 22), IntSize(0, 19), IntSize(0, 15) }; local 1098 static const IntSize sizes[3] = { IntSize(16, 13), IntSize(13, 11), IntSize(13, 9) }; local 1111 static const IntSize sizes[3] = { IntSize(19, 13), IntSize(17, 11), IntSize(17, 9) }; local [all...] |
/external/dropbear/libtommath/pre_gen/ |
mpi.c | 6030 } sizes[] = { variable in typeref:struct:__anon6145 [all...] |
/external/libvpx/nestegg/src/ |
nestegg.c | 1091 ne_read_xiph_lacing(nestegg_io * io, size_t block, size_t * read, uint64_t n, uint64_t * sizes) 1098 r = ne_read_xiph_lace_value(io, &sizes[i], read); 1101 sum += sizes[i]; 1109 sizes[i] = block - *read - sum; 1114 ne_read_ebml_lacing(nestegg_io * io, size_t block, size_t * read, uint64_t n, uint64_t * sizes) 1126 sizes[i] = lace; 1127 sum = sizes[i]; 1137 sizes[i] = sizes[i - 1] + slace; 1138 sum += sizes[i] 1716 uint64_t sizes[3], total; local [all...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
FileChannelTest.java | 1875 int[] sizes = { local [all...] |
/frameworks/base/core/java/android/widget/ |
GridLayout.java | 1364 int[] sizes = new int[N]; local [all...] |