Home
last modified time | relevance | path

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

12345678910>>...334

/external/webrtc/webrtc/base/
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);
134 virtual void ConsumeReadData(size_t used) {} in ConsumeReadData()
147 virtual void* GetWriteBuffer(size_t* buf_len);
148 virtual void ConsumeWriteBuffer(size_t used) {} in ConsumeWriteBuffer()
168 virtual bool SetPosition(size_t position);
172 virtual bool GetPosition(size_t* position) const;
[all …]
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 …]
Dstringencode.cc26 size_t escape(char * buffer, size_t buflen, in escape()
27 const char * source, size_t srclen, in escape()
33 size_t srcpos = 0, bufpos = 0; in escape()
48 size_t unescape(char * buffer, size_t buflen, in unescape()
49 const char * source, size_t srclen, in unescape()
55 size_t srcpos = 0, bufpos = 0; in unescape()
67 size_t encode(char * buffer, size_t buflen, in encode()
68 const char * source, size_t srclen, in encode()
74 size_t srcpos = 0, bufpos = 0; in encode()
92 size_t decode(char * buffer, size_t buflen, in decode()
[all …]
/external/dlmalloc/
Dmalloc.h79 #define MALLINFO_FIELD_TYPE size_t
114 void* dlmalloc(size_t);
130 void* dlcalloc(size_t, size_t);
154 void* dlrealloc(void*, size_t);
169 void* dlrealloc_in_place(void*, size_t);
183 void* dlmemalign(size_t, size_t);
193 int dlposix_memalign(void**, size_t, size_t);
200 void* dlvalloc(size_t);
234 size_t dlmalloc_footprint(void);
247 size_t dlmalloc_max_footprint(void);
[all …]
/external/llvm/lib/Fuzzer/
DFuzzerInterface.h28 typedef int (*UserCallback)(const uint8_t *Data, size_t Size);
56 virtual size_t Rand() = 0;
58 size_t operator()(size_t n) { return n ? Rand() % n : 0; } in operator()
67 size_t Rand() override;
79 size_t Mutate_ShuffleBytes(uint8_t *Data, size_t Size, size_t MaxSize);
81 size_t Mutate_EraseByte(uint8_t *Data, size_t Size, size_t MaxSize);
83 size_t Mutate_InsertByte(uint8_t *Data, size_t Size, size_t MaxSize);
85 size_t Mutate_ChangeByte(uint8_t *Data, size_t Size, size_t MaxSize);
87 size_t Mutate_ChangeBit(uint8_t *Data, size_t Size, size_t MaxSize);
90 size_t Mutate_AddWordFromDictionary(uint8_t *Data, size_t Size,
[all …]
/external/jemalloc/include/jemalloc/internal/
Darena.h129 size_t bits;
130 #define CHUNK_MAP_ALLOCATED ((size_t)0x01U)
131 #define CHUNK_MAP_LARGE ((size_t)0x02U)
132 #define CHUNK_MAP_STATE_MASK ((size_t)0x3U)
134 #define CHUNK_MAP_DECOMMITTED ((size_t)0x04U)
135 #define CHUNK_MAP_UNZEROED ((size_t)0x08U)
136 #define CHUNK_MAP_DIRTY ((size_t)0x10U)
137 #define CHUNK_MAP_FLAGS_MASK ((size_t)0x1cU)
140 #define BININD_INVALID ((size_t)0xffU)
240 size_t reg_size;
[all …]
Djemalloc_internal.h278 #define QUANTUM ((size_t)(1U << LG_QUANTUM))
285 #define LONG ((size_t)(1U << LG_SIZEOF_LONG))
318 #define PAGE ((size_t)(1U << LG_PAGE))
319 #define PAGE_MASK ((size_t)(PAGE - 1))
335 ((size_t)((uintptr_t)(a) & (alignment - 1)))
431 extern size_t opt_quarantine;
453 extern size_t const index2size_tab[NSIZES+1];
461 void *a0malloc(size_t size);
463 void *bootstrap_malloc(size_t size);
464 void *bootstrap_calloc(size_t num, size_t size);
[all …]
/external/v8/src/parsing/
Dscanner-character-streams.h29 static const size_t kBufferSize = 512;
30 static const size_t kPushBackStepSize = 16;
32 size_t SlowSeekForward(size_t delta) override;
36 virtual size_t BufferSeekForward(size_t delta) = 0;
37 virtual size_t FillBuffer(size_t position) = 0;
47 GenericStringUtf16CharacterStream(Handle<String> data, size_t start_position,
48 size_t end_position);
55 static const size_t kNoBookmark = -1;
57 size_t BufferSeekForward(size_t delta) override;
58 size_t FillBuffer(size_t position) override;
[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)>
54 ArrayBuffer (size_t numElements);
55 ArrayBuffer (const T* ptr, size_t numElements);
61 …void setStorage (size_t numElements); // !< \note after a succesful call buffer contents are un…
63 size_t size (void) const throw();
66 T* getElementPtr (size_t elementNdx) throw();
67 const T* getElementPtr (size_t elementNdx) const throw();
73 size_t m_cap;
76 template <typename T, size_t Alignment, size_t Stride>
[all …]
/external/jemalloc/include/jemalloc/
Djemalloc_typedefs.h.in3 * chunk_alloc(void *new_addr, size_t size, size_t alignment, bool *zero,
6 typedef void *(chunk_alloc_t)(void *, size_t, size_t, bool *, bool *, unsigned);
10 * chunk_dalloc(void *chunk, size_t size, bool committed, unsigned arena_ind);
12 typedef bool (chunk_dalloc_t)(void *, size_t, bool, unsigned);
16 * chunk_commit(void *chunk, size_t size, size_t offset, size_t length,
19 typedef bool (chunk_commit_t)(void *, size_t, size_t, size_t, unsigned);
23 * chunk_decommit(void *chunk, size_t size, size_t offset, size_t length,
26 typedef bool (chunk_decommit_t)(void *, size_t, size_t, size_t, unsigned);
30 * chunk_purge(void *chunk, size_t size, size_t offset, size_t length,
33 typedef bool (chunk_purge_t)(void *, size_t, size_t, size_t, unsigned);
[all …]
/external/pdfium/xfa/src/fgas/src/crt/
Dfx_memory.h18 virtual void* Alloc(size_t size) { return FX_Alloc(uint8_t, size); } in Alloc()
20 virtual size_t GetBlockSize() const { return 0; } in GetBlockSize()
21 virtual size_t GetDefChunkSize() const { return 0; } in GetDefChunkSize()
22 virtual size_t SetDefChunkSize(size_t size) { return 0; } in SetDefChunkSize()
23 virtual size_t GetCurrentDataSize() const { return 0; } in GetCurrentDataSize()
30 size_t iChunkSize;
31 size_t iFreeSize;
39 CFX_StaticStore(size_t iDefChunkSize = 4096);
42 virtual void* Alloc(size_t size);
44 virtual size_t GetBlockSize() const { return 0; } in GetBlockSize()
[all …]
/external/webrtc/webrtc/common_audio/signal_processing/include/
Dsignal_processing_library.h118 size_t in_vector_length,
119 size_t times);
125 size_t vector_length);
128 size_t vector_length);
131 size_t vector_length);
133 size_t in_vector_length,
134 size_t samples,
137 size_t vector_length);
139 size_t vector_length);
153 typedef int16_t (*MaxAbsValueW16)(const int16_t* vector, size_t length);
[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/opencv3/modules/core/src/opencl/runtime/autogenerated/
Dopencl_core_impl.hpp229 cl_mem (CL_API_CALL*clCreateBuffer)(cl_context, cl_mem_flags, size_t, void*, cl_int*) =
230 …opencl_fn5<OPENCL_FN_clCreateBuffer, cl_mem, cl_context, cl_mem_flags, size_t, void*, cl_int*>::sw…
237 …int, const cl_device_id*, void (CL_CALLBACK*) (const char*, const void*, size_t, void*), void*, cl…
238 …int, const cl_device_id*, void (CL_CALLBACK*) (const char*, const void*, size_t, void*), void*, cl…
241 …perties*, cl_device_type, void (CL_CALLBACK*) (const char*, const void*, size_t, void*), void*, cl…
242 …perties*, cl_device_type, void (CL_CALLBACK*) (const char*, const void*, size_t, void*), void*, cl…
249 …CreateImage2D)(cl_context, cl_mem_flags, const cl_image_format*, size_t, size_t, size_t, void*, cl…
250 …age2D, cl_mem, cl_context, cl_mem_flags, const cl_image_format*, size_t, size_t, size_t, void*, cl…
253 …age3D)(cl_context, cl_mem_flags, const cl_image_format*, size_t, size_t, size_t, size_t, size_t, v…
254 …l_mem, cl_context, cl_mem_flags, const cl_image_format*, size_t, size_t, size_t, size_t, size_t, v…
[all …]
/external/webrtc/webrtc/modules/audio_device/include/
Daudio_device_defines.h50 const size_t nSamples,
51 const size_t nBytesPerSample,
52 const size_t nChannels,
60 virtual int32_t NeedMorePlayData(const size_t nSamples,
61 const size_t nBytesPerSample,
62 const size_t nChannels,
65 size_t& nSamplesOut,
85 size_t number_of_voe_channels, in OnDataAvailable()
88 size_t number_of_channels, in OnDataAvailable()
89 size_t number_of_frames, in OnDataAvailable()
[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_(void *ptr, size_t size) in safe_realloc_()
[all …]
/external/wpa_supplicant_8/src/crypto/
Daes_wrap.h21 int __must_check aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain,
23 int __must_check aes_unwrap(const u8 *kek, size_t kek_len, int n,
25 int __must_check omac1_aes_vector(const u8 *key, size_t key_len,
26 size_t num_elem, const u8 *addr[],
27 const size_t *len, u8 *mac);
28 int __must_check omac1_aes_128_vector(const u8 *key, size_t num_elem,
29 const u8 *addr[], const size_t *len,
31 int __must_check omac1_aes_128(const u8 *key, const u8 *data, size_t data_len,
33 int __must_check omac1_aes_256(const u8 *key, const u8 *data, size_t data_len,
37 u8 *data, size_t data_len);
[all …]
/external/webrtc/webrtc/common_audio/
Dblocker_unittest.cc22 size_t num_frames, in ProcessBlock()
23 size_t num_input_channels, in ProcessBlock()
24 size_t num_output_channels, in ProcessBlock()
26 for (size_t i = 0; i < num_output_channels; ++i) { in ProcessBlock()
27 for (size_t j = 0; j < num_frames; ++j) { in ProcessBlock()
38 size_t num_frames, in ProcessBlock()
39 size_t num_input_channels, in ProcessBlock()
40 size_t num_output_channels, in ProcessBlock()
42 for (size_t i = 0; i < num_output_channels; ++i) { in ProcessBlock()
43 for (size_t j = 0; j < num_frames; ++j) { in ProcessBlock()
[all …]
/external/skia/src/utils/
DSkFrontBufferedStream.cpp15 FrontBufferedStream(SkStream*, size_t bufferSize);
17 size_t read(void* buffer, size_t size) override;
19 size_t peek(void* buffer, size_t size) const override;
27 size_t getLength() const override { return fLength; } in getLength()
34 const size_t fLength;
36 size_t fOffset;
39 size_t fBufferedSoFar;
41 const size_t fBufferSize;
49 size_t readFromBuffer(char* dst, size_t size);
54 size_t bufferAndWriteTo(char* dst, size_t size);
[all …]
/external/mesa3d/include/CL/
Dcl.h92 size_t origin;
93 size_t size;
455 size_t /* param_value_size */,
457 size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
470 size_t /* param_value_size */,
472 size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
479 void (CL_CALLBACK * /* pfn_notify */)(const char *, const void *, size_t, void *),
486 … void (CL_CALLBACK * /* pfn_notify*/ )(const char *, const void *, size_t, void *),
499 size_t /* param_value_size */,
501 size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
[all …]
/external/libchrome/base/strings/
Dstring_piece.cc28 const size_t length = characters_wanted.length(); in BuildLookupTable()
30 for (size_t i = 0; i < length; ++i) { in BuildLookupTable()
88 size_t copyT(const BasicStringPiece<STR>& self, in copyT()
90 size_t n, in copyT()
91 size_t pos) { in copyT()
92 size_t ret = std::min(self.size() - pos, n); in copyT()
97 size_t copy(const StringPiece& self, char* buf, size_t n, size_t pos) { in copy()
101 size_t copy(const StringPiece16& self, char16* buf, size_t n, size_t pos) { in copy()
106 size_t findT(const BasicStringPiece<STR>& self, in findT()
108 size_t pos) { in findT()
[all …]
/external/webrtc/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/mesa3d/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 …]
/external/opencv3/modules/core/include/opencv2/core/opencl/runtime/autogenerated/
Dopencl_core.hpp285 extern CL_RUNTIME_EXPORT cl_mem (CL_API_CALL*clCreateBuffer)(cl_context, cl_mem_flags, size_t, void…
287 …int, const cl_device_id*, void (CL_CALLBACK*) (const char*, const void*, size_t, void*), void*, cl…
288 …perties*, cl_device_type, void (CL_CALLBACK*) (const char*, const void*, size_t, void*), void*, cl…
290 …CreateImage2D)(cl_context, cl_mem_flags, const cl_image_format*, size_t, size_t, size_t, void*, cl…
291 …age3D)(cl_context, cl_mem_flags, const cl_image_format*, size_t, size_t, size_t, size_t, size_t, v…
294 …CreateProgramWithBinary)(cl_context, cl_uint, const cl_device_id*, const size_t*, const unsigned c…
296 …(CL_API_CALL*clCreateProgramWithSource)(cl_context, cl_uint, const char**, const size_t*, cl_int*);
303 …_API_CALL*clEnqueueCopyBuffer)(cl_command_queue, cl_mem, cl_mem, size_t, size_t, size_t, cl_uint, …
304 …)(cl_command_queue, cl_mem, cl_mem, const size_t*, const size_t*, const size_t*, size_t, size_t, s…
305 …nqueueCopyBufferToImage)(cl_command_queue, cl_mem, cl_mem, size_t, const size_t*, const size_t*, c…
[all …]
/external/v8/src/heap/
Dgc-idle-time-handler.h64 size_t size_of_objects;
75 static const size_t kInitialConservativeMarkingSpeed = 100 * KB;
78 static const size_t kMaximumMarkingStepSize = 700 * MB;
86 static const size_t kInitialConservativeMarkCompactSpeed = 2 * MB;
90 static const size_t kInitialConservativeFinalIncrementalMarkCompactSpeed =
94 static const size_t kMaxMarkCompactTimeInMs;
98 static const size_t kMaxFinalIncrementalMarkCompactTimeInMs;
102 static const size_t kMaxScheduledIdleTime = 50;
105 static const size_t kMaxFrameRenderingIdleTime = 17;
111 static const size_t kLowAllocationThroughput = 1000;
[all …]

12345678910>>...334