Searched refs:capacity (Results 1 - 25 of 372) sorted by relevance

1234567891011>>

/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Dutrace.c88 static void outputChar(char c, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { argument
93 * 3. When preflighting buffer len (buffer capacity is exceeded), when
100 (c!='\n' && c!=0 && *outIx < capacity && outBuf[(*outIx)-1]=='\n') || /* case 2. */
101 (c=='\n' && *outIx>=capacity)) /* case 3 */
105 if (*outIx < capacity) {
112 if (*outIx < capacity) {
124 char *outBuf, int32_t *outIx, int32_t capacity) {
129 outputChar(c, outBuf, outIx, capacity, 0);
134 static void outputPtrBytes(void *val, char *outBuf, int32_t *outIx, int32_t capacity) { argument
148 outputHexBytes(*p, 2, outBuf, outIx, capacity);
123 outputHexBytes(int64_t val, int32_t charsToOutput, char *outBuf, int32_t *outIx, int32_t capacity) argument
153 outputString(const char *s, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) argument
167 outputUString(const UChar *s, int32_t len, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) argument
187 utrace_vformat(char *outBuf, int32_t capacity, int32_t indent, const char *fmt, va_list args) argument
381 utrace_format(char *outBuf, int32_t capacity, int32_t indent, const char *fmt, ...) argument
[all...]
H A Dustrfmt.h14 uprv_itou (UChar * buffer, int32_t capacity, uint32_t i, uint32_t radix, int32_t minwidth);
H A Dustrfmt.c18 * @param capacity capacity of buffer
23 * capacity.
28 uprv_itou (UChar * buffer, int32_t capacity, argument
40 } while(i && length<capacity);
46 if(length<capacity){
H A Duvectr64.cpp26 capacity(0),
35 capacity(0),
59 capacity = initialCapacity;
121 if (capacity >= minimumCapacity) {
128 if (capacity > (INT32_MAX - 1) / 2) { // integer overflow check
132 int32_t newCap = capacity * 2;
151 capacity = newCap;
161 // Something is very wrong, don't realloc, leave capacity and maxCapacity unchanged
165 if (capacity <= maxCapacity || maxCapacity == 0) {
166 // Current capacity i
[all...]
H A Duscript.c30 int32_t capacity,
40 if(nameOrAbbrOrLocale==NULL || fillIn == NULL || capacity<0){
65 if(numFilled<capacity){
88 if(numFilled<capacity){
28 uscript_getCode(const char* nameOrAbbrOrLocale, UScriptCode* fillIn, int32_t capacity, UErrorCode* err) argument
/macosx-10.9.5/Security-55471.14.18/libsecurity_codesigning/antlr2/antlr/
H A DASTArray.hpp28 ASTArray(int capacity) argument
30 , array(capacity)
/macosx-10.9.5/WebKit2-7537.78.2/Shared/
H A DMutableArray.cpp44 void MutableArray::reserveCapacity(unsigned capacity) argument
46 m_entries.reserveCapacity(capacity);
/macosx-10.9.5/ICU-511.35/icuSources/layoutex/
H A DRunArrays.cpp50 void RunArray::init(le_int32 capacity) argument
52 fLimits = LE_NEW_ARRAY(le_int32, capacity);
92 void FontRuns::init(le_int32 capacity) argument
94 RunArray::init(capacity);
95 fFonts = LE_NEW_ARRAY(const LEFontInstance *, capacity);
98 void FontRuns::grow(le_int32 capacity) argument
100 RunArray::grow(capacity);
101 fFonts = (const LEFontInstance **) LE_GROW_ARRAY(fFonts, capacity);
144 void LocaleRuns::init(le_int32 capacity) argument
146 RunArray::init(capacity);
150 grow(le_int32 capacity) argument
196 init(le_int32 capacity) argument
202 grow(le_int32 capacity) argument
[all...]
/macosx-10.9.5/xnu-2422.115.4/libkern/c++/
H A DOSSerialize.cpp68 bzero((void *)data, capacity);
127 // add char, possibly extending our capacity
128 if (length >= capacity && length >=ensureCapacity(capacity+capacityIncrement))
158 capacity = (inCapacity) ? round_page_32(inCapacity) : round_page_32(1);
159 capacityIncrement = capacity;
164 kern_return_t rc = kmem_alloc(kernel_map, (vm_offset_t *)&data, capacity);
170 bzero((void *)data, capacity);
173 ACCUMSIZE(capacity);
191 unsigned int OSSerialize::getCapacity() const { return capacity; }
[all...]
H A DOSData.cpp70 if (data && (!inCapacity || capacity < inCapacity) ) {
72 kfree(data, capacity);
74 ACCUMSIZE(-capacity);
81 capacity = inCapacity;
112 capacity = EXTERNAL;
196 if (capacity != EXTERNAL && data && capacity) {
197 kfree(data, capacity);
198 ACCUMSIZE( -capacity );
199 } else if (capacity
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/i18n/
H A Duplrule.cpp32 UChar *keyword, int32_t capacity,
35 return uplrules_select(plrules, number, keyword, capacity, status);
41 UChar *keyword, int32_t capacity,
44 return uplrules_select(plrules, number, keyword, capacity, status);
30 uplrule_select(const UPluralRules *plrules, int32_t number, UChar *keyword, int32_t capacity, UErrorCode *status) argument
39 uplrule_selectDouble(const UPluralRules *plrules, double number, UChar *keyword, int32_t capacity, UErrorCode *status) argument
H A Dupluralrules.cpp41 UChar *keyword, int32_t capacity,
47 if (keyword == NULL ? capacity != 0 : capacity < 0) {
52 return result.extract(keyword, capacity, *status);
39 uplrules_select(const UPluralRules *uplrules, double number, UChar *keyword, int32_t capacity, UErrorCode *status) argument
/macosx-10.9.5/ICU-511.35/icuSources/tools/toolutil/
H A Ddenseranges.h23 * Does it make sense to write 1..capacity ranges?
30 * @param capacity Maximum number of ranges.
31 * @return Minimum number of ranges (at most capacity) that have the desired density,
37 int32_t ranges[][2], int32_t capacity);
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Support/
H A DCapacity.h10 // This file defines the capacity function that computes the amount of
24 // This default definition of capacity should work for things like std::vector
26 return x.capacity() * sizeof(typename T::value_type);
/macosx-10.9.5/xnu-2422.115.4/libkern/libkern/c++/
H A DOSSet.h114 * @param capacity The initial storage capacity of the new set object.
122 * <code>capacity</code> must be nonzero.
125 * for which the initial capacity is a hard limit).
127 static OSSet * withCapacity(unsigned int capacity);
139 * @param capacity The initial storage capacity of the new set object.
152 * If <code>capacity</code> is nonzero,
156 * for which the initial capacity is a hard limit).
164 unsigned int capacity
[all...]
H A DOSArray.h97 unsigned int capacity; member in class:OSArray
118 * @param capacity The initial storage capacity of the array object.
125 * <code>capacity</code> must be nonzero.
128 * for which the initial capacity is a hard limit).
130 static OSArray * withCapacity(unsigned int capacity);
141 * @param capacity The initial storage capacity of the array object.
152 * If <code>capacity</code> is nonzero,
156 * for which the initial capacity i
[all...]
H A DOSDictionary.h124 unsigned int capacity; member in class:OSDictionary
145 * @param capacity The initial storage capacity of the new dictionary object.
153 * <code>capacity</code> must be nonzero.
156 * for which the initial capacity is a hard limit).
158 static OSDictionary * withCapacity(unsigned int capacity);
172 * @param capacity The initial storage capacity of the new dictionary object.
185 * If <code>capacity</code> is nonzero,
191 * for which the initial capacity i
[all...]
/macosx-10.9.5/WebKit-7537.78.2/blackberry/WebCoreSupport/
H A DBackForwardListBlackBerry.cpp96 return m_impl->enabled() && m_impl->capacity();
106 int capacity = m_impl->capacity(); local
108 m_impl->setCapacity(capacity);
126 int BackForwardListBlackBerry::capacity() function in class:WebCore::BackForwardListBlackBerry
128 return m_impl->capacity();
/macosx-10.9.5/IONetworkingFamily-100/
H A DIOGatedOutputQueue.h97 @param capacity The initial capacity of the output queue.
104 UInt32 capacity = 0,
114 @param capacity The initial capacity of the output queue.
120 UInt32 capacity = 0);
129 @param capacity The initial capacity of the output queue.
136 UInt32 capacity,
148 @param capacity Th
[all...]
H A DIONetworkStats.h62 @field capacity queue capacity.
71 UInt32 capacity; member in struct:__anon2488
/macosx-10.9.5/ICU-511.35/icuSources/i18n/unicode/
H A Duplrule.h52 * @param capacity The capacity of keyword.
60 UChar *keyword, int32_t capacity,
69 * @param capacity The capacity of keyword.
77 UChar *keyword, int32_t capacity,
/macosx-10.9.5/ICU-511.35/icuSources/test/intltest/
H A Dtextfile.h57 UBool ensureCapacity(int32_t capacity);
64 int32_t capacity; member in class:TextFile
H A Dtextfile.cpp25 capacity(0),
133 if (capacity <= index) {
150 if (capacity >= mincapacity) {
155 // Note: 'capacity' may be 0
156 int32_t i = (capacity < LOWEST_MIN_CAPACITY)? LOWEST_MIN_CAPACITY: capacity;
173 uprv_strncpy(newbuffer, buffer, capacity);
177 capacity = mincapacity;
/macosx-10.9.5/WebCore-7537.78.1/bindings/js/
H A DScriptGCEvent.cpp47 info.totalJSHeapSize = vm->heap.capacity();
/macosx-10.9.5/zlib-53/zlib/contrib/dotzlib/DotZLib/
H A DCircularBuffer.cs27 public CircularBuffer(int capacity) argument
29 Debug.Assert( capacity > 0 );
30 _buffer = new byte[capacity];
31 _capacity = capacity;

Completed in 163 milliseconds

1234567891011>>