Searched refs:bufLen (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
H A D | drm_inner.h | 68 int32_t (*readInputDataFunc)(int32_t inputHandle, uint8_t* buf, int32_t bufLen);
|
H A D | svc_drm.h | 111 * \param bufLen The length of the buffer. 118 int32_t (*readInputData)(int32_t inputHandle, uint8_t* buf, int32_t bufLen);
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_api.c | 142 static int32_t getMimeType(const uint8_t *buf, int32_t bufLen) argument 146 if (NULL == buf || bufLen <= 0) 156 if (bufLen >= 2 && '-' == *p && '-' == *(p + 1)) 160 if (bufLen >= 12 && 0 == strncmp("<o-ex:rights", (char *)p, 12)) 164 if (bufLen >= 2 && 0x03 == *p && 0x0e == *(p + 1)) 711 int32_t dataLen, bufLen; local 724 bufLen = DRM_MAX_MALLOC_LEN; 726 bufLen = dataLen; 728 buf = (uint8_t *)malloc(bufLen); 733 if (0 >= data.readInputData(data.inputHandle, buf, bufLen)) { 1259 drm_readAesData(uint8_t* buf, T_DRM_Session_Node* s, int32_t aesStart, int32_t bufLen) argument 1578 int32_t bufLen, piece, i, copyBytes, leftBytes; local [all...] |
/frameworks/native/include/utils/ |
H A D | ZipFileRO.h | 121 int getEntryFileName(ZipEntryRO entry, char* buffer, int bufLen) const;
|
/frameworks/base/media/libdrm/mobile1/src/jni/ |
H A D | drm1_jni.c | 240 static int32_t readInputStreamData(int32_t handle, uint8_t* buf, int32_t bufLen) argument 254 if (NULL == p || NULL == buf || bufLen <- 0) 266 tmp = (*env)->NewByteArray(env, bufLen); 267 bufLen = (*env)->CallIntMethod(env, *pInputStream, mid, tmp, 0, bufLen); 271 if (-1 == bufLen) 275 memcpy(buf, pNativeBuf, bufLen); 279 return bufLen;
|
/frameworks/base/services/common_time/ |
H A D | common_time_server.cpp | 1390 char* buf, size_t bufLen) { 1391 if (!bufLen || !buf) 1401 snprintf(buf, bufLen, "%lu.%lu.%lu.%lu:%hu", 1411 snprintf(buf, bufLen, 1420 snprintf(buf, bufLen, 1425 snprintf(buf, bufLen, "<none>"); 1428 buf[bufLen - 1] = 0; 1388 sockaddrToString(const sockaddr_storage& addr, bool addrValid, char* buf, size_t bufLen) argument
|
H A D | common_time_server.h | 316 char* buf, size_t bufLen);
|
/frameworks/native/libs/utils/ |
H A D | ZipFileRO.cpp | 641 int ZipFileRO::getEntryFileName(ZipEntryRO entry, char* buffer, int bufLen) 649 if (bufLen < nameLen+1)
|
Completed in 465 milliseconds