/external/icu/icu4c/source/common/ |
H A D | uscript_props.cpp | 221 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode) { argument 223 if(capacity < 0 || (capacity > 0 && dest == NULL)) { 233 if(length <= capacity) { 238 return u_terminateUChars(dest, capacity, length, pErrorCode);
|
H A D | ustrenum.cpp | 81 StringEnumeration::ensureCharsCapacity(int32_t capacity, UErrorCode &status) { argument 82 if(U_SUCCESS(status) && capacity>charsCapacity) { 83 if(capacity<(charsCapacity+charsCapacity/2)) { 85 capacity=charsCapacity+charsCapacity/2; 90 chars=(char *)uprv_malloc(capacity); 96 charsCapacity=capacity;
|
/external/qemu/android/base/ |
H A D | Log.cpp | 97 size_t capacity = 100; local 98 char* message = reinterpret_cast<char*>(::malloc(capacity)); 102 int ret = vsnprintf(message, capacity, fmt, args); 104 if (ret >= 0 && size_t(ret) < capacity) 106 capacity *= 2;
|
/external/apache-http/src/org/apache/http/impl/io/ |
H A D | AbstractSessionOutputBuffer.java | 110 if (len > MAX_CHUNK || len > this.buffer.capacity()) { 118 int freecapacity = this.buffer.capacity() - this.buffer.length(); 160 int chunk = this.buffer.capacity() - this.buffer.length();
|
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/ |
H A D | removable_storage_provider_chromeos_unittest.cc | 103 uint64 capacity) { 111 EXPECT_EQ(capacity, device->capacity); 99 ExpectDevice(StorageDeviceList* list, const std::string& device_path, const std::string& vendor, const std::string& model, uint64 capacity) argument
|
H A D | image_writer_private_apitest.cc | 37 expected1->capacity = image_writer::kTestFileSize; 48 expected2->capacity = image_writer::kTestFileSize << 2;
|
/external/chromium_org/net/disk_cache/blockfile/ |
H A D | block_bitmaps_v3.cc | 165 int capacity = bitmaps_[index].Capacity(); local 166 int used = capacity - bitmaps_[index].EmptyBlocks(); 169 max_blocks += capacity;
|
/external/chromium_org/third_party/icu/source/common/unicode/ |
H A D | unorm2.h | 272 * @param capacity number of UChars that can be written to dest 283 UChar *dest, int32_t capacity, 343 * @param capacity number of UChars that can be written to decomposition 353 UChar32 c, UChar *decomposition, int32_t capacity, 377 * @param capacity number of UChars that can be written to decomposition 387 UChar32 c, UChar *decomposition, int32_t capacity,
|
H A D | uscript.h | 416 * If required capacity is greater than capacity of the destination buffer then the error code 417 * is set to U_BUFFER_OVERFLOW_ERROR and the required capacity is returned 425 * @param capacity the capacity (size) fo UScriptCode buffer passed in. 431 uscript_getCode(const char* nameOrAbbrOrLocale,UScriptCode* fillIn,int32_t capacity,UErrorCode *err); 498 * If there are more than capacity script codes to be written, then 506 * @param capacity capacity of the scripts array 512 * written to scripts unless U_BUFFER_OVERFLOW_ERROR indicates insufficient capacity [all...] |
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/src/org/webrtc/ |
H A D | VideoRenderer.java | 128 yuvPlanes[i].limit(yuvPlanes[i].capacity()); 143 src.position(0).limit(src.capacity()); 145 dst.position(0).limit(dst.capacity());
|
/external/deqp/framework/delibs/depool/ |
H A D | dePoolHeap.h | 68 DE_INLINE deBool TYPENAME##_reserve (TYPENAME* heap, int capacity) DE_UNUSED_FUNCTION; \ 91 DE_INLINE deBool TYPENAME##_reserve (TYPENAME* heap, int capacity) \ 93 return TYPENAME##Array_reserve(heap->array, capacity); \
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
H A D | AttributeCollection.java | 198 AttributeCollection (final int capacity) argument 200 m_attributes = capacity < 0 ? new ArrayList () : new ArrayList (capacity);
|
/external/icu/icu4c/source/common/unicode/ |
H A D | unorm2.h | 272 * @param capacity number of UChars that can be written to dest 283 UChar *dest, int32_t capacity, 343 * @param capacity number of UChars that can be written to decomposition 353 UChar32 c, UChar *decomposition, int32_t capacity, 377 * @param capacity number of UChars that can be written to decomposition 387 UChar32 c, UChar *decomposition, int32_t capacity,
|
H A D | uscript.h | 416 * If required capacity is greater than capacity of the destination buffer then the error code 417 * is set to U_BUFFER_OVERFLOW_ERROR and the required capacity is returned 425 * @param capacity the capacity (size) fo UScriptCode buffer passed in. 431 uscript_getCode(const char* nameOrAbbrOrLocale,UScriptCode* fillIn,int32_t capacity,UErrorCode *err); 498 * If there are more than capacity script codes to be written, then 506 * @param capacity capacity of the scripts array 512 * written to scripts unless U_BUFFER_OVERFLOW_ERROR indicates insufficient capacity [all...] |
/external/chromium_org/content/common/gpu/media/ |
H A D | android_video_encode_accelerator.cc | 291 size_t capacity = 0; local 292 media_codec_->GetInputBuffer(input_buf_index, &buffer, &capacity); 296 RETURN_ON_FAILURE(capacity >= queued_size, 337 size_t capacity = media_codec_->GetOutputBuffersCapacity(); local 339 capacity <= output_buffers_capacity_; 342 << ", now: " << count << "x" << capacity; local
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
H A D | StringBuilder.cpp | 36 static unsigned expandedCapacity(unsigned capacity, unsigned requiredLength) argument 39 return std::max(requiredLength, std::max(minimumCapacity, capacity * 2)); 217 // Make 'length' additional capacity be available in m_buffer, update m_string & m_length, 240 // Make 'length' additional capacity be available in m_buffer, update m_string & m_length, 251 reallocateBuffer<CharType>(expandedCapacity(capacity(), requiredLength)); 254 allocateBuffer(m_length ? m_string.getCharacters<CharType>() : 0, expandedCapacity(capacity(), requiredLength)); 285 allocateBufferUpConvert(m_buffer->characters8(), expandedCapacity(capacity(), requiredLength)); 288 allocateBufferUpConvert(m_string.isNull() ? 0 : m_string.characters8(), expandedCapacity(capacity(), requiredLength));
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | ustrenum.cpp | 81 StringEnumeration::ensureCharsCapacity(int32_t capacity, UErrorCode &status) { argument 82 if(U_SUCCESS(status) && capacity>charsCapacity) { 83 if(capacity<(charsCapacity+charsCapacity/2)) { 85 capacity=charsCapacity+charsCapacity/2; 90 chars=(char *)uprv_malloc(capacity); 96 charsCapacity=capacity;
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
H A D | cache.cc | 141 void SetCapacity(size_t capacity) { capacity_ = capacity; } argument 285 explicit ShardedLRUCache(size_t capacity) argument 287 const size_t per_shard = (capacity + (kNumShards - 1)) / kNumShards; 321 Cache* NewLRUCache(size_t capacity) { argument 322 return new ShardedLRUCache(capacity);
|
/external/chromium_org/chrome/renderer/ |
H A D | benchmarking_extension.cc | 86 size_t capacity) { 89 args[0]->ToString()->WriteUtf8(&name[2], capacity - 3); 83 ExtractCounterName( const v8::FunctionCallbackInfo<v8::Value>& args, char* name, size_t capacity) argument
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | crazy_linker_util.cpp | 113 int ret = vsnprintf(&result[0], result.capacity(), fmt, args2); 115 if (static_cast<size_t>(ret) <= result.capacity())
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
H A D | denseranges.cpp | 87 * Does it make sense to write 1..capacity ranges? 94 * @param capacity Maximum number of ranges. 95 * @return Minimum number of ranges (at most capacity) that have the desired density, 101 int32_t ranges[][2], int32_t capacity) { 119 // See if we can split [minValue, maxValue] into 2..capacity ranges, 120 // divided by the 1..(capacity-1) largest gaps. 121 LargestGaps gaps(capacity-1); 138 // The values are too sparse for capacity or fewer ranges 99 uprv_makeDenseRanges(const int32_t values[], int32_t length, int32_t density, int32_t ranges[][2], int32_t capacity) argument
|
/external/chromium_org/url/ |
H A D | url_canon_icu.cc | 126 int dest_capacity = output->capacity() - begin_offset; 171 output->capacity(), &info, &err);
|
/external/flac/libFLAC/ |
H A D | bitwriter.c | 74 * The default capacity here doesn't matter too much. The buffer always grows 105 unsigned capacity; /* capacity of buffer in words */ member in struct:FLAC__BitWriter 134 if(bw->capacity >= new_capacity) 137 /* round up capacity increase to the nearest FLAC__BITWRITER_DEFAULT_INCREMENT */ 138 if((new_capacity - bw->capacity) % FLAC__BITWRITER_DEFAULT_INCREMENT) 139 new_capacity += FLAC__BITWRITER_DEFAULT_INCREMENT - ((new_capacity - bw->capacity) % FLAC__BITWRITER_DEFAULT_INCREMENT); 141 FLAC__ASSERT(0 == (new_capacity - bw->capacity) % FLAC__BITWRITER_DEFAULT_INCREMENT); 142 FLAC__ASSERT(new_capacity > bw->capacity); 149 bw->capacity [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
H A D | GifResourceDecoder.java | 60 int capacity = 16384; 61 ByteArrayOutputStream buffer = new ByteArrayOutputStream(capacity);
|
/external/icu/icu4c/source/tools/toolutil/ |
H A D | denseranges.cpp | 87 * Does it make sense to write 1..capacity ranges? 94 * @param capacity Maximum number of ranges. 95 * @return Minimum number of ranges (at most capacity) that have the desired density, 101 int32_t ranges[][2], int32_t capacity) { 119 // See if we can split [minValue, maxValue] into 2..capacity ranges, 120 // divided by the 1..(capacity-1) largest gaps. 121 LargestGaps gaps(capacity-1); 138 // The values are too sparse for capacity or fewer ranges 99 uprv_makeDenseRanges(const int32_t values[], int32_t length, int32_t density, int32_t ranges[][2], int32_t capacity) argument
|