Searched defs:size (Results 1 - 25 of 77) sorted by relevance

1234

/development/ndk/platforms/android-9/arch-x86/include/asm/
H A Dmmu.h26 int size; member in struct:__anon521
H A De820.h34 __u64 size; member in struct:e820entry
H A Ddesc_32.h31 unsigned short size; member in struct:Xgt_desc_struct
H A Ddesc_defs.h71 unsigned short size; member in struct:desc_ptr
/development/host/windows/usb/api/
H A Dadb_interface_enum.cpp59 bool AdbInterfaceEnumObject::Next(AdbInterfaceInfo* info, ULONG* size) { argument
66 ATLASSERT(NULL != size);
67 if (NULL == size) {
81 if ((NULL == info) || (*size < entry.GetFlatSize())) {
82 *size = entry.GetFlatSize();
/development/ndk/platforms/android-3/include/linux/mtd/
H A Dpartitions.h19 u_int32_t size; member in struct:mtd_partition
H A Dblktrans.h30 unsigned long size; member in struct:mtd_blktrans_dev
H A Dmap.h47 unsigned long size; member in struct:map_info
79 #define INVALIDATE_CACHED_RANGE(map, from, size) do { if(map->inval_cache) map->inval_cache(map, from, size); } while(0)
/development/ndk/platforms/android-3/include/linux/
H A Dvmalloc.h32 unsigned long size; member in struct:vm_struct
H A Dsysfs.h43 size_t size; member in struct:bin_attribute
/development/ndk/sources/android/libportable/arch-mips/
H A Dmmap.c68 void *mmap_portable(void *addr, size_t size, int prot, int flags, int fd, long offset) argument
80 ret = __mmap2(addr, size, mips_prot, mips_flags, fd,
84 madvise(ret, size, MADV_MERGEABLE);
90 int mprotect_portable(const void *addr, size_t size, int prot) argument
92 return mprotect(addr, size, mips_change_prot(prot));
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
H A DBatchOperation.java48 public int size() { method in class:BatchOperation
49 return mOperations.size();
59 if (mOperations.size() == 0) {
/development/tools/emulator/opengl/shared/OpenglCodecCommon/
H A DFixedBuffer.h32 void * alloc(size_t size) { argument
33 if (m_bufferLen >= size)
39 m_bufferLen = size;
H A DSocketStream.cpp86 int SocketStream::commitBuffer(size_t size) argument
88 return writeFully(m_buf, size);
91 int SocketStream::writeFully(const void* buffer, size_t size) argument
95 size_t res = size;
99 ssize_t stat = ::send(m_sock, (const char *)buffer + (size - res), res, 0);
H A DWin32PipeStream.cpp98 4096, // input buffer size
99 4096, // output buffer size
177 int Win32PipeStream::commitBuffer(size_t size) argument
182 size_t res = size;
187 if (! ::WriteFile(m_pipe, (const char *)m_buf + (size - res), res, &written, NULL)) {
H A DGLSharedGroup.h42 BufferData(GLsizeiptr size, void * data);
51 GLint size; member in struct:ProgramData::_IndexInfo
75 void setIndexInfo(GLuint index, GLint base, GLint size, GLenum type);
90 size_t getNumShaders() const { return m_shaders.size(); }
114 void addBufferData(GLuint bufferId, GLsizeiptr size, void * data);
115 void updateBufferData(GLuint bufferId, GLsizeiptr size, void * data);
116 GLenum subUpdateBufferData(GLuint bufferId, GLintptr offset, GLsizeiptr size, void * data);
126 void setProgramIndexInfo(GLuint program, GLuint index, GLint base, GLint size, GLenum type, const char* name);
H A DglUtils.cpp332 int size, GLenum type, unsigned int stride,
335 unsigned int vsize = size * glSizeof(type);
350 int size, GLenum type, unsigned int stride,
355 unsigned int vsize = size * glSizeof(type);
331 glUtilsPackPointerData(unsigned char *dst, unsigned char *src, int size, GLenum type, unsigned int stride, unsigned int datalen) argument
349 glUtilsWritePackPointerData(void* _stream, unsigned char *src, int size, GLenum type, unsigned int stride, unsigned int datalen) argument
/development/tools/yuv420sp2rgb/
H A Ddebug.h47 static inline void *MALLOC(unsigned int size) { argument
48 void *m = malloc(size);
49 FAILIF(NULL == m, "malloc(%d) failed!\n", size);
59 static inline void *REALLOC(void *ptr, unsigned int size) { argument
60 void *m = realloc(ptr, size);
61 FAILIF(NULL == m, "realloc(%p, %d) failed!\n", ptr, size);
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/
H A Dipt_hashlimit.h29 u_int32_t size; member in struct:hashlimit_cfg
/development/samples/ApiDemos/src/com/example/android/apis/view/
H A DLabelView.java87 // Must manually scale the desired text size to match screen density
104 * Sets the text size for this label
105 * @param size Font size
107 public void setTextSize(int size) { argument
108 // This text size has been pre-scaled by the getDimensionPixelOffset method
109 mTextPaint.setTextSize(size);
/development/samples/ToyVpn/server/linux/
H A DToyVpnServer.cpp125 static void build_parameters(char *parameters, int size, int argc, char **argv) argument
142 if (offset + length >= size) {
154 memset(&parameters[offset], ' ', size - offset);
/development/tools/emulator/opengl/system/OpenglSystemCommon/
H A DQemuPipeStream.cpp80 int QemuPipeStream::commitBuffer(size_t size) argument
82 return writeFully(m_buf, size);
/development/ndk/platforms/android-9/arch-mips/include/asm/
H A Dbootinfo.h61 phys_t size; member in struct:boot_mem_map::boot_mem_map_entry
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/ui/
H A DImageDetailActivity.java60 // Fetch screen height and width, to use as our max size when loading images as this
182 public ImagePagerAdapter(FragmentManager fm, int size) { argument
184 mSize = size;
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
H A DImageResizer.java40 * Initialize providing a single target image size (used for both width and height);
52 * Initialize providing a single target image size (used for both width and height);
74 * Set the target image size (width and height will be the same).
76 * @param size
78 public void setImageSize(int size) { argument
79 setImageSize(size, size);

Completed in 597 milliseconds

1234