/external/ImageMagick/Magick++/lib/ |
D | ResourceLimits.cpp | 13 void Magick::ResourceLimits::area(const MagickSizeType limit_) in area() argument 15 (void) SetMagickResourceLimit(AreaResource,limit_); in area() 23 void Magick::ResourceLimits::disk(const MagickSizeType limit_) in disk() argument 25 (void) SetMagickResourceLimit(DiskResource,limit_); in disk() 33 void Magick::ResourceLimits::file(const MagickSizeType limit_) in file() argument 35 (void) SetMagickResourceLimit(FileResource,limit_); in file() 43 void Magick::ResourceLimits::height(const MagickSizeType limit_) in height() argument 45 (void) SetMagickResourceLimit(HeightResource,limit_); in height() 53 void Magick::ResourceLimits::listLength(const MagickSizeType limit_) in listLength() argument 55 (void) SetMagickResourceLimit(ListLengthResource,limit_); in listLength() [all …]
|
/external/ImageMagick/Magick++/lib/Magick++/ |
D | ResourceLimits.h | 21 static void area(const MagickSizeType limit_); 26 static void disk(const MagickSizeType limit_); 34 static void file(const MagickSizeType limit_); 38 static void height(const MagickSizeType limit_); 42 static void listLength(const MagickSizeType limit_); 47 static void map(const MagickSizeType limit_); 53 static void memory(const MagickSizeType limit_); 57 static void thread(const MagickSizeType limit_); 62 static void throttle(const MagickSizeType limit_); 66 static void width(const MagickSizeType limit_);
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | buffered_inputstream.cc | 46 limit_ = 0; in FillBuffer() 51 limit_ = buf_.size(); in FillBuffer() 63 if (pos_ == limit_) { in ReadLineHelper() 66 if (limit_ == 0) { in ReadLineHelper() 102 if (pos_ == limit_) { in ReadNBytes() 105 if (limit_ == 0) { in ReadNBytes() 112 std::min<int64>(limit_ - pos_, bytes_to_read - result->size()); in ReadNBytes() 131 if (pos_ + bytes_to_skip < limit_) { in SkipNBytes() 138 Status s = input_stream_->SkipNBytes(bytes_to_skip - (limit_ - pos_)); in SkipNBytes() 140 limit_ = 0; in SkipNBytes() [all …]
|
D | inputbuffer.cc | 29 limit_(buf_) {} in InputBuffer() 40 limit_ = pos_ + data.size(); in FillBuffer() 50 size_t buf_remain = limit_ - pos_; in ReadLine() 65 } while (limit_ != buf_); in ReadLine() 100 if (pos_ == limit_) { in ReadNBytes() 103 if (limit_ == buf_) { in ReadNBytes() 109 std::min<int64>(limit_ - pos_, bytes_to_read - *bytes_read); in ReadNBytes() 162 if (pos_ == limit_) { in SkipNBytes() 165 if (limit_ == buf_) { in SkipNBytes() 170 std::min<int64>(limit_ - pos_, bytes_to_skip - bytes_skipped); in SkipNBytes() [all …]
|
D | inputbuffer.h | 79 int64 Tell() const { return file_pos_ - (limit_ - pos_); } in Tell() 105 char* limit_; // Just past end of valid data in "buf" variable 118 if (pos_ + core::kMaxVarint32Bytes <= limit_) { in ReadVarint32() 121 const char* offset = core::GetVarint32Ptr(pos_, limit_, result); in ReadVarint32() 132 if (pos_ + core::kMaxVarint64Bytes <= limit_) { in ReadVarint64() 135 const char* offset = core::GetVarint64Ptr(pos_, limit_, result); in ReadVarint64()
|
D | proto_encode_helper.h | 34 : base_(buf), p_(buf), limit_(base_ + max_size) {} in ProtoEncodeHelper() 38 DCHECK_LE(p_, limit_); in ~ProtoEncodeHelper() 94 char* limit_; // Just for CHECKs variable
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl_lite.cc | 383 : input_(input), limit_(limit) { in LimitingInputStream() 389 if (limit_ < 0) input_->BackUp(-limit_); in ~LimitingInputStream() 393 if (limit_ <= 0) return false; in Next() 396 limit_ -= *size; in Next() 397 if (limit_ < 0) { in Next() 399 *size += limit_; in Next() 405 if (limit_ < 0) { in BackUp() 406 input_->BackUp(count - limit_); in BackUp() 407 limit_ = count; in BackUp() 410 limit_ += count; in BackUp() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | count_up_to_op.cc | 29 OP_REQUIRES_OK(context, context->GetAttr("limit", &limit_)); in CountUpToOp() 42 if (*ptr >= limit_) { in Compute() 43 context->SetStatus(errors::OutOfRange("Reached limit of ", limit_)); in Compute() 56 T limit_; member in tensorflow::CountUpToOp 64 OP_REQUIRES_OK(context, context->GetAttr("limit", &limit_)); in ResourceCountUpToOp() 78 if (before_increment.scalar<T>()() >= limit_) { in Compute() 79 context->SetStatus(errors::OutOfRange("Reached limit of ", limit_)); in Compute() 96 T limit_; member in tensorflow::ResourceCountUpToOp
|
/external/protobuf/src/google/protobuf/stubs/ |
D | bytestream.cc | 163 limit_(limit) { in LimitByteSource() 168 if (available > limit_) { in Available() 169 available = limit_; in Available() 177 if (piece.size() > limit_) { in Peek() 178 piece.set(piece.data(), limit_); in Peek() 185 GOOGLE_DCHECK_LE(n, limit_); in Skip() 187 limit_ -= n; in Skip() 191 GOOGLE_DCHECK_LE(n, limit_); in CopyTo() 193 limit_ -= n; in CopyTo()
|
/external/v8/src/heap/cppgc/ |
D | gc-info-table.cc | 76 const GCInfoIndex new_limit = (limit_) ? 2 * limit_ : InitialTableLimit(); in Resize() 77 CHECK_GT(new_limit, limit_); in Resize() 78 const size_t old_committed_size = limit_ * kEntrySize; in Resize() 102 limit_ = new_limit; in Resize() 118 if (current_index_ == limit_) { in RegisterNewGCInfo()
|
/external/v8/src/zone/ |
D | zone.cc | 56 DCHECK_LE(position_, limit_); in AsanNew() 57 if (size_with_redzone > limit_ - position_) { in AsanNew() 103 position_ = limit_ = 0; in DeleteAll() 114 DCHECK_LT(limit_ - position_, size); in NewExpand() 169 limit_ = segment->end(); in NewExpand() 170 DCHECK(position_ <= limit_); in NewExpand()
|
/external/libvpx/libvpx/test/ |
D | yuv_video_source.h | 31 limit_(limit), frame_(0), width_(0), height_(0), in YUVVideoSource() 61 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img() 75 virtual unsigned int limit() const { return limit_; } in limit() 104 limit_ = frame_; in FillFrame() 114 unsigned int limit_; variable
|
D | y4m_video_source.h | 27 start_(start), limit_(limit), frame_(0), framerate_numerator_(0), in Y4mVideoSource() 65 return (frame_ < limit_) ? img_.get() : NULL; in img() 80 virtual unsigned int limit() const { return limit_; } in limit() 114 unsigned int limit_; variable
|
D | video_source.h | 136 : img_(NULL), limit_(100), width_(80), height_(64), in DummyVideoSource() 153 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img() 167 virtual unsigned int limit() const { return limit_; } in limit() 169 void set_limit(unsigned int limit) { limit_ = limit; } in set_limit() 199 unsigned int limit_; variable
|
/external/libaom/libaom/test/ |
D | yuv_video_source.h | 32 limit_(limit), frame_(0), width_(0), height_(0), in YUVVideoSource() 61 virtual aom_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img() 75 virtual unsigned int limit() const { return limit_; } in limit() 102 limit_ = frame_; in FillFrame() 112 unsigned int limit_; variable
|
D | y4m_video_source.h | 28 start_(start), limit_(limit), frame_(0), framerate_numerator_(0), in Y4mVideoSource() 67 return (frame_ < limit_) ? img_.get() : NULL; in img() 82 virtual unsigned int limit() const { return limit_; } in limit() 116 unsigned int limit_; variable
|
D | video_source.h | 138 : img_(NULL), limit_(100), width_(80), height_(64), in DummyVideoSource() 155 virtual aom_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img() 169 virtual unsigned int limit() const { return limit_; } in limit() 171 void set_limit(unsigned int limit) { limit_ = limit; } in set_limit() 201 unsigned int limit_; variable
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | top_n.h | 93 TopN(size_t limit, const Cmp &cmp) : limit_(limit), cmp_(cmp) {} in TopN() 95 size_t limit() const { return limit_; } in limit() 99 size_t size() const { return std::min(elements_.size(), limit_); } in size() 106 void reserve(size_t n) { elements_.reserve(std::min(n, limit_ + 1)); } in reserve() 200 size_t limit_; // Maximum number of elements to find variable 211 if (limit_ == 0) { in PushInternal() 228 if (elements_.size() == limit_ + 1) { in PushInternal()
|
/external/tensorflow/tensorflow/lite/experimental/kernels/ |
D | top_n.h | 95 TopN(size_t limit, const Cmp &cmp) : limit_(limit), cmp_(cmp) {} in TopN() 97 size_t limit() const { return limit_; } in limit() 101 size_t size() const { return std::min(elements_.size(), limit_); } in size() 108 void reserve(size_t n) { elements_.reserve(std::min(n, limit_ + 1)); } in reserve() 202 size_t limit_; // Maximum number of elements to find variable 213 if (limit_ == 0) { in PushInternal() 230 if (elements_.size() == limit_ + 1) { in PushInternal()
|
/external/protobuf/src/google/protobuf/ |
D | parse_context.cc | 164 if (PROTOBUF_PREDICT_FALSE(overrun > limit_)) return {nullptr, true}; in DoneFallback() 165 GOOGLE_DCHECK(overrun != limit_); // Guaranteed by caller. in DoneFallback() 166 GOOGLE_DCHECK(overrun < limit_); // Follows from above in DoneFallback() 171 GOOGLE_DCHECK(limit_end_ == buffer_end_ + (std::min)(0, limit_)); in DoneFallback() 173 GOOGLE_DCHECK(limit_ > 0); in DoneFallback() 182 GOOGLE_DCHECK(limit_ > 0); in DoneFallback() 188 limit_ -= buffer_end_ - p; // Adjust limit_ relative to new anchor in DoneFallback() 192 limit_end_ = buffer_end_ + std::min(0, limit_); in DoneFallback() 205 if (PROTOBUF_PREDICT_TRUE(size <= buffer_end_ - ptr + limit_)) { in ReadStringFallback() 215 if (PROTOBUF_PREDICT_TRUE(size <= buffer_end_ - ptr + limit_)) { in AppendStringFallback() [all …]
|
D | parse_context.h | 130 auto old_limit = limit_; in PushLimit() 131 limit_ = limit; in PushLimit() 137 limit_ = limit_ + delta; in PopLimit() 140 limit_end_ = buffer_end_ + (std::min)(0, limit_); in PopLimit() 192 (next_chunk_ == nullptr || ptr - buffer_end_ > limit_); in IsExceedingLimit() 206 if ((*ptr - buffer_end_) == limit_) return true; in DoneWithCheck() 215 limit_ = kSlopBytes; in InitFrom() 222 limit_ = 0; in InitFrom() 238 limit_ = limit - static_cast<int>(buffer_end_ - res); in InitFrom() 239 limit_end_ = buffer_end_ + (std::min)(0, limit_); in InitFrom() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | range_test.cc | 31 limit_ = AddInput(dtype); in RangeOpModel() 36 BuildInterpreter({GetShape(start_), GetShape(limit_), GetShape(delta_)}); in RangeOpModel() 40 int limit() { return limit_; } in limit() 48 int limit_; member in tflite::__anoncf6230200111::RangeOpModel
|
/external/v8/src/heap/ |
D | spaces.h | 363 : start_(kNullAddress), top_(kNullAddress), limit_(kNullAddress) {} in LinearAllocationArea() 365 : start_(top), top_(top), limit_(limit) {} in LinearAllocationArea() 389 V8_INLINE void set_limit(Address limit) { limit_ = limit; } in set_limit() 391 V8_INLINE Address limit() const { return limit_; } in limit() 393 Address* limit_address() { return &limit_; } in limit_address() 398 Page::FromAllocationAreaAddress(limit_)) && in VerifyPagedAllocation() 399 (top_ <= limit_); in VerifyPagedAllocation() 409 Address limit_; variable
|
/external/vixl/src/ |
D | code-generation-scopes-vixl.h | 96 limit_ = assembler_->GetSizeOfCodeGenerated() + size; 118 VIXL_ASSERT(assembler_->GetSizeOfCodeGenerated() == limit_); in Close() 121 VIXL_ASSERT(assembler_->GetSizeOfCodeGenerated() <= limit_); in Close() 133 size_t limit_; variable
|
/external/v8/src/regexp/ |
D | regexp-stack.cc | 64 limit_ = reinterpret_cast<Address>(regexp_stack->static_stack_) + in ResetToStaticStack() 78 limit_ = kMemoryTop; in FreeAndInvalidate() 95 thread_local_.limit_ = reinterpret_cast<Address>(new_memory) + in EnsureCapacity()
|