/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
pixel.c | 109 store_pixelmap(struct gl_context *ctx, GLenum map, GLsizei mapsize, 122 ctx->PixelMaps.StoS.Size = mapsize; 123 for (i = 0; i < mapsize; i++) { 129 ctx->PixelMaps.ItoI.Size = mapsize; 130 for (i = 0; i < mapsize; i++) { 136 pm->Size = mapsize; 137 for (i = 0; i < mapsize; i++) { 150 struct gl_pixelstore_attrib *pack, GLsizei mapsize, 161 ok = _mesa_validate_pbo_access(1, &ctx->DefaultPacking, mapsize, 1, 1, 184 _mesa_PixelMapfv( GLenum map, GLsizei mapsize, const GLfloat *values 341 GLint mapsize, i; local 392 GLint mapsize, i; local 443 GLint mapsize, i; local [all...] |
/external/mesa3d/src/mesa/main/ |
pixel.c | 109 store_pixelmap(struct gl_context *ctx, GLenum map, GLsizei mapsize, 122 ctx->PixelMaps.StoS.Size = mapsize; 123 for (i = 0; i < mapsize; i++) { 129 ctx->PixelMaps.ItoI.Size = mapsize; 130 for (i = 0; i < mapsize; i++) { 136 pm->Size = mapsize; 137 for (i = 0; i < mapsize; i++) { 150 struct gl_pixelstore_attrib *pack, GLsizei mapsize, 161 ok = _mesa_validate_pbo_access(1, &ctx->DefaultPacking, mapsize, 1, 1, 184 _mesa_PixelMapfv( GLenum map, GLsizei mapsize, const GLfloat *values 341 GLint mapsize, i; local 392 GLint mapsize, i; local 443 GLint mapsize, i; local [all...] |
/external/elfutils/lib/ |
crc32_file.c | 67 size_t mapsize = st.st_size; local 68 void *mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0); 72 mapsize = ((mapsize / 2) + pagesize - 1) & -pagesize; 73 while (mapsize >= pagesize 74 && (mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, 76 mapsize /= 2; 82 if (st.st_size <= (off_t) mapsize) 85 munmap (mapped, mapsize); 88 crc = crc32 (crc, mapped, mapsize); [all...] |
/frameworks/base/core/jni/ |
android_ddm_DdmHandleNativeHeap.cpp | 39 size_t mapSize; 71 header.mapSize = maps.size(); 77 ALOGD("*** mapSize: %d allocSize: %d allocInfoSize: %d totalMemory: %d", 78 header.mapSize, header.allocSize, header.allocInfoSize, header.totalMemory); 80 jbyteArray array = env->NewByteArray(sizeof(Header) + header.mapSize + header.allocSize);
|
/external/libsepol/src/ |
ebitmap.c | 236 if ((n->startbit + MAPSIZE) > bit) { 251 uint32_t startbit = bit & ~(MAPSIZE - 1); 252 uint32_t highbit = startbit + MAPSIZE; 262 if ((n->startbit + MAPSIZE) > bit) { 278 MAPSIZE; 346 uint32_t buf[3], mapsize, count, i; local 355 mapsize = le32_to_cpu(buf[0]); 359 if (mapsize != MAPSIZE) { 362 mapsize, MAPSIZE, e->highbit) [all...] |
/external/stlport/test/eh/ |
test_map.cpp | 54 const size_t mapSize = random_number(random_base); 56 while ( testMultiMap.size() < mapSize ) 102 const size_t mapSize = random_number(random_base); 104 while ( testMap.size() < mapSize )
|
/external/llvm/test/CodeGen/PowerPC/ |
inlineasm-i64-reg.ll | 8 define zeroext i32 @Kernel_RanksToCoords(i64 %mapsize, %struct.BG_CoordinateMapping_t* %map, i64* %numentries) #0 { 10 %mapsize.addr = alloca i64, align 8 18 store i64 %mapsize, i64* %mapsize.addr, align 8 22 %0 = load i64* %mapsize.addr, align 8
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_mmap.py | 121 mapsize = 10 122 open(TESTFN, "wb").write("a"*mapsize) 124 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_READ) 125 self.assertEqual(m[:], 'a'*mapsize, "Readonly memory map data incorrect.") 129 m[:] = 'b'*mapsize 163 m.resize(2*mapsize) 172 self.assertEqual(open(TESTFN, "rb").read(), 'a'*mapsize, 179 m = mmap.mmap(f.fileno(), mapsize+1) 196 f.truncate(mapsize) 201 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_WRITE [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_mmap.py | 121 mapsize = 10 122 open(TESTFN, "wb").write("a"*mapsize) 124 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_READ) 125 self.assertEqual(m[:], 'a'*mapsize, "Readonly memory map data incorrect.") 129 m[:] = 'b'*mapsize 163 m.resize(2*mapsize) 172 self.assertEqual(open(TESTFN, "rb").read(), 'a'*mapsize, 179 m = mmap.mmap(f.fileno(), mapsize+1) 196 f.truncate(mapsize) 201 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_WRITE [all...] |
/external/libsepol/include/sepol/policydb/ |
ebitmap.h | 25 #define MAPSIZE (sizeof(MAPTYPE) * 8) /* number of bits in node bitmap */ 58 if ((bit == ((*n)->startbit + MAPSIZE - 1)) && (*n)->next) {
|
/external/valgrind/main/none/tests/amd64/ |
faultstatus.c | 26 #define MAPSIZE (2*FILESIZE) 111 mapping = mmap(0, MAPSIZE, PROT_READ, MAP_PRIVATE, fd, 0);
|
/frameworks/base/cmds/screencap/ |
screencap.cpp | 136 ssize_t mapsize = -1; local 164 mapsize = offset + size; 165 mapbase = mmap(0, mapsize, PROT_READ, MAP_PRIVATE, fb, 0); 199 munmap((void *)mapbase, mapsize);
|
/external/llvm/lib/Support/ |
MemoryBuffer.cpp | 253 uint64_t FileSize, uint64_t MapSize, 273 size_t MapSize, 279 if (MapSize < 4096*4) 289 // RequiresNullTerminator = false and MapSize != -1. 300 size_t End = Offset + MapSize; 315 uint64_t FileSize, uint64_t MapSize, 320 if (MapSize == uint64_t(-1)) { 339 MapSize = FileSize; 342 if (shouldUseMmap(FD, FileSize, MapSize, Offset, RequiresNullTerminator, 346 RequiresNullTerminator, FD, MapSize, Offset, EC)) [all...] |
/external/valgrind/main/none/tests/ |
faultstatus.c | 49 #define MAPSIZE (2*FILESIZE) 150 mapping = mmap(0, MAPSIZE, PROT_READ, MAP_PRIVATE, fd, 0);
|
/external/valgrind/main/none/tests/x86/ |
faultstatus.c | 29 #define MAPSIZE (2*FILESIZE) 129 mapping = mmap(0, MAPSIZE, PROT_READ, MAP_PRIVATE, fd, 0);
|
/frameworks/native/cmds/servicemanager/ |
binder.c | 91 unsigned mapsize; member in struct:binder_state 94 struct binder_state *binder_open(unsigned mapsize) 111 bs->mapsize = mapsize; 112 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0); 132 munmap(bs->mapped, bs->mapsize);
|
binder.h | 71 struct binder_state *binder_open(unsigned mapsize);
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
TCSystemAlloc.cpp | 99 Checked<size_t> mapSize = Checked<size_t>(size) + extra + 2 * pagesize; 100 void* result = mmap(NULL, mapSize.unsafeGet(), 109 mmap(static_cast<char*>(result) + (mapSize - pagesize).unsafeGet(), pagesize, PROT_NONE, MAP_FIXED | MAP_PRIVATE | MAP_ANON, VM_TAG_FOR_TCMALLOC_MEMORY, 0);
|
/frameworks/base/media/java/android/media/ |
MediaMuxer.java | 270 int mapSize = formatMap.size(); 271 if (mapSize > 0) { 272 keys = new String[mapSize]; 273 values = new Object[mapSize];
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
ImageQualityController.cpp | 158 LayoutSize scaledImageSize = currentTransform.mapSize(image->size()); 159 LayoutSize scaledLayoutSize = currentTransform.mapSize(roundedIntSize(layoutSize));
|
/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
AffineTransform.h | 61 IntSize mapSize(const IntSize&) const; 63 FloatSize mapSize(const FloatSize&) const;
|
/external/llvm/include/llvm/Support/ |
MemoryBuffer.h | 78 /// MemoryBuffer. The slice is specified by an \p Offset and \p MapSize. 82 uint64_t MapSize, int64_t Offset);
|
/libcore/dex/src/main/java/com/android/dex/ |
TableOfContents.java | 116 int mapSize = in.readInt(); 118 for (int i = 0; i < mapSize; i++) {
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
VertexBuffer9.cpp | 99 unsigned int mapSize; 100 if (!spaceRequired(attrib, count, instances, &mapSize)) 105 HRESULT result = mVertexBuffer->Lock(offset, mapSize, &mapPtr, lockFlags);
|
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/ |
SDL_wsconsvideo.c | 153 size_t len, mapsize; local 283 mapsize = ((int)len + pagemask) & ~pagemask; 284 private->physmem = (Uint8 *)mmap(NULL, mapsize,
|