Lines Matching defs:valueLen
63 static int32_t drm_getStartEndTime(uint8_t * pValue, int32_t valueLen,
69 strncpy((char *)pTmp, (char *)pValue, valueLen);
237 int32_t valueLen;
327 &valueLen);
332 pBuf = XML_DOM_getNodeValue(buffer, sProperty, &pValue, &valueLen);
338 strncpy((char *)pTmp, (char *)pValue, valueLen);
421 &valueLen);
426 pBuf = XML_DOM_getNodeValue(buffer, sProperty, &pValue, &valueLen);
433 for (i = 0; i < valueLen; i++) { /* Check the count format */
438 strncpy((char *)pTmp, (char *)pValue, valueLen);
463 &valueLen);
468 pBuf = XML_DOM_getNodeValue(buffer, sProperty, &pValue, &valueLen);
473 drm_getStartEndTime(pValue, valueLen, &pConstraint->StartTime))
485 &valueLen);
490 pBuf = XML_DOM_getNodeValue(buffer, sProperty, &pValue, &valueLen);
495 drm_getStartEndTime(pValue, valueLen, &pConstraint->EndTime))
511 int32_t valueLen;
524 &pValue, &valueLen);
528 if (valueLen > 8) /* Check version lenth */
532 if(strncmp(pValue,"1.0",valueLen))
535 strncpy((char *)pRights->Version, (char *)pValue, valueLen);
546 &pValue, &valueLen);
551 if (24 != valueLen)
554 keyLen = drm_decodeBase64(NULL, 0, pValue, &valueLen);
558 if (DRM_KEY_LEN != drm_decodeBase64(pRights->KeyValue, keyLen, pValue, &valueLen))
565 &pValue, &valueLen);
568 if (valueLen > DRM_UID_LEN)
570 strncpy((char *)pRights->uid, (char *)pValue, valueLen);
571 pRights->uid[valueLen] = '\0';
602 &valueLen);
606 if (valueLen > 8) /* Check version lenth */
608 strncpy((char *)pRights->Version, (char *)pValue, valueLen);
617 &valueLen);
620 if (DRM_KEY_LEN != valueLen)
631 &valueLen);
634 if (valueLen > DRM_UID_LEN)
636 strncpy((char *)pRights->uid, (char *)pValue, valueLen);
637 pRights->uid[valueLen] = '\0';