Searched refs:size (Results 126 - 150 of 10126) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/regress/
H A Dregress-swapelements.js36 var size = 23; variable
37 var array1 = new Array(size);
47 for (var i = 0; i < size; i++) {
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
H A DBuffer.cpp37 void Buffer::bufferData(const void *data, GLsizeiptr size, GLenum usage) argument
39 if (size == 0)
44 else if (size != mSize)
47 mContents = new GLubyte[size];
48 memset(mContents, 0, size);
51 if (data != NULL && size > 0)
53 memcpy(mContents, data, size);
56 mSize = size;
68 void Buffer::bufferSubData(const void *data, GLsizeiptr size, GLintptr offset) argument
70 memcpy(mContents + offset, data, size);
[all...]
/external/webkit/Source/WebCore/fileapi/
H A DBlob.cpp40 Blob::Blob(PassOwnPtr<BlobData> blobData, long long size) argument
42 , m_size(size)
51 Blob::Blob(const KURL& srcURL, const String& type, long long size) argument
53 , m_size(size)
68 // When we slice a file for the first time, we obtain a snapshot of the file by capturing its current size and modification time.
70 long long size; local
74 static_cast<const File*>(this)->captureSnapshot(size, modificationTime);
77 size = m_size;
82 start = start + size;
84 end = end + size;
[all...]
/external/webkit/Source/WebCore/platform/graphics/
H A DFloatSize.cpp36 FloatSize::FloatSize(const IntSize& size) : m_width(size.width()), m_height(size.height()) argument
H A DRoundedIntRect.h48 void setTopLeft(const IntSize& size) { m_topLeft = size; } argument
49 void setTopRight(const IntSize& size) { m_topRight = size; } argument
50 void setBottomLeft(const IntSize& size) { m_bottomLeft = size; } argument
51 void setBottomRight(const IntSize& size) { m_bottomRight = size; } argument
64 void expand(int size) { expand(size, siz argument
66 shrink(int size) argument
87 move(const IntSize& size) argument
88 inflate(int size) argument
89 inflateWithRadii(int size) argument
90 expandRadii(int size) argument
91 shrinkRadii(int size) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/transforms/
H A DTransformOperations.cpp37 if (m_operations.size() != o.m_operations.size())
40 unsigned s = m_operations.size();
/external/webkit/Source/WebKit2/Shared/
H A DImmutableArray.cpp35 ImmutableArray::ImmutableArray(APIObject** entries, size_t size) argument
36 : m_entries(size)
38 for (size_t i = 0; i < size; ++i)
H A DWebImage.cpp35 PassRefPtr<WebImage> WebImage::create(const IntSize& size, ImageOptions options) argument
38 return WebImage::create(ShareableBitmap::createShareable(size, ShareableBitmap::SupportsAlpha));
39 return WebImage::create(ShareableBitmap::create(size, ShareableBitmap::SupportsAlpha));
57 const IntSize& WebImage::size() const function in class:WebKit::WebImage
59 return m_bitmap->size();
/external/webkit/Source/WebKit2/UIProcess/API/C/cg/
H A DWKIconDatabaseCG.cpp37 CGImageRef WKIconDatabaseTryGetCGImageForURL(WKIconDatabaseRef iconDatabaseRef, WKURLRef urlRef, WKSize size) argument
40 return image ? image->getFirstCGImageRefOfSize(IntSize(static_cast<int>(size.width), static_cast<int>(size.height))) : 0;
/external/webkit/Source/WebKit2/UIProcess/
H A DDrawingAreaProxy.cpp46 void DrawingAreaProxy::setSize(const IntSize& size, const IntSize& scrollOffset) argument
48 if (m_size == size && scrollOffset.isZero())
51 m_size = size;
/external/chromium/net/tools/flip_server/
H A Dring_buffer.cc53 // Appends up-to-'size' bytes to the ringbuffer.
54 int RingBuffer::Write(const char* bytes, int size) { argument
55 CHECK_GE(size, 0);
60 int bytes_remaining = size;
77 int bytes_to_write = size;
99 // Sets *ptr to the beginning of writable memory, and sets *size to the size
101 void RingBuffer::GetWritablePtr(char** ptr, int* size) const {
105 *size = 0;
107 *size
132 Read(char* bytes, int size) argument
184 Reserve(int size) argument
259 int size; local
[all...]
H A Dbuffer_interface.h19 // returns the size of this buffer
21 // size of this buffer.
43 // appends up-to-'size' bytes to the buffer.
46 // size - number of bytes which are read and copied.
48 virtual int Write(const char* bytes, int size) = 0;
52 // this pointer (and size) can be used in functions like
54 // If *size is zero upon returning from this function, that it
58 // size - the amount of data (in bytes) that it is safe to write to ptr.
59 virtual void GetWritablePtr(char **ptr, int* size) const = 0;
63 // this pointer (and size) ca
[all...]
/external/dropbear/libtomcrypt/src/pk/asn1/der/choice/
H A Dder_decode_choice.c23 @param inlen [in/out] The size of the input and resulting size of read type
31 unsigned long size, x, z; local
38 /* get blk size */
50 size = list[x].size;
66 if (der_length_short_integer(size, &z) == CRYPT_OK) {
75 if (der_decode_bit_string(in, *inlen, data, &size) == CRYPT_OK) {
76 if (der_length_bit_string(size, &z) == CRYPT_OK) {
78 list[x].size
[all...]
/external/linux-tools-perf/util/
H A Dtrace-event-read.c56 static int do_read(int fd, void *buf, int size) argument
58 int rsize = size;
60 while (size) {
61 int ret = read(fd, buf, size);
73 size -= ret;
80 static int read_or_die(void *data, int size) argument
84 r = do_read(input_fd, data, size);
86 die("reading input file (size expected=%d received=%d)",
87 size, r);
96 static void skip(int size) argument
128 int size = 0; local
164 unsigned int size; local
182 unsigned int size; local
199 unsigned long long size; local
227 read_ftrace_file(unsigned long long size) argument
237 read_event_file(char *sys, unsigned long long size) argument
249 unsigned long long size; local
263 unsigned long long size; local
284 unsigned long long size; member in struct:cpu_data
489 ssize_t size; local
[all...]
/external/valgrind/main/memcheck/tests/
H A Dpdb-realloc2.c18 static inline UInt myrand ( UInt size )
22 return seed % size;
25 static void barf ( int size, int offset ) argument
27 printf("pdb-realloc2: fail: size %d, offset %d\n", size,offset);
31 void do_test ( int size )
35 UChar* p = malloc(size);
39 for (i = 0; i < size; i++) {
59 p = realloc(p, size+i);
64 v = malloc(size
[all...]
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DByteString.java57 * @throws ArrayIndexOutOfBoundsException {@code index} is < 0 or >= size
66 public int size() { method in class:ByteString
71 * Returns {@code true} if the size is {@code 0}, {@code false} otherwise.
89 final int size) {
90 final byte[] copy = new byte[size];
91 System.arraycopy(bytes, offset, copy, 0, size);
103 * Copies {@code size} bytes from a {@code java.nio.ByteBuffer} into
106 public static ByteString copyFrom(final ByteBuffer bytes, final int size) { argument
107 final byte[] copy = new byte[size];
150 if (list.size()
88 copyFrom(final byte[] bytes, final int offset, final int size) argument
190 copyTo(final byte[] target, final int sourceOffset, final int targetOffset, final int size) argument
364 newCodedBuilder(final int size) argument
373 CodedBuilder(final int size) argument
[all...]
/external/skia/src/gpu/gl/
H A DGrGLStencilBuffer.cpp18 uint64_t size = this->width(); local
19 size *= this->height();
20 size *= fFormat.fTotalBits;
21 size *= GrMax(1,this->numSamples());
22 return static_cast<size_t>(size / 8);
/external/srec/srec/clib/
H A Dmemmove.h29 size_t size);
32 size_t size)
42 memcpy(dest, src, size);
43 dest = (void *)(((char *)dest) + size);
44 src = (void *)(((char *)src) + size);
31 memmove_inline(void *dest, const void *src, size_t count, size_t size) argument
/external/valgrind/tsan/
H A Dts_valgrind_libc.cc38 extern "C" void * memmove(void *a, const void *b, unsigned long size) { argument
42 for (unsigned long i = 0; i < size; i++) {
46 for (unsigned long i = 0; i < size; i++) {
47 A[size - i - 1] = B[size - i - 1];
/external/webkit/Source/JavaScriptCore/runtime/
H A DPropertyNameArray.cpp37 size_t size = m_data->propertyNameVector().size(); local
38 if (size < setThreshold) {
39 for (size_t i = 0; i < size; ++i) {
45 for (size_t i = 0; i < size; ++i)
/external/webkit/Source/WebCore/platform/text/cf/
H A DStringCF.cpp35 CFIndex size = CFStringGetLength(str);
36 if (size == 0)
39 Vector<UChar, 1024> buffer(size);
40 CFStringGetCharacters(str, CFRangeMake(0, size), (UniChar*)buffer.data());
41 m_impl = StringImpl::create(buffer.data(), size);
/external/webkit/Source/WebKit/gtk/webkit/
H A Dwebkitapplicationcache.cpp29 // web application cache maximum storage size
35 * Returns the maximum size of the cache storage.
38 * Returns: the current application cache maximum storage size
53 * @size: the new web application cache maximum storage size
55 * Sets new application cache maximum storage size.
56 * Changing the application cache storage size will clear the cache
61 void webkit_application_cache_set_maximum_size(unsigned long long size) argument
64 if (size != cacheMaxSize) {
67 WebCore::cacheStorage().setMaximumSize(size);
[all...]
/external/chromium/sdch/open-vcdiff/src/
H A Dinstruction_map.h37 // inst (also known as instruction type), size, and mode and arriving at
54 // Finds an opcode that has the given inst, size, and mode for its first
59 // If this function returns kNoOpcode for size > 0, the caller will
60 // usually want to try again with size == 0 to find an opcode that
61 // doesn't have a fixed size value.
63 // If this function returns kNoOpcode for size == 0, it is an error condition,
65 // of expressing all combinations of inst and mode with size=0.
68 unsigned char size,
70 return first_instruction_map_.Lookup(inst, size, mode);
75 // the first opcode, and has the given inst, size, an
67 LookupFirstOpcode(unsigned char inst, unsigned char size, unsigned char mode) const argument
82 LookupSecondOpcode(unsigned char first_opcode, unsigned char inst, unsigned char size, unsigned char mode) const argument
97 Add(unsigned char inst, unsigned char size, unsigned char mode, unsigned char opcode) argument
109 Lookup(unsigned char inst, unsigned char size, unsigned char mode) const argument
[all...]
/external/e2fsprogs/lib/ss/
H A Drequest_tbl.c29 register int i, size; local
33 for (size=0; info->rqt_tables[size] != (ssrt *)NULL; size++)
35 /* size == C subscript of NULL == #elements */
36 size += 2; /* new element, and NULL */
37 t = (ssrt **)realloc(info->rqt_tables, (unsigned)size*sizeof(ssrt));
43 if (position > size - 2)
44 position = size - 2;
46 if (size >
[all...]
/external/skia/src/core/
H A DSkMask.cpp16 Sk64 size; local
17 size.setMul(a, b);
18 if (size.is32() && size.isPos()) {
19 return size.get32();
29 size_t size = this->computeImageSize(); local
31 size = safeMul32(size, 3);
33 return size;
39 uint8_t* SkMask::AllocImage(size_t size) { argument
[all...]

Completed in 447 milliseconds

1234567891011>>