Home
last modified time | relevance | path

Searched refs:readBuf (Results 1 – 8 of 8) sorted by relevance

/external/xmlrpcpp/src/
DXmlRpcSocket.cpp174 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/
Dfiletst.c991 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/mesa3d/src/mesa/main/
Dframebuffer.c768 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/
Dttmtest.c158 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/
DglsRandomShaderCase.cpp556 …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/
Drfbserver.c1485 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/
Dsqlite3.c36864 char readBuf[PROXY_MAXCONCHLEN];
36888 readLen = seekAndRead((unixFile*)conchFile, 0, readBuf, PROXY_MAXCONCHLEN);
36895 readBuf[0]!=(char)PROXY_CONCHVERSION ){
36908 hostIdMatch = !memcmp(&readBuf[PROXY_HEADERLEN], myHostID,
36921 memcpy(lockPath, &readBuf[PROXY_PATHINDEX], pathLen);
36929 && !strncmp(pCtx->lockProxyPath, &readBuf[PROXY_PATHINDEX],
/external/sqlite/dist/
Dsqlite3.c36864 char readBuf[PROXY_MAXCONCHLEN];
36888 readLen = seekAndRead((unixFile*)conchFile, 0, readBuf, PROXY_MAXCONCHLEN);
36895 readBuf[0]!=(char)PROXY_CONCHVERSION ){
36908 hostIdMatch = !memcmp(&readBuf[PROXY_HEADERLEN], myHostID,
36921 memcpy(lockPath, &readBuf[PROXY_PATHINDEX], pathLen);
36929 && !strncmp(pCtx->lockProxyPath, &readBuf[PROXY_PATHINDEX],