Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 8268) sorted by relevance

12345678910>>...331

/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
Dloadimage.h19 void LoadA8ToRGBA8(size_t width, size_t height, size_t depth,
20 const uint8_t *input, size_t inputRowPitch, size_t inputDepthPitch,
21 uint8_t *output, size_t outputRowPitch, size_t outputDepthPitch);
23 void LoadA8ToBGRA8(size_t width, size_t height, size_t depth,
24 const uint8_t *input, size_t inputRowPitch, size_t inputDepthPitch,
25 uint8_t *output, size_t outputRowPitch, size_t outputDepthPitch);
27 void LoadA8ToBGRA8_SSE2(size_t width, size_t height, size_t depth,
28 const uint8_t *input, size_t inputRowPitch, size_t inputDepthPitch,
29 uint8_t *output, size_t outputRowPitch, size_t outputDepthPitch);
31 void LoadA32FToRGBA32F(size_t width, size_t height, size_t depth,
[all …]
Dloadimage.cpp14 void LoadA8ToRGBA8(size_t width, size_t height, size_t depth, in LoadA8ToRGBA8()
15 const uint8_t *input, size_t inputRowPitch, size_t inputDepthPitch, in LoadA8ToRGBA8()
16 uint8_t *output, size_t outputRowPitch, size_t outputDepthPitch) in LoadA8ToRGBA8()
18 for (size_t z = 0; z < depth; z++) in LoadA8ToRGBA8()
20 for (size_t y = 0; y < height; y++) in LoadA8ToRGBA8()
24 for (size_t x = 0; x < width; x++) in LoadA8ToRGBA8()
32 void LoadA8ToBGRA8(size_t width, size_t height, size_t depth, in LoadA8ToBGRA8()
33 const uint8_t *input, size_t inputRowPitch, size_t inputDepthPitch, in LoadA8ToBGRA8()
34 uint8_t *output, size_t outputRowPitch, size_t outputDepthPitch) in LoadA8ToBGRA8()
40 void LoadA32FToRGBA32F(size_t width, size_t height, size_t depth, in LoadA32FToRGBA32F()
[all …]
Dgeneratemip.inl19 static inline T *GetPixel(uint8_t *data, size_t x, size_t y, size_t z, size_t rowPitch, size_t dept…
25 …tic inline const T *GetPixel(const uint8_t *data, size_t x, size_t y, size_t z, size_t rowPitch, s…
31 static void GenerateMip_Y(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
32 const uint8_t *sourceData, size_t sourceRowPitch, size_t sourceDepthPitch,
33 size_t destWidth, size_t destHeight, size_t destDepth,
34 uint8_t *destData, size_t destRowPitch, size_t destDepthPitch)
40 for (size_t y = 0; y < destHeight; y++)
51 static void GenerateMip_X(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
52 const uint8_t *sourceData, size_t sourceRowPitch, size_t sourceDepthPitch,
53 size_t destWidth, size_t destHeight, size_t destDepth,
[all …]
Dloadimage.inl13 inline T *OffsetDataPointer(uint8_t *data, size_t y, size_t z, size_t rowPitch, size_t depthPitch)
19 inline const T *OffsetDataPointer(const uint8_t *data, size_t y, size_t z, size_t rowPitch, size_t
24 template <typename type, size_t componentCount>
25 inline void LoadToNative(size_t width, size_t height, size_t depth,
26 const uint8_t *input, size_t inputRowPitch, size_t inputDepthPitch,
27 uint8_t *output, size_t outputRowPitch, size_t outputDepthPitch)
29 const size_t rowSize = width * sizeof(type) * componentCount;
30 const size_t layerSize = rowSize * height;
31 const size_t imageSize = layerSize * depth;
40 for (size_t z = 0; z < depth; z++)
[all …]
/external/chromium_org/third_party/cython/src/Cython/Includes/libcpp/
Dstring.pxd8 size_t npos = -1
13 string(char *, size_t) nogil except +
16 string(size_t, char) nogil except +
20 size_t size() nogil
21 size_t max_size() nogil
22 size_t length() nogil
23 void resize(size_t) nogil
24 void resize(size_t, char c) nogil
25 size_t capacity() nogil
26 void reserve(size_t) nogil
[all …]
/external/jemalloc/include/jemalloc/internal/
Darena.h145 size_t bits;
147 #define BININD_INVALID ((size_t)0xffU)
149 #define CHUNK_MAP_BININD_MASK ((size_t)0xff0U)
151 #define CHUNK_MAP_FLAGS_MASK ((size_t)0xcU)
152 #define CHUNK_MAP_DIRTY ((size_t)0x8U)
153 #define CHUNK_MAP_UNZEROED ((size_t)0x4U)
154 #define CHUNK_MAP_LARGE ((size_t)0x2U)
155 #define CHUNK_MAP_ALLOCATED ((size_t)0x1U)
171 size_t ndirty;
174 size_t nruns_avail;
[all …]
/external/chromium_org/third_party/webrtc/base/
Dstringencode.h28 size_t utf8_encode(char* buffer, size_t buflen, unsigned long value);
31 size_t utf8_decode(const char* source, size_t srclen, unsigned long* value);
35 size_t escape(char * buffer, size_t buflen,
36 const char * source, size_t srclen,
39 size_t unescape(char * buffer, size_t buflen,
40 const char * source, size_t srclen,
47 size_t encode(char * buffer, size_t buflen,
48 const char * source, size_t srclen,
51 size_t decode(char * buffer, size_t buflen,
52 const char * source, size_t srclen,
[all …]
Dstream.h83 virtual StreamResult Read(void* buffer, size_t buffer_len,
84 size_t* read, int* error) = 0;
85 virtual StreamResult Write(const void* data, size_t data_len,
86 size_t* written, int* error) = 0;
133 virtual const void* GetReadData(size_t* data_len) { return NULL; } in GetReadData()
134 virtual void ConsumeReadData(size_t used) {} in ConsumeReadData()
147 virtual void* GetWriteBuffer(size_t* buf_len) { return NULL; } in GetWriteBuffer()
148 virtual void ConsumeWriteBuffer(size_t used) {} in ConsumeWriteBuffer()
168 virtual bool SetPosition(size_t position) { return false; } in SetPosition()
172 virtual bool GetPosition(size_t* position) const { return false; } in GetPosition()
[all …]
/external/openfst/src/include/fst/extensions/ngram/
Dbitmap-index.h43 static size_t StorageSize(size_t size) { in StorageSize()
49 bool Get(size_t index) const { in Get()
54 static void Set(uint64* bits, size_t index) { in Set()
58 static void Clear(uint64* bits, size_t index) { in Clear()
62 size_t Bits() const { in Bits()
66 size_t ArraySize() const { in ArraySize()
71 size_t GetOnesCount() const { in GetOnesCount()
77 size_t Rank1(size_t end) const;
81 size_t GetOnesCountInRange(size_t start, size_t end) const { in GetOnesCountInRange()
87 size_t Rank0(size_t end) const { in Rank0()
[all …]
/external/jemalloc/include/jemalloc/
Djemalloc_protos_jet.h10 JEMALLOC_EXPORT void *jet_malloc(size_t size) JEMALLOC_ATTR(malloc);
11 JEMALLOC_EXPORT void *jet_calloc(size_t num, size_t size)
13 JEMALLOC_EXPORT int jet_posix_memalign(void **memptr, size_t alignment,
14 size_t size) JEMALLOC_ATTR(nonnull(1));
15 JEMALLOC_EXPORT void *jet_aligned_alloc(size_t alignment, size_t size)
17 JEMALLOC_EXPORT void *jet_realloc(void *ptr, size_t size);
20 JEMALLOC_EXPORT void *jet_mallocx(size_t size, int flags);
21 JEMALLOC_EXPORT void *jet_rallocx(void *ptr, size_t size, int flags);
22 JEMALLOC_EXPORT size_t jet_xallocx(void *ptr, size_t size, size_t extra,
24 JEMALLOC_EXPORT size_t jet_sallocx(const void *ptr, int flags);
[all …]
Djemalloc_protos.h10 JEMALLOC_EXPORT void *je_malloc(size_t size) JEMALLOC_ATTR(malloc);
11 JEMALLOC_EXPORT void *je_calloc(size_t num, size_t size)
13 JEMALLOC_EXPORT int je_posix_memalign(void **memptr, size_t alignment,
14 size_t size) JEMALLOC_ATTR(nonnull(1));
15 JEMALLOC_EXPORT void *je_aligned_alloc(size_t alignment, size_t size)
17 JEMALLOC_EXPORT void *je_realloc(void *ptr, size_t size);
20 JEMALLOC_EXPORT void *je_mallocx(size_t size, int flags);
21 JEMALLOC_EXPORT void *je_rallocx(void *ptr, size_t size, int flags);
22 JEMALLOC_EXPORT size_t je_xallocx(void *ptr, size_t size, size_t extra,
24 JEMALLOC_EXPORT size_t je_sallocx(const void *ptr, int flags);
[all …]
/external/chromium_org/pdf/
Dchunk_stream.cc31 void ChunkStream::Preallocate(size_t stream_size) { in Preallocate()
35 size_t ChunkStream::GetSize() { in GetSize()
39 bool ChunkStream::WriteData(size_t offset, void* buffer, size_t size) { in WriteData()
53 std::map<size_t, size_t>::iterator start = chunks_.upper_bound(offset); in WriteData()
59 std::map<size_t, size_t>::iterator end = chunks_.upper_bound(offset + size); in WriteData()
67 size_t new_offset = std::min<size_t>(start->first, offset); in WriteData()
68 size_t new_size = in WriteData()
69 std::max<size_t>(end->first + end->second, offset + size) - new_offset; in WriteData()
78 bool ChunkStream::ReadData(size_t offset, size_t size, void* buffer) const { in ReadData()
87 size_t offset, size_t size, in GetMissedRanges()
[all …]
/external/deqp/framework/delibs/decpp/
DdeArrayBuffer.hpp36 void* ArrayBuffer_AlignedMalloc (size_t numBytes, size_t alignment);
47 template <typename T, size_t Alignment = (sizeof(T) > 4 ? 4 : sizeof(T)), size_t Stride = sizeof(T)>
52 ArrayBuffer (size_t numElements);
58 …void setStorage (size_t numElements); // !< \note after a succesful call buffer contents are un…
60 size_t size (void) const throw();
63 T* getElementPtr (size_t elementNdx) throw();
64 const T* getElementPtr (size_t elementNdx) const throw();
70 size_t m_cap;
73 template <typename T, size_t Alignment, size_t Stride>
80 template <typename T, size_t Alignment, size_t Stride>
[all …]
/external/openssl/include/openssl/
Dmodes.h18 size_t len, const void *key,
22 size_t blocks, const void *key,
26 size_t blocks, const void *key,
30 size_t len, const void *key,
33 size_t len, const void *key,
37 size_t len, const void *key,
42 size_t len, const void *key,
47 size_t len, const void *key,
52 size_t len, const void *key,
56 size_t length, const void *key,
[all …]
/external/chromium_org/chrome/browser/profiles/
Dprofile_info_cache.h50 size_t icon_index,
55 virtual size_t GetNumberOfProfiles() const OVERRIDE;
58 virtual size_t GetIndexOfProfileWithPath(
60 virtual base::string16 GetNameOfProfileAtIndex(size_t index) const OVERRIDE;
61 virtual base::string16 GetShortcutNameOfProfileAtIndex(size_t index)
63 virtual base::FilePath GetPathOfProfileAtIndex(size_t index) const OVERRIDE;
64 virtual base::Time GetProfileActiveTimeAtIndex(size_t index) const OVERRIDE;
66 size_t index) const OVERRIDE;
68 size_t index) const OVERRIDE;
70 size_t index) const OVERRIDE;
[all …]
/external/flac/include/share/
Dalloc.h69 static inline void *safe_malloc_(size_t size) in safe_malloc_()
77 static inline void *safe_calloc_(size_t nmemb, size_t size) in safe_calloc_()
86 static inline void *safe_malloc_add_2op_(size_t size1, size_t size2) in safe_malloc_add_2op_()
94 static inline void *safe_malloc_add_3op_(size_t size1, size_t size2, size_t size3) in safe_malloc_add_3op_()
105 static inline void *safe_malloc_add_4op_(size_t size1, size_t size2, size_t size3, size_t size4) in safe_malloc_add_4op_()
119 void *safe_malloc_mul_2op_(size_t size1, size_t size2) ;
121 static inline void *safe_malloc_mul_3op_(size_t size1, size_t size2, size_t size3) in safe_malloc_mul_3op_()
134 static inline void *safe_malloc_mul2add_(size_t size1, size_t size2, size_t size3) in safe_malloc_mul2add_()
144 static inline void *safe_malloc_muladd2_(size_t size1, size_t size2, size_t size3) in safe_malloc_muladd2_()
156 static inline void *safe_realloc_add_2op_(void *ptr, size_t size1, size_t size2) in safe_realloc_add_2op_()
[all …]
/external/zopfli/src/zopfli/
Dblocksplitter.c37 typedef double FindMinimumFun(size_t i, void* context);
43 static size_t FindMinimum(FindMinimumFun f, void* context, in FindMinimum()
44 size_t start, size_t end) { in FindMinimum()
47 size_t result = start; in FindMinimum()
48 size_t i; in FindMinimum()
60 size_t i; in FindMinimum()
61 size_t p[NUM]; in FindMinimum()
63 size_t besti; in FindMinimum()
66 size_t pos = start; in FindMinimum()
108 size_t lstart, size_t lend) { in EstimateCost()
[all …]
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dcommon.h65 static const size_t kAlignment = 8;
71 static const size_t kNumFreeListPointers =
73 static const size_t kLinkSize = kNumFreeListPointers * sizeof(void *);
74 static const size_t kMinClassSize =
76 static const size_t kSkippedClasses = (kAlignment < kMinClassSize ? 1 : 0);
79 static const size_t kPageShift = 15;
80 static const size_t kNumClasses = 78 - kSkippedClasses;
84 static const size_t kPageShift = 12;
85 static const size_t kNumClasses = 54 - kSkippedClasses;
87 static const size_t kMaxThreadCacheSize = 4 << 20;
[all …]
/external/chromium_org/third_party/skia/include/core/
DSkGraphics.h40 static size_t GetFontCacheLimit();
49 static size_t SetFontCacheLimit(size_t bytes);
54 static size_t GetFontCacheUsed();
89 static size_t GetResourceCacheTotalBytesUsed();
96 static size_t GetResourceCacheTotalByteLimit();
97 static size_t SetResourceCacheTotalByteLimit(size_t newLimit);
113 static size_t GetResourceCacheSingleAllocationByteLimit();
114 static size_t SetResourceCacheSingleAllocationByteLimit(size_t newLimit);
117 static size_t GetImageCacheBytesUsed() { in GetImageCacheBytesUsed()
120 static size_t GetImageCacheByteLimit() { in GetImageCacheByteLimit()
[all …]
/external/chromium_org/net/websockets/
Dwebsocket_inflater.h29 WebSocketInflater(size_t input_queue_capacity, size_t output_buffer_capacity);
43 bool AddBytes(const char* data, size_t size);
59 scoped_refptr<IOBufferWithSize> GetOutput(size_t size);
62 size_t CurrentOutputSize() const { return output_buffer_.Size(); } in CurrentOutputSize()
64 static const size_t kDefaultBufferCapacity = 512;
65 static const size_t kDefaultInputIOBufferCapacity = 512;
71 explicit OutputBuffer(size_t capacity);
74 size_t Size() const;
78 std::pair<char*, size_t> GetTail();
79 void Read(char* dest, size_t size);
[all …]
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dcommon.h65 static const size_t kPageShift = 15;
66 static const size_t kNumClasses = 78;
68 static const size_t kPageShift = 13;
69 static const size_t kNumClasses = 86;
71 static const size_t kMaxThreadCacheSize = 4 << 20;
73 static const size_t kPageSize = 1 << kPageShift;
74 static const size_t kMaxSize = 256 * 1024;
75 static const size_t kAlignment = 8;
76 static const size_t kLargeSizeClass = 0;
78 static const size_t kMaxPages = 1 << (20 - kPageShift);
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
Daudio_multi_vector.h28 explicit AudioMultiVector(size_t N);
32 AudioMultiVector(size_t N, size_t initial_size);
40 virtual void Zeros(size_t length);
53 virtual void PushBackInterleaved(const int16_t* append_this, size_t length);
63 size_t index);
67 virtual void PopFront(size_t length);
71 virtual void PopBack(size_t length);
78 virtual size_t ReadInterleaved(size_t length, int16_t* destination) const;
82 virtual size_t ReadInterleavedFromIndex(size_t start_index,
83 size_t length,
[all …]
/external/pdfium/core/src/fxcrt/
Dmem_int.h20 void* Alloc(size_t size, int flags);
21 void* AllocDebug(size_t size, int flags, FX_LPCSTR file, int line);
22 void* Realloc(void* p, size_t size, int flags);
23 void* ReallocDebug(void* p, size_t size, int flags, FX_LPCSTR file, int line);
28 #define FIXEDMEM_PAGE_EXTRASPACE sizeof(size_t)
35 template <size_t blockNum, size_t blockSize>
48 FX_LPVOID Alloc(size_t size) in Alloc()
52 size_t i = 0; in Alloc()
60 size_t pos = ZeroLeadPos[m_BusyMap[i]]; in Alloc()
68 size_t pos = ((FX_LPBYTE)p - (FX_LPBYTE)(this + 1)) / blockSize; in Free()
[all …]
/external/chromium_org/net/spdy/
Dspdy_framer.h98 size_t setting_buf_len;
129 size_t origin_len;
130 size_t pid_buf_len;
131 size_t host_buf_len;
132 size_t origin_buf_len;
171 size_t length,
182 size_t len,
196 size_t len) = 0;
253 virtual bool OnGoAwayFrameData(const char* goaway_data, size_t len);
263 virtual bool OnRstStreamFrameData(const char* rst_stream_data, size_t len);
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/core/
Dmemory.hpp43 size_t size, void *host_ptr);
54 size_t size() const;
61 size_t __size;
73 size_t size, void *host_ptr);
82 size_t size, void *host_ptr);
94 size_t offset, size_t size);
97 size_t offset() const;
102 size_t __offset;
111 size_t width, size_t height, size_t depth,
112 size_t row_pitch, size_t slice_pitch, size_t size,
[all …]

12345678910>>...331