Searched refs:readBuf (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/utils/ |
D | ZipUtils.cpp | 47 unsigned char* readBuf = NULL; in inflateToBuffer() local 55 readBuf = new unsigned char[kReadBufSize]; in inflateToBuffer() 56 if (readBuf == NULL) in inflateToBuffer() 101 int cc = read(fd, readBuf, getSize); in inflateToBuffer() 110 zstream.next_in = readBuf; in inflateToBuffer() 139 delete[] readBuf; in inflateToBuffer() 159 unsigned char* readBuf = NULL; in inflateToBuffer() local 167 readBuf = new unsigned char[kReadBufSize]; in inflateToBuffer() 168 if (readBuf == NULL) in inflateToBuffer() 213 int cc = fread(readBuf, 1, getSize, fp); in inflateToBuffer() [all …]
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
D | drm_api.c | 69 if (NULL != s->readBuf) in freeSession() 70 free(s->readBuf); in freeSession() 939 s->readBuf = (uint8_t *)malloc(boundaryLen); in SVC_drm_openSession() 940 if (NULL == s->readBuf) { in SVC_drm_openSession() 946 memcpy(s->readBuf, pTmp, s->readBufOff); in SVC_drm_openSession() 947 … readBytes = data.readInputData(data.inputHandle, s->readBuf + s->readBufOff, s->readBufLen); in SVC_drm_openSession() 953 …if (0 == drm_scanEndBoundary(s->readBuf, boundaryLen, ((T_DRM_DM_Base64_Node *)(s->infoStruct))->b… in SVC_drm_openSession() 997 s->readBuf = (uint8_t *)malloc(boundaryLen); in SVC_drm_openSession() 998 if (NULL == s->readBuf) { in SVC_drm_openSession() 1004 memcpy(s->readBuf, pTmp, s->readBufOff); in SVC_drm_openSession() [all …]
|
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 267 result = mEOCD.readBuf(buf + i, readAmount - i); in readCentralDir() 1054 unsigned char readBuf[32768]; in filemove() local 1059 size_t getSize = sizeof(readBuf); in filemove() 1068 if (fread(readBuf, 1, getSize, fp) != getSize) { in filemove() 1079 if (fwrite(readBuf, 1, getSize, fp) != getSize) { in filemove() 1220 status_t ZipFile::EndOfCentralDir::readBuf(const unsigned char* buf, int len) in readBuf() function in ZipFile::EndOfCentralDir
|
D | ZipFile.h | 188 status_t readBuf(const unsigned char* buf, int len);
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
D | drm_inner.h | 79 uint8_t* readBuf; member
|