Searched defs:size_type (Results 1 - 25 of 122) sorted by path

12345

/external/ceres-solver/include/ceres/internal/
H A Dfixed_array.h89 typedef size_t size_type; typedef in class:ceres::internal::FixedArray
98 explicit FixedArray(size_type n);
104 inline size_type size() const { return size_; }
115 inline T& operator[](size_type i) {
122 inline const T& operator[](size_type i) const {
148 static const size_type S1 = ((inline_elements < 0)
150 static const size_type S2 = (S1 <= 0) ? 1 : S1;
151 static const size_type kInlineElements = S2;
153 size_type const size_;
164 inline FixedArray<T, S>::FixedArray(typename FixedArray<T, S>::size_type
[all...]
/external/chromium_org/base/containers/
H A Dmru_cache.h56 typedef typename PayloadList::size_type size_type; typedef in class:base::MRUCacheBase
69 explicit MRUCacheBase(size_type max_size) : max_size_(max_size) {
72 MRUCacheBase(size_type max_size, const DeletorType& deletor)
82 size_type max_size() const { return max_size_; }
159 void ShrinkToSize(size_type new_size) {
160 for (size_type i = size(); i > new_size; i--)
174 size_type size() const {
203 size_type max_size_;
232 explicit MRUCache(typename ParentType::size_type max_siz
[all...]
H A Dstack_container.h40 typedef typename std::allocator<T>::size_type size_type; typedef in class:base::StackAllocator
106 pointer allocate(size_type n, void* hint = 0) {
118 void deallocate(pointer p, size_type n) {
/external/chromium_org/base/memory/
H A Dscoped_vector.h23 typedef typename std::vector<T*>::size_type size_type; typedef in class:ScopedVector
/external/chromium_org/base/strings/
H A Dstring_piece.h165 typedef size_t size_type; typedef in class:base::BasicStringPiece
174 static const size_type npos;
186 BasicStringPiece(const value_type* offset, size_type len)
191 length_((end > begin) ? (size_type)(end - begin) : 0) {}
198 size_type size() const { return length_; }
199 size_type length() const { return length_; }
206 void set(const value_type* data, size_type len) {
215 value_type operator[](size_type i) const { return ptr_[i]; }
217 void remove_prefix(size_type n) {
222 void remove_suffix(size_type
[all...]
/external/chromium_org/chrome/browser/sessions/
H A Dsession_backend.cc41 typedef SessionCommand::size_type size_type; typedef in class:__anon4657::SessionFileReader
119 if (available_count_ < sizeof(size_type)) {
122 if (available_count_ < sizeof(size_type)) {
130 size_type command_size;
309 const size_type content_size = static_cast<size_type>((*i)->size());
310 const size_type total_size = content_size + sizeof(id_type);
H A Dsession_backend.h36 typedef SessionCommand::size_type size_type; typedef in class:SessionBackend
H A Dsession_command.h31 typedef uint16 size_type; typedef in class:SessionCommand
35 SessionCommand(id_type id, size_type size);
49 size_type size() const { return static_cast<size_type>(contents_.size()); }
/external/chromium_org/courgette/
H A Dmemory_allocator.h131 typedef size_t size_type; typedef in class:courgette::MemoryAllocator
169 void deallocate(pointer ptr, size_type size) {
181 pointer allocate(size_type count) {
191 size_type bytes = count * sizeof(T);
211 pointer allocate(size_type count, const void* hint) {
223 size_type max_size() const _THROW0() {
224 size_type count = static_cast<size_type>(-1) / sizeof(T);
241 typedef size_t size_type;
263 void deallocate(pointer ptr, size_type siz
[all...]
/external/chromium_org/net/base/
H A Dlinked_hash_map.h43 typedef typename ListType::size_type size_type; typedef in class:linked_hash_map
117 size_type erase(const Key& key) {
215 size_type size() const {
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DCommon.h65 typedef typename std::vector<T, pool_allocator<T> >::size_type size_type; typedef in class:TVector
68 TVector(size_type i): std::vector<T, pool_allocator<T> >(i) {}
H A DPoolAlloc.h235 typedef size_t size_type; typedef in class:pool_allocator
267 void* allocate(size_type n) {
270 void* allocate(size_type n, const void*) {
273 void deallocate(void*, size_type) {}
275 pointer allocate(size_type n) {
278 pointer allocate(size_type n, const void*) {
281 void deallocate(pointer, size_type) {}
290 size_type max_size() const { return static_cast<size_type>(-1) / sizeof(T); }
291 size_type max_siz
[all...]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/strings/
H A Dstring_piece.cc14 typedef StringPiece::size_type size_type; typedef in namespace:i18n::phonenumbers
37 size_type StringPiece::copy(char* buf, size_type n, size_type pos) const {
38 size_type ret = std::min(length_ - pos, n);
43 size_type StringPiece::find(const StringPiece& s, size_type pos) const {
49 const size_type xpos = result - ptr_;
53 size_type StringPiec
[all...]
H A Dstring_piece.h32 typedef size_t size_type; typedef in class:i18n::phonenumbers::StringPiece
43 static const size_type npos;
54 StringPiece(const char* offset, size_type len)
62 size_type size() const { return length_; }
63 size_type length() const { return length_; }
70 void set(const char* data, size_type len) {
78 void set(const void* data, size_type len) {
83 char operator[](size_type i) const { return ptr_[i]; }
85 void remove_prefix(size_type n) {
90 void remove_suffix(size_type
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample.c830 * @param size_type type of the texture size vector (either
838 struct lp_type size_type,
849 size_type,
855 size_type,
861 size_type,
837 lp_build_extract_image_sizes(struct lp_build_sample_context *bld, struct lp_type size_type, struct lp_type coord_type, LLVMValueRef size, LLVMValueRef *out_width, LLVMValueRef *out_height, LLVMValueRef *out_depth) argument
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Drepeated_field.h143 typedef int size_type; typedef in class:google::protobuf::RepeatedField
458 typedef int size_type; typedef in class:google::protobuf::RepeatedPtrField
/external/chromium_org/third_party/re2/re2/
H A Dstringpiece.h123 typedef size_t size_type; typedef in class:re2::StringPiece
125 static const size_type npos;
138 // STLS says return size_type, but Google says return int
142 int copy(char* buf, size_type n, size_type pos = 0) const;
144 int find(const StringPiece& s, size_type pos = 0) const;
145 int find(char c, size_type pos = 0) const;
146 int rfind(const StringPiece& s, size_type pos = npos) const;
147 int rfind(char c, size_type pos = npos) const;
149 StringPiece substr(size_type po
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/test/tinyxml/
H A Dtinystr.h59 typedef size_t size_type; typedef in class:TiXmlString
62 static const size_type npos; // = -1;
80 init( static_cast<size_type>( strlen(copy) ));
85 TIXML_EXPLICIT TiXmlString ( const char * str, size_type len) : rep_(0)
99 return assign( copy, (size_type)strlen(copy));
111 return append(suffix, static_cast<size_type>( strlen(suffix) ));
134 size_type length () const { return rep_->size; }
137 size_type size () const { return rep_->size; }
143 size_type capacity () const { return rep_->capacity; }
147 const char& at (size_type inde
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dstl_allocator.h61 typedef size_t size_type; typedef in class:STL_Allocator
81 pointer allocate(size_type n, const void* = 0) {
85 void deallocate(pointer p, size_type n) { Alloc::Free(p, n * sizeof(T)); }
87 size_type max_size() const { return size_t(-1) / sizeof(T); }
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dstl_allocator.h61 typedef size_t size_type; typedef in class:STL_Allocator
81 pointer allocate(size_type n, const void* = 0) {
85 void deallocate(pointer p, size_type n) { Alloc::Free(p, n * sizeof(T)); }
87 size_type max_size() const { return size_t(-1) / sizeof(T); }
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dscoped_vector.h33 typedef typename std::vector<T*>::size_type size_type; typedef in class:webrtc::ScopedVector
/external/chromium_org/ui/views/layout/
H A Dgrid_layout.cc162 GridLayout::SizeType size_type,
169 size_type_(size_type),
388 GridLayout::SizeType size_type,
391 AddColumn(h_align, v_align, resize_percent, size_type, fixed_width,
412 GridLayout::SizeType size_type,
416 Column* column = new Column(h_align, v_align, resize_percent, size_type,
159 Column(GridLayout::Alignment h_align, GridLayout::Alignment v_align, float resize_percent, GridLayout::SizeType size_type, int fixed_width, int min_width, bool is_padding) argument
385 AddColumn(GridLayout::Alignment h_align, GridLayout::Alignment v_align, float resize_percent, GridLayout::SizeType size_type, int fixed_width, int min_width) argument
409 AddColumn(GridLayout::Alignment h_align, GridLayout::Alignment v_align, float resize_percent, GridLayout::SizeType size_type, int fixed_width, int min_width, bool is_padding) argument
/external/chromium_org/ui/views/win/
H A Dhwnd_message_handler.cc2011 LRESULT HWNDMessageHandler::OnSetIcon(UINT size_type, HICON new_icon) { argument
2013 return DefWindowProcWithRedrawLock(WM_SETICON, size_type,
/external/chromium_org/v8/src/
H A Dzone-allocator.h23 typedef size_t size_type; typedef in class:v8::internal::zone_allocator
39 pointer allocate(size_type n, const void* hint = 0) {
43 void deallocate(pointer p, size_type) { /* noop for Zones */ }
45 size_type max_size() const throw() {
/external/clang/include/clang/AST/
H A DASTVector.h77 typedef size_t size_type; typedef in class:clang::ASTVector
104 size_type size() const { return End-Begin; }
181 size_type NumInputs = std::distance(in_start, in_end);
187 if (NumInputs > size_type(this->capacity_ptr()-this->end()))
199 void append(const ASTContext &C, size_type NumInputs, const T &Elt) {
201 if (NumInputs > size_type(this->capacity_ptr()-this->end()))
237 iterator insert(const ASTContext &C, iterator I, size_type NumToInsert,
352 void grow(const ASTContext &C, size_type MinSize = 1);

Completed in 1753 milliseconds

12345