Home
last modified time | relevance | path

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

12345678910>>...468

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTString.h42 typedef size_t size_type;
57 CPVRTString(const char* _Ptr, size_t _Count = npos);
65 CPVRTString(const CPVRTString& _Right, size_t _Roff = 0, size_t _Count = npos);
72 CPVRTString(size_t _Count, const char _Ch);
103 CPVRTString& append(const char* _Ptr, size_t _Count);
119 CPVRTString& append(const CPVRTString& _Str, size_t _Off, size_t _Count);
127 CPVRTString& append(size_t _Count, const char _Ch);
144 CPVRTString& assign(const char* _Ptr, size_t _Count);
160 CPVRTString& assign(const CPVRTString& _Str, size_t _Off, size_t _Count=npos);
168 CPVRTString& assign(size_t _Count, char _Ch);
[all …]
DPVRTString.cpp28 const size_t CPVRTString::npos = (size_t) -1;
41 CPVRTString::CPVRTString(const char* _Ptr, size_t _Count) : in CPVRTString()
66 CPVRTString::CPVRTString(const CPVRTString& _Right, size_t _Roff, size_t _Count) : in CPVRTString()
78 CPVRTString::CPVRTString(size_t _Count, char _Ch) : in CPVRTString()
140 CPVRTString& CPVRTString::append(const char* _Ptr, size_t _Count) in append()
143 size_t newCapacity = _Count + m_Size + 1; // +1 for null termination in append()
191 CPVRTString& CPVRTString::append(const CPVRTString& _Str, size_t _Off, size_t _Count) in append()
202 _Count = (size_t) i32NewCount; in append()
215 CPVRTString& CPVRTString::append(size_t _Count, char _Ch) in append()
218 size_t newCapacity = _Count + m_Size + 1; // +1 for null termination in append()
[all …]
/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 …]
/external/llvm/lib/Fuzzer/
DFuzzerInternal.h45 typedef int (*UserCallback)(const uint8_t *Data, size_t Size);
53 template <size_t kMaxSize> class FixedWord {
74 static size_t GetMaxSize() { return kMaxSize; } in GetMaxSize()
87 Unit FileToVector(const std::string &Path, size_t MaxSize = 0);
89 long *Epoch, size_t MaxSize);
100 void PrintHexArray(const uint8_t *Data, size_t Size,
102 void PrintASCII(const uint8_t *Data, size_t Size, const char *PrintAfter = "");
116 size_t GetPeakRSSMb();
121 void ComputeSHA1(const uint8_t *Data, size_t Len, uint8_t *Out);
125 bool ToASCII(uint8_t *Data, size_t Size);
[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/grpc-grpc/src/core/tsi/alts/crypt/
Dgsec.h32 size_t iov_len;
42 const size_t kAesGcmNonceLength = 12;
43 const size_t kAesGcmTagLength = 16;
44 const size_t kAes128GcmKeyLength = 16;
45 const size_t kAes256GcmKeyLength = 32;
49 const size_t kAes128GcmRekeyKeyLength = 44;
143 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length,
144 const struct iovec* aad_vec, size_t aad_vec_length,
145 const struct iovec* plaintext_vec, size_t plaintext_vec_length,
146 struct iovec ciphertext_vec, size_t* ciphertext_bytes_written,
[all …]
/external/protobuf/objectivec/
DGPBCodedOutputStream_PackagePrivate.h37 size_t GPBComputeDoubleSize(int32_t fieldNumber, double value)
39 size_t GPBComputeFloatSize(int32_t fieldNumber, float value)
41 size_t GPBComputeUInt64Size(int32_t fieldNumber, uint64_t value)
43 size_t GPBComputeInt64Size(int32_t fieldNumber, int64_t value)
45 size_t GPBComputeInt32Size(int32_t fieldNumber, int32_t value)
47 size_t GPBComputeFixed64Size(int32_t fieldNumber, uint64_t value)
49 size_t GPBComputeFixed32Size(int32_t fieldNumber, uint32_t value)
51 size_t GPBComputeBoolSize(int32_t fieldNumber, BOOL value)
53 size_t GPBComputeStringSize(int32_t fieldNumber, NSString *value)
55 size_t GPBComputeGroupSize(int32_t fieldNumber, GPBMessage *value)
[all …]
/external/jemalloc/include/jemalloc/internal/
Darena.h141 size_t bits;
142 #define CHUNK_MAP_ALLOCATED ((size_t)0x01U)
143 #define CHUNK_MAP_LARGE ((size_t)0x02U)
144 #define CHUNK_MAP_STATE_MASK ((size_t)0x3U)
146 #define CHUNK_MAP_DECOMMITTED ((size_t)0x04U)
147 #define CHUNK_MAP_UNZEROED ((size_t)0x08U)
148 #define CHUNK_MAP_DIRTY ((size_t)0x10U)
149 #define CHUNK_MAP_FLAGS_MASK ((size_t)0x1cU)
152 #define BININD_INVALID ((size_t)0xffU)
260 size_t reg_size;
[all …]
Djemalloc_internal.h287 #define QUANTUM ((size_t)(1U << LG_QUANTUM))
294 #define LONG ((size_t)(1U << LG_SIZEOF_LONG))
327 #define PAGE ((size_t)(1U << LG_PAGE))
328 #define PAGE_MASK ((size_t)(PAGE - 1))
344 ((size_t)((uintptr_t)(a) & (alignment - 1)))
444 extern size_t opt_quarantine;
469 extern size_t const pind2sz_tab[NPSIZES];
474 extern size_t const index2size_tab[NSIZES];
483 void *a0malloc(size_t size);
485 void *bootstrap_malloc(size_t size);
[all …]
/external/jemalloc_new/include/jemalloc/internal/
Dsz.h29 extern size_t const sz_pind2sz_tab[NPSIZES+1];
34 extern size_t const sz_index2size_tab[NSIZES];
42 static const size_t sz_large_pad =
51 sz_psz2ind(size_t psz) { in sz_psz2ind()
64 size_t delta_inverse_mask = ZU(-1) << lg_delta; in sz_psz2ind()
73 static inline size_t
79 size_t grp = pind >> LG_SIZE_CLASS_GROUP; in sz_pind2sz_compute()
80 size_t mod = pind & ((ZU(1) << LG_SIZE_CLASS_GROUP) - 1); in sz_pind2sz_compute()
82 size_t grp_size_mask = ~((!!grp)-1); in sz_pind2sz_compute()
83 size_t grp_size = ((ZU(1) << (LG_PAGE + in sz_pind2sz_compute()
[all …]
/external/brotli/c/enc/
Dbackward_references_hq.c40 void BrotliInitZopfliNodes(ZopfliNode* array, size_t length) { in BrotliInitZopfliNodes()
42 size_t i; in BrotliInitZopfliNodes()
83 size_t num_bytes_;
88 size_t num_bytes) { in InitZopfliCostModel()
105 static void SetCost(const uint32_t* histogram, size_t histogram_size, in SetCost()
107 size_t sum = 0; in SetCost()
108 size_t missing_symbol_sum; in SetCost()
111 size_t i; in SetCost()
138 size_t position, in ZopfliCostModelSetFromCommands()
140 size_t ringbuffer_mask, in ZopfliCostModelSetFromCommands()
[all …]
Dliteral_cost.c21 static size_t UTF8Position(size_t last, size_t c, size_t clamp) { in UTF8Position()
25 return BROTLI_MIN(size_t, 1, clamp); in UTF8Position()
31 return BROTLI_MIN(size_t, 2, clamp); in UTF8Position()
36 static size_t DecideMultiByteStatsLevel(size_t pos, size_t len, size_t mask, in DecideMultiByteStatsLevel()
38 size_t counts[3] = { 0 }; in DecideMultiByteStatsLevel()
39 size_t max_utf8 = 1; /* should be 2, but 1 compresses better. */ in DecideMultiByteStatsLevel()
40 size_t last_c = 0; in DecideMultiByteStatsLevel()
41 size_t i; in DecideMultiByteStatsLevel()
43 size_t c = data[(pos + i) & mask]; in DecideMultiByteStatsLevel()
56 static void EstimateBitCostsForLiteralsUTF8(size_t pos, size_t len, size_t mask, in EstimateBitCostsForLiteralsUTF8()
[all …]
Dhash_to_binary_tree_inc.h22 static BROTLI_INLINE size_t FN(HashTypeLength)(void) { return 4; } in FN()
23 static BROTLI_INLINE size_t FN(StoreLookahead)(void) { in FN()
36 size_t window_mask_;
73 size_t input_size, const uint8_t* data) { in FN()
85 static BROTLI_INLINE size_t FN(HashMemAllocInBytes)( in FN()
87 size_t input_size) { in FN()
88 size_t num_nodes = (size_t)1 << params->lgwin; in FN()
95 static BROTLI_INLINE size_t FN(LeftChildIndex)(HashToBinaryTree* self, in FN()
96 const size_t pos) { in FN()
100 static BROTLI_INLINE size_t FN(RightChildIndex)(HashToBinaryTree* self, in FN()
[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/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/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/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/jemalloc_new/include/jemalloc/
Djemalloc_typedefs.h.in5 * extent_alloc(extent_hooks_t *extent_hooks, void *new_addr, size_t size,
6 * size_t alignment, bool *zero, bool *commit, unsigned arena_ind);
8 typedef void *(extent_alloc_t)(extent_hooks_t *, void *, size_t, size_t, bool *,
13 * extent_dalloc(extent_hooks_t *extent_hooks, void *addr, size_t size,
16 typedef bool (extent_dalloc_t)(extent_hooks_t *, void *, size_t, bool,
21 * extent_destroy(extent_hooks_t *extent_hooks, void *addr, size_t size,
24 typedef void (extent_destroy_t)(extent_hooks_t *, void *, size_t, bool,
29 * extent_commit(extent_hooks_t *extent_hooks, void *addr, size_t size,
30 * size_t offset, size_t length, unsigned arena_ind);
32 typedef bool (extent_commit_t)(extent_hooks_t *, void *, size_t, size_t, size_t,
[all …]
/external/pdfium/xfa/fde/
Dcfde_texteditengine.h48 void SetAt(size_t nIndex);
49 size_t FindNextBreakPos(bool bPrev);
86 void Insert(size_t idx,
90 size_t start_idx,
91 size_t length,
94 size_t GetLength() const;
98 void SetAvailableWidth(size_t width);
113 void SetCharacterLimit(size_t limit);
116 void SetVisibleLineCount(size_t lines);
132 size_t GetIndexBefore(size_t pos);
[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,
36 int __must_check aes_ctr_encrypt(const u8 *key, size_t key_len, const u8 *nonce,
[all …]
/external/skqp/src/compute/skc/platforms/cl_12/kernels/devices/gen9/
Ddevice_cl_12.c254 size_t const srclen;
281 typedef size_t * (*skc_grid_shaper)(size_t const work_size,
283 size_t * const global_work_size,
284 size_t * const local_work_size);
338 size_t *
339 skc_device_shaper_block_pool_init_ids(size_t const work_size, in skc_device_shaper_block_pool_init_ids()
341 size_t * const work_global, in skc_device_shaper_block_pool_init_ids()
342 size_t * const work_local) in skc_device_shaper_block_pool_init_ids()
351 size_t *
352 skc_device_shaper_block_pool_init_atomics(size_t const work_size, in skc_device_shaper_block_pool_init_atomics()
[all …]
/external/skia/src/compute/skc/platforms/cl_12/kernels/devices/gen9/
Ddevice_cl_12.c254 size_t const srclen;
281 typedef size_t * (*skc_grid_shaper)(size_t const work_size,
283 size_t * const global_work_size,
284 size_t * const local_work_size);
338 size_t *
339 skc_device_shaper_block_pool_init_ids(size_t const work_size, in skc_device_shaper_block_pool_init_ids()
341 size_t * const work_global, in skc_device_shaper_block_pool_init_ids()
342 size_t * const work_local) in skc_device_shaper_block_pool_init_ids()
351 size_t *
352 skc_device_shaper_block_pool_init_atomics(size_t const work_size, in skc_device_shaper_block_pool_init_atomics()
[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/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 …]

12345678910>>...468