Home
last modified time | relevance | path

Searched refs:tagLen (Results 1 – 11 of 11) sorted by relevance

/external/ppp/pppd/plugins/rp-pppoe/
Dcommon.c49 UINT16_t tagType, tagLen; in parsePacket() local
71 tagLen = (curTag[2] << 8) + curTag[3]; in parsePacket()
75 if ((curTag - packet->payload) + tagLen + TAG_HDR_SIZE > len) { in parsePacket()
76 error("Invalid PPPoE tag length (%u)", tagLen); in parsePacket()
79 func(tagType, tagLen, curTag+TAG_HDR_SIZE, extra); in parsePacket()
80 curTag = curTag + TAG_HDR_SIZE + tagLen; in parsePacket()
Dpppoe-discovery.c266 UINT16_t tagType, tagLen; in parsePacket() local
290 tagLen = (curTag[2] << 8) + curTag[3]; in parsePacket()
294 if ((curTag - packet->payload) + tagLen + TAG_HDR_SIZE > len) { in parsePacket()
295 fprintf(stderr, "Invalid PPPoE tag length (%u)\n", tagLen); in parsePacket()
298 func(tagType, tagLen, curTag+TAG_HDR_SIZE, extra); in parsePacket()
299 curTag = curTag + TAG_HDR_SIZE + tagLen; in parsePacket()
/external/icu/icu4c/source/tools/gencnval/
Dgencnval.c184 getTagNumber(const char *tag, uint16_t tagLen);
530 getTagNumber(const char *tag, uint16_t tagLen) { in getTagNumber() argument
533 UBool preferredName = ((tagLen > 0) ? (tag[tagLen - 1] == '*') : (FALSE)); in getTagNumber()
542 tagLen--; in getTagNumber()
547 if (uprv_strlen(currTag) == tagLen && !uprv_strnicmp(currTag, tag, tagLen)) { in getTagNumber()
559 atag = allocString(&tagBlock, tag, tagLen); in getTagNumber()
566 else if (tagLen > 0 && strcmp(tag, ALL_TAG_STR) != 0) { in getTagNumber()
/external/skia/src/core/
DSkColorSpace_ICC.cpp739 uint8_t inputChannels, const uint8_t* tagSrc, size_t tagLen) { in parse_and_load_gamma() argument
752 type[0] = parse_gamma(&data[0], &params[0], &tagBytes, tagPtr[0], tagLen); in parse_and_load_gamma()
757 if (inputChannels * alignedTagBytes <= tagLen) { in parse_and_load_gamma()
785 tagLen = tagLen > alignedTagBytes ? tagLen - alignedTagBytes : 0; in parse_and_load_gamma()
788 tagPtr[channel], tagLen); in parse_and_load_gamma()
944 const size_t tagLen = len - offsetToACurves; in load_a2b0_a_to_b_type() local
948 tagLen)) { in load_a2b0_a_to_b_type()
989 const size_t tagLen = len - offsetToMCurves; in load_a2b0_a_to_b_type() local
993 tagLen)) { in load_a2b0_a_to_b_type()
1015 const size_t tagLen = len - offsetToBCurves; in load_a2b0_a_to_b_type() local
[all …]
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/
DDetectingViewer.java192 int tagLen = tag.length; in openTag() local
196 for (b = 0; b < tagLen && b < bufRem; b += 1) { in openTag()
202 return b == tagLen; in openTag()
/external/icu/icu4c/source/common/
Duloc_tag.c127 ultag_parse(const char* tag, int32_t tagLen, int32_t* parsedLen, UErrorCode* status);
1788 ultag_parse(const char* tag, int32_t tagLen, int32_t* parsedLen, UErrorCode* status) { in ultag_parse() argument
1809 if (tagLen < 0) { in ultag_parse()
1810 tagLen = (int32_t)uprv_strlen(tag); in ultag_parse()
1814 tagBuf = (char*)uprv_malloc(tagLen + 1); in ultag_parse()
1819 uprv_memcpy(tagBuf, tag, tagLen); in ultag_parse()
1820 *(tagBuf + tagLen) = 0; in ultag_parse()
1832 if (tagLen < MINLEN) { in ultag_parse()
1842 grandfatheredLen = tagLen; /* back up for output parsedLen */ in ultag_parse()
1844 if (tagLen < newTagLength) { in ultag_parse()
[all …]
/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp3156 static jint evp_aead_ctx_op(JNIEnv* env, jlong evpAeadRef, jbyteArray keyArray, jint tagLen, in evp_aead_ctx_op() argument
3161 JNI_TRACE("evp_aead_ctx_op(%p, %p, %d, %p, %d, %p, %p, %d, %d, %p)", evpAead, keyArray, tagLen, in evp_aead_ctx_op()
3176 evpAead, keyArray, tagLen, outArray, outOffset, nonceArray, inArray, inOffset, in evp_aead_ctx_op()
3191 evpAead, keyArray, tagLen, outArray, outOffset, nonceArray, inArray, inOffset, in evp_aead_ctx_op()
3217 static_cast<size_t>(tagLen), nullptr)) { in evp_aead_ctx_op()
3221 evpAead, keyArray, tagLen, outArray, outOffset, nonceArray, inArray, inOffset, in evp_aead_ctx_op()
3237 evpAead, keyArray, tagLen, outArray, outOffset, nonceArray, inArray, inOffset, in evp_aead_ctx_op()
3243 jbyteArray keyArray, jint tagLen, jbyteArray outArray, in NativeCrypto_EVP_AEAD_CTX_seal() argument
3247 return evp_aead_ctx_op(env, evpAeadRef, keyArray, tagLen, outArray, outOffset, nonceArray, in NativeCrypto_EVP_AEAD_CTX_seal()
3252 jbyteArray keyArray, jint tagLen, jbyteArray outArray, in NativeCrypto_EVP_AEAD_CTX_open() argument
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jface.text_3.6.1.r361_v20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...