/external/xmlrpcpp/src/ |
D | XmlRpcSocket.cpp | 174 char readBuf[READ_SIZE]; in nbRead() local 181 int n = recv(fd, readBuf, READ_SIZE-1, 0); in nbRead() 183 int n = read(fd, readBuf, READ_SIZE-1); in nbRead() 188 readBuf[n] = 0; in nbRead() 189 s.append(readBuf, n); in nbRead()
|
/external/icu/icu4c/source/test/iotest/ |
D | filetst.c | 991 char readBuf[512] = ""; in TestFilePrintCompatibility() local 1035 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility() 1037 if (strcmp(readBuf, testBuf) != 0) { in TestFilePrintCompatibility() 1038 log_err("%%x Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility() 1041 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility() 1043 if (strcmp(readBuf, testBuf) != 0) { in TestFilePrintCompatibility() 1044 log_err("%%X Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility() 1047 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility() 1049 if (strcmp(readBuf, testBuf) != 0) { in TestFilePrintCompatibility() 1050 log_err("%%o Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility() [all …]
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | BluetoothSocketConnFacade.java | 560 byte[] readBuf = conn.readBinary(bufferSize); in bluetoothConnectionThroughputRead() 567 bufIndex = readBuf[j]; in bluetoothConnectionThroughputRead() 570 if (bufIndex != readBuf[j]) { in bluetoothConnectionThroughputRead() 572 + "Expected=" + bufIndex + ", read=" + readBuf[j]); in bluetoothConnectionThroughputRead() 575 + bufIndex + ", read=" + readBuf[j]); in bluetoothConnectionThroughputRead() 582 if (readBuf[j] != nextInChar) { in bluetoothConnectionThroughputRead() 583 Log.e("Last Read Char Read wrong value. Read=" + String.valueOf(readBuf[j]) in bluetoothConnectionThroughputRead()
|
/external/mesa3d/src/mesa/main/ |
D | framebuffer.c | 768 const struct gl_renderbuffer *readBuf = fb->_ColorReadBuffer; in renderbuffer_exists() local 769 if (!readBuf) { in renderbuffer_exists() 772 assert(_mesa_get_format_bits(readBuf->Format, GL_RED_BITS) > 0 || in renderbuffer_exists() 773 _mesa_get_format_bits(readBuf->Format, GL_ALPHA_BITS) > 0 || in renderbuffer_exists() 774 _mesa_get_format_bits(readBuf->Format, GL_TEXTURE_LUMINANCE_SIZE) > 0 || in renderbuffer_exists() 775 _mesa_get_format_bits(readBuf->Format, GL_TEXTURE_INTENSITY_SIZE) > 0 || in renderbuffer_exists() 776 _mesa_get_format_bits(readBuf->Format, GL_INDEX_BITS) > 0); in renderbuffer_exists()
|
/external/libdrm/tests/ttmtest/src/ |
D | ttmtest.c | 158 readBuf(void *buf, unsigned long size) in readBuf() function 205 readBuf(virtual, buf.size); in benchmarkBuffer() 243 readBuf(virtual, buf.size); in benchmarkBuffer() 294 readBuf(virtual, buf.size); in benchmarkBuffer()
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderCase.cpp | 556 …tcu::TextureLevel readBuf(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_I… in iterate() local 557 glu::readPixels(m_renderCtx, viewportX, viewportY, readBuf.getAccess()); in iterate() 559 tcu::copy(rendered, readBuf); in iterate()
|
/external/libvncserver/libvncserver/ |
D | rfbserver.c | 1485 unsigned char readBuf[sz_rfbBlockSize]; in rfbSendFileTransferChunk() local 1528 bytesRead = read(cl->fileTransfer.fd, readBuf, sz_rfbBlockSize); in rfbSendFileTransferChunk() 1557 … return rfbSendFileTransferMessage(cl, rfbFilePacket, 0, 0, bytesRead, (char *)readBuf); in rfbSendFileTransferChunk() 1561 nRetC = compress(compBuf, &nMaxCompSize, readBuf, bytesRead); in rfbSendFileTransferChunk() 1569 … return rfbSendFileTransferMessage(cl, rfbFilePacket, 0, 0, bytesRead, (char *)readBuf); in rfbSendFileTransferChunk() 1572 … return rfbSendFileTransferMessage(cl, rfbFilePacket, 0, 0, bytesRead, (char *)readBuf); in rfbSendFileTransferChunk()
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 37728 char readBuf[PROXY_MAXCONCHLEN]; 37752 readLen = seekAndRead((unixFile*)conchFile, 0, readBuf, PROXY_MAXCONCHLEN); 37759 readBuf[0]!=(char)PROXY_CONCHVERSION ){ 37772 hostIdMatch = !memcmp(&readBuf[PROXY_HEADERLEN], myHostID, 37785 memcpy(lockPath, &readBuf[PROXY_PATHINDEX], pathLen); 37793 && !strncmp(pCtx->lockProxyPath, &readBuf[PROXY_PATHINDEX],
|
/external/sqlite/dist/ |
D | sqlite3.c | 37728 char readBuf[PROXY_MAXCONCHLEN]; 37752 readLen = seekAndRead((unixFile*)conchFile, 0, readBuf, PROXY_MAXCONCHLEN); 37759 readBuf[0]!=(char)PROXY_CONCHVERSION ){ 37772 hostIdMatch = !memcmp(&readBuf[PROXY_HEADERLEN], myHostID, 37785 memcpy(lockPath, &readBuf[PROXY_PATHINDEX], pathLen); 37793 && !strncmp(pCtx->lockProxyPath, &readBuf[PROXY_PATHINDEX],
|