/external/guava/guava-tests/test/com/google/common/io/ |
D | CountingOutputStreamTest.java | 29 int written = 0; in testCount() local 32 assertEquals(written, out.size()); in testCount() 33 assertEquals(written, counter.getCount()); in testCount() 36 written += 1; in testCount() 37 assertEquals(written, out.size()); in testCount() 38 assertEquals(written, counter.getCount()); in testCount() 42 written += 10; in testCount() 43 assertEquals(written, out.size()); in testCount() 44 assertEquals(written, counter.getCount()); in testCount() 47 written += 5; in testCount() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fInfoLogQueryShared.cpp | 63 int written = -1; in verifyInfoLogQuery() local 66 (gl.*getInfoLog)(object, logLen+2, &written, &buf[0]); in verifyInfoLogQuery() 69 if (written == -1) in verifyInfoLogQuery() 71 else if (buf[written] != '\0') in verifyInfoLogQuery() 73 else if (logLen != 0 && (written + 1) > logLen) in verifyInfoLogQuery() 75 else if ((written + 1) < logLen) in verifyInfoLogQuery() 79 else if (written != (int)strlen(&buf[0])) in verifyInfoLogQuery() 87 int written = -1; in verifyInfoLogQuery() local 89 (gl.*getInfoLog)(object, 2, &written, &buf[0]); in verifyInfoLogQuery() 92 if (written == -1) in verifyInfoLogQuery() [all …]
|
/external/icu/icu4c/source/io/ |
D | sprintf.c | 56 int32_t written = 0; in u_sprintf_pad_and_justify() local 73 written += paddingLeft; in u_sprintf_pad_and_justify() 77 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify() 85 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify() 90 written = u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify() 93 if (written >= 0 && lengthOfResult > written) { in u_sprintf_pad_and_justify() 97 return written; in u_sprintf_pad_and_justify() 106 int32_t written; in u_sprintf() local 109 written = u_vsnprintf(buffer, INT32_MAX, patternSpecification, ap); in u_sprintf() 112 return written; in u_sprintf() [all …]
|
D | uprintf.cpp | 82 int32_t written, i; in u_printf_pad_and_justify() local 88 written = u_file_write(result, resultLen, output); in u_printf_pad_and_justify() 90 written += u_file_write(&info->fPadChar, 1, output); in u_printf_pad_and_justify() 95 written = 0; in u_printf_pad_and_justify() 97 written += u_file_write(&info->fPadChar, 1, output); in u_printf_pad_and_justify() 99 written += u_file_write(result, resultLen, output); in u_printf_pad_and_justify() 104 written = u_file_write(result, resultLen, output); in u_printf_pad_and_justify() 107 return written; in u_printf_pad_and_justify() 207 int32_t written = 0; /* haven't written anything yet */ in u_vfprintf_u() local 210 u_printf_parse(&g_stream_handler, patternSpecification, f, NULL, &f->str.fBundle, &written, ap); in u_vfprintf_u() [all …]
|
D | uprntf_p.c | 201 int32_t len, written; in u_printf_string_handler() local 232 written = handler->pad_and_justify(context, info, s, len); in u_printf_string_handler() 239 return written; in u_printf_string_handler() 250 int32_t len = 1, written; in u_printf_char_handler() local 265 written = handler->pad_and_justify(context, info, s, len); in u_printf_char_handler() 267 return written; in u_printf_char_handler() 752 int32_t len, written; in u_printf_ustring_handler() local 768 written = handler->pad_and_justify(context, info, arg, len); in u_printf_ustring_handler() 770 return written; in u_printf_ustring_handler() 780 int32_t written = 0; in u_printf_uchar_handler() local [all …]
|
/external/jetty/src/java/org/eclipse/jetty/io/nio/ |
D | NetworkTrafficSelectChannelEndPoint.java | 56 int written = super.flush(buffer); in flush() local 57 notifyOutgoing(buffer, position, written); in flush() 58 return written; in flush() 67 int written = super.gatheringFlush(header, bbuf0, buffer,bbuf1); in gatheringFlush() local 68 notifyOutgoing(header, headerPosition, written > headerLength ? headerLength : written); in gatheringFlush() 69 notifyOutgoing(buffer, bufferPosition, written > headerLength ? written - headerLength : 0); in gatheringFlush() 70 return written; in gatheringFlush() 110 public void notifyOutgoing(Buffer buffer, int position, int written) in notifyOutgoing() argument 112 if (listeners != null && !listeners.isEmpty() && written > 0) in notifyOutgoing() 120 view.setPutIndex(position + written); in notifyOutgoing()
|
/external/libxml2/ |
D | encoding.c | 1926 int written; in xmlCharEncFirstLineInt() local 1934 written = out->size - out->use - 1; /* count '\0' */ in xmlCharEncFirstLineInt() 1951 if (toconv * 2 >= written) { in xmlCharEncFirstLineInt() 1953 written = out->size - out->use - 1; in xmlCharEncFirstLineInt() 1957 ret = handler->input(&out->content[out->use], &written, in xmlCharEncFirstLineInt() 1960 out->use += written; in xmlCharEncFirstLineInt() 1966 &written, in->content, &toconv); in xmlCharEncFirstLineInt() 1968 out->use += written; in xmlCharEncFirstLineInt() 1976 &written, in->content, &toconv); in xmlCharEncFirstLineInt() 1978 out->use += written; in xmlCharEncFirstLineInt() [all …]
|
/external/ltrace/ |
D | lens_default.c | 187 int written = 0; in format_naked() local 188 if (acc_fprintf(&written, stream, "'") < 0 in format_naked() 189 || account_output(&written, in format_naked() 191 || acc_fprintf(&written, stream, "'") < 0) in format_naked() 194 return written; in format_naked() 242 int written = 0; in format_struct() local 243 if (acc_fprintf(&written, stream, "{ ") < 0) in format_struct() 260 written += o; in format_struct() 262 if (acc_fprintf(&written, stream, " }") < 0) in format_struct() 264 return written; in format_struct() [all …]
|
/external/icu/icu4c/source/samples/layout/ |
D | Sample.txt | 1 …written in languages with complex writing systems such as Hindi (हिन्दी) Thai (ไทย) and Arabic (ال…
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
D | MemoryDeferredOutputStream.java | 54 int written = 0; in write() local 55 while (length - written > 0) { in write() 56 int toWrite = Math.min(remaining, (length - written)); in write() 57 System.arraycopy(bytes, offset + written, currentBuffer, currentPosition, toWrite); in write() 58 written += toWrite; in write()
|
/external/deqp/framework/delibs/destream/ |
D | deStreamCpyThread.c | 36 deInt32 written = 0; in cpyStream() local 41 while (written < read) in cpyStream() 44 deOutStream_write(thread->output, buffer, read - written, &wrote); in cpyStream() 47 written += wrote; in cpyStream()
|
D | deRingbuffer.c | 113 …ult producerStream_write (deStreamData* stream, const void* buf, deInt32 bufSize, deInt32* written) in producerStream_write() argument 125 *written = 0; in producerStream_write() 128 while (*written < bufSize) in producerStream_write() 140 writeSize = deMin32(ringbuffer->blockSize - ringbuffer->inPos, bufSize - *written); in producerStream_write() 142 src = (deUint8*)buf + *written; in producerStream_write() 147 *written += writeSize; in producerStream_write()
|
D | deThreadStream.c | 56 deInt32 written = 0; in inStreamCopy() local 61 while (written < read) in inStreamCopy() 66 deOutStream_write(&(threadStream->producerStream), buffer, read - written, &wrote); in inStreamCopy() 68 written += wrote; in inStreamCopy()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderStateQueryTests.cpp | 587 GLint written = 0; // written does not include null terminator in test() local 588 glGetShaderInfoLog(shader, DE_LENGTH_OF_ARRAY(buffer), &written, buffer); in test() 593 if (written != logLength-1) in test() 595 …g::Message << "// ERROR: Expected length " << logLength-1 << "; got " << written << TestLog::EndMe… in test() 604 terminator = &buffer[written]; in test() 619 GLint written = 0; in test() local 620 glGetShaderInfoLog(shader, 1, &written, buffer); in test() 621 if (written != 0) in test() 623 …m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected length 0; got " << written << TestLo… in test() 702 GLint written = 0; // not inluding null-terminator in test() local [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderStateQueryTests.cpp | 751 GLint written = 0; // written does not include null terminator in test() local 752 glGetShaderInfoLog(shader, DE_LENGTH_OF_ARRAY(buffer), &written, buffer); in test() 757 if (written != logLength-1) in test() 759 …g::Message << "// ERROR: Expected length " << logLength-1 << "; got " << written << TestLog::EndMe… in test() 768 terminator = &buffer[written]; in test() 783 GLint written = 0; in test() local 784 glGetShaderInfoLog(shader, 1, &written, buffer); in test() 785 if (written != 0) in test() 787 …m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected length 0; got " << written << TestLo… in test() 864 GLint written = 0; // not inluding null-terminator in test() local [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | win_if_list.c | 50 DWORD written; in ndisuio_open() local 62 &written, NULL)) { in ndisuio_open() 79 DWORD written; in ndisuio_query_bindings() local 93 (DWORD) blen, &written, NULL)) { in ndisuio_query_bindings()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_string.h | 216 size_t written; in util_strbuf_printf() local 219 written = util_vsnprintf(sbuf->ptr, sbuf->left, format, ap); in util_strbuf_printf() 221 sbuf->ptr += written; in util_strbuf_printf() 222 sbuf->left -= written; in util_strbuf_printf()
|
/external/skia/src/animator/ |
D | SkBuildCondensedInfo.cpp | 212 int written = 0; in BuildCondensedInfo() local 217 if (written > 0) in BuildCondensedInfo() 219 if (written % 20 == 19) in BuildCondensedInfo() 222 written++; in BuildCondensedInfo() 251 written = 0; in BuildCondensedInfo() 256 if (written > 0) in BuildCondensedInfo() 258 written++; in BuildCondensedInfo()
|
/external/boringssl/ |
D | NOTICE | 36 * prior written permission. For written permission, please contact 40 * nor may "OpenSSL" appear in their names without prior written 62 * This product includes cryptographic software written by Eric Young 63 * (eay@cryptsoft.com). This product includes software written by Tim 74 * This package is an SSL implementation written 76 * The implementation was written so as to conform with Netscapes SSL. 102 * "This product includes cryptographic software written by 108 * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/ |
D | DexWriterSleb128Test.java | 243 byte written = writtenData[i]; in performTest() 246 written = (byte)(written & 0x0F); in performTest() 248 Assert.assertEquals(String.format("Values not equal at index %d", i), encoded, written); in performTest()
|
/external/sfntly/cpp/src/sfntly/data/ |
D | writable_font_data.cc | 79 int32_t written = in WriteBytesPad() local 85 written += WritePadding(written + index, length - written, pad); in WriteBytesPad() 86 return written; in WriteBytesPad()
|
/external/skia/src/core/ |
D | SkRWBuffer.cpp | 184 size_t written = fTail->append(src, length); in append() local 185 SkASSERT(written <= length); in append() 186 src = (const char*)src + written; in append() 187 length -= written; in append() 193 written = fTail->append(src, length); in append() 194 SkASSERT(written == length); in append()
|
/external/smali/util/src/main/java/org/jf/util/ |
D | TwoColumnOutput.java | 121 int written = 0; in write() local 124 written = leftLine.length(); in write() 127 int remaining = leftWidth - written; in write()
|
/external/llvm/lib/Fuzzer/test/ |
D | fuzzer.test | 6 InfiniteTest-NOT: CRASHED; file written to timeout 10 TimeoutTest: CRASHED; file written to timeout 13 NullDerefTest: CRASHED; file written to crash-
|
/external/boringssl/src/ |
D | LICENSE | 39 * prior written permission. For written permission, please contact 43 * nor may "OpenSSL" appear in their names without prior written 65 * This product includes cryptographic software written by Eric Young 66 * (eay@cryptsoft.com). This product includes software written by Tim 77 * This package is an SSL implementation written 79 * The implementation was written so as to conform with Netscapes SSL. 105 * "This product includes cryptographic software written by 111 * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
|