/external/eigen/test/eigen2/ |
eigen2_sparse_basic.cpp | 19 std::vector<Vector2i> remaining = nonzeroCoords; local 20 while(!remaining.empty()) 22 int i = ei_random<int>(0,remaining.size()-1); 23 w(remaining[i].x(),remaining[i].y()) = ref.coeff(remaining[i].x(),remaining[i].y()); 24 remaining[i] = remaining.back(); 25 remaining.pop_back() 35 std::vector<Vector2i> remaining = nonzeroCoords; local [all...] |
/packages/apps/Email/src/org/apache/commons/io/input/ |
SwappedDataInputStream.java | 136 int remaining = length;
local 138 while( remaining > 0 )
140 int location = offset + ( length - remaining );
141 int count = read( data, location, remaining );
148 remaining -= count;
|
/external/webkit/Source/WebCore/rendering/mathml/ |
RenderMathMLOperator.cpp | 231 int remaining = half - gGlyphHeight; local 232 while (remaining > 0) { 233 if (remaining < gGlyphHeight) { 234 createGlyph(stretchyCharacters[index].extensionGlyph, remaining); 235 remaining = 0; 238 remaining -= gGlyphHeight; 245 // The remaining is the top half minus the middle glyph height. 246 remaining = half - gGlyphHeight; 249 remaining++; 252 while (remaining > 0) 267 int remaining = m_stretchHeight - 2 * gGlyphHeight; local [all...] |
/external/srec/portable/src/ |
ptimer.c | 212 struct itimerspec remaining; local 216 if (timer_gettime(timer->timer, &remaining) != 0) return ESR_NOT_SUPPORTED; 220 timer->elapsed = (asr_uint32_t) ((TIMER_MAX_VAL - remaining.it_value.tv_sec) * SECOND2MSECOND 221 - remaining.it_value.tv_nsec / MSECOND2NSECOND); 239 struct itimerspec remaining; local 240 if (timer_gettime(timer->timer, &remaining) != 0) return ESR_NOT_SUPPORTED; 241 *elapsed = (asr_uint32_t) ((TIMER_MAX_VAL - remaining.it_value.tv_sec) * SECOND2MSECOND 242 - remaining.it_value.tv_nsec / MSECOND2NSECOND);
|
/system/core/libcutils/ |
buffer.h | 43 size_t remaining; member in union:__anon43934::__anon43935 61 #define bufferWriteComplete(buffer) (buffer->remaining == 0) 101 * of an error. Updates buffer->remaining and returns the number of remaining 104 * Precondition: buffer->remaining > 0
|
/system/core/libnl_2/ |
attr.c | 97 struct nlattr *nla_next(const struct nlattr *nla, int *remaining) 101 nla->nla_len <= *remaining){ 104 *remaining = *remaining - NLA_ALIGN(nla->nla_len); 112 int nla_ok(const struct nlattr *nla, int remaining) 114 return remaining > 0 && 116 sizeof(struct nlattr) <= (unsigned int) remaining && 117 nla->nla_len <= remaining;
|
/libcore/luni/src/main/java/java/nio/ |
IoVec.java | 58 int remaining = b.remaining(); local 66 byteCounts[i] = remaining; 67 totalRemaining += remaining;
|
ByteBuffer.java | 150 * Returns a char buffer which is based on the remaining content of this 154 * of remaining bytes divided by two, and its mark is not set. The new 167 * Returns a double buffer which is based on the remaining content of this 171 * of remaining bytes divided by eight, and its mark is not set. The new 185 * Returns a float buffer which is based on the remaining content of this 189 * of remaining bytes divided by four, and its mark is not set. The new 202 * Returns a int buffer which is based on the remaining content of this byte 206 * of remaining bytes divided by four, and its mark is not set. The new 219 * Returns a long buffer which is based on the remaining content of this 223 * of remaining bytes divided by eight, and its mark is not set. The ne [all...] |
Buffer.java | 176 if (byteCount > remaining()) { 188 if (byteCount > remaining()) { 198 if (end < start || start < 0 || end > remaining()) { 200 ", remaining()=" + remaining()); 248 * Indicates if there are elements remaining in this buffer, that is if 251 * @return {@code true} if there are elements remaining in this buffer, 367 * Returns the number of remaining elements in this buffer, that is 370 * @return the number of remaining elements in this buffer. 372 public final int remaining() { method in class:Buffer [all...] |
CharArrayBuffer.java | 58 System.arraycopy(backingArray, position + arrayOffset, backingArray, arrayOffset, remaining()); 70 return new CharArrayBuffer(remaining(), backingArray, arrayOffset + position, isReadOnly); 111 if (charCount > remaining()) { 159 if (charCount > remaining()) { 168 return String.copyValueOf(backingArray, arrayOffset + position, remaining());
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
SSLBufferedInput.java | 53 return in.remaining();
|
/external/chromium/chrome/browser/safe_browsing/ |
protocol_parser.h | 119 int* remaining, 122 static int ReadChunkId(const char** data, int* remaining); 124 const char** data, int* remaining, SBEntry* entry, int count);
|
/external/icu4c/tools/toolutil/ |
uoptions.c | 27 int i=1, remaining=1; local 117 argv[remaining++]=arg; 121 return remaining;
|
/external/webkit/Source/WebCore/platform/ |
FileStream.cpp | 123 long long remaining = m_totalBytesToRead - m_bytesProcessed; local 124 int bytesToRead = (remaining < bufferSize) ? static_cast<int>(remaining) : bufferSize;
|
/external/libpng/ |
pngrio.c | 120 png_size_t read, remaining, err; local 122 remaining = length; 125 read = MIN(NEAR_BUF_SIZE, remaining); 138 remaining -= read; 140 while (remaining != 0);
|
/external/qemu/distrib/libpng-1.2.19/ |
pngrio.c | 96 png_size_t read, remaining, err; local 98 remaining = length; 101 read = MIN(NEAR_BUF_SIZE, remaining); 114 remaining -= read; 116 while (remaining != 0);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsProvider2_AccountRemovalTest.java | 181 ArrayList<ContactIdPair> remaining = new ArrayList<ContactIdPair>(idList.size()); local 182 remaining.addAll(idList); 183 while (!remaining.isEmpty()) { 186 assertWithinTimeoutLimit(start, "Contacts " + Arrays.toString(remaining.toArray()) + 191 for (ContactIdPair ids : remaining) { 200 remaining.removeAll(toBeRemoved); 212 ArrayList<ContactIdPair> remaining = new ArrayList<ContactIdPair>(idList.size()); local 213 remaining.addAll(idList); 214 while (!remaining.isEmpty()) { 221 for (ContactIdPair ids : remaining) { [all...] |
/external/icu4c/common/ |
ustr_wcs.cpp | 154 int32_t remaining = intTargetCapacity; local 164 retVal = uprv_mbstowcs(pIntTarget,(tempBuf+nulLen),remaining); 169 }else if(retVal== remaining){/* should never occur */ 177 remaining=intTargetCapacity; 181 remaining-=numWritten; 192 remaining -=(retVal+nulVal); 338 int32_t remaining =cStackCap; local 351 if(remaining < (nulLen * MB_CUR_MAX)){ 361 remaining = cStackCap-(pCSrc - pCSave); 367 retVal = uprv_wcstombs(pCSrc,pSrc,remaining); [all...] |
/external/webkit/Source/WebKit/mac/Misc/ |
WebNSDataExtras.m | 120 int remaining = MIN(length, WEB_GUESS_MIME_TYPE_PEEK_LENGTH) - (CHANNEL_TAG_LENGTH - 1); 124 while (remaining > 0) { 126 const char *hit = memchr(p, '<', remaining); 155 remaining -= (hit + 1) - p; 178 int remaining = MIN(length, WEB_GUESS_MIME_TYPE_PEEK_LENGTH) - (SCRIPT_TAG_LENGTH - 1); 179 while (remaining > 0) { 181 const char *hit = memchr(p, '<', remaining); 195 remaining -= (hit + 1) - p; 202 remaining = MIN(length, WEB_GUESS_MIME_TYPE_PEEK_LENGTH) - (TEXT_HTML_LENGTH - 1); 203 while (remaining > 0) [all...] |
/external/oprofile/daemon/ |
opd_trans.c | 55 if (!trans->remaining) { 68 trans->remaining--; 76 if (trans->remaining >= size) 90 trans->remaining = 0; 147 trans->remaining = 0; 174 trans->remaining = 0; 188 trans->remaining = 0; 294 .remaining = count, 324 while (trans.remaining) { 332 if (!trans.remaining) { [all...] |
/system/media/audio_utils/ |
tinysndfile.c | 27 size_t remaining; // frames unread for SFM_READ, frames written for SFM_WRITE member in struct:SNDFILE_ 102 handle->remaining = dataSize / bytesPerFrame; 103 handle->info.frames = handle->remaining; 160 handle->remaining = 0; 189 unsigned dataSize = handle->remaining * handle->bytesPerFrame; 201 if (handle == NULL || handle->mode != SFM_READ || ptr == NULL || !handle->remaining || 205 if (handle->remaining < (size_t) desiredFrames) 206 desiredFrames = handle->remaining; 211 handle->remaining -= actualFrames; 249 handle->remaining += actualFrames [all...] |
/external/elfutils/tests/ |
addrscopes.c | 151 int remaining; local 157 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &remaining, &dwfl); local 164 if (remaining == argc) 191 uintmax_t addr = strtoumax (argv[remaining], &endp, 0); 192 if (endp != argv[remaining]) 197 while (++remaining < argc);
|
find-prologues.c | 96 int remaining; local 103 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &remaining, local 106 a.argv = &argv[remaining];
|
/external/guava/guava/src/com/google/common/hash/ |
AbstractStreamingHashFunction.java | 147 if (readBuffer.remaining() <= buffer.remaining()) { 161 while (readBuffer.remaining() >= chunkSize) { 223 if (buffer.remaining() > 0) { 233 if (buffer.remaining() < 8) { 241 while (buffer.remaining() >= chunkSize) { 246 buffer.compact(); // preserve any remaining data that do not make a full chunk
|
/external/objenesis/main/src/org/objenesis/instantiator/basic/ |
ObjectInputStreamInstantiator.java | 134 int remaining = data.length - pointer; local 136 while(remaining <= left) { 137 System.arraycopy(data, pointer, b, off, remaining); 138 off += remaining; 139 left -= remaining; 141 remaining = data.length - pointer;
|