Lines Matching refs:length
79 OM_uint32 length = 0;
104 if (interprocess_token->length >= sizeof (OM_uint32)) {
106 length = (OM_uint32)*p++;
107 length = (OM_uint32)(length << 8) + *p++;
108 length = (OM_uint32)(length << 8) + *p++;
109 length = (OM_uint32)(length << 8) + *p++;
112 if (length == 0 ||
113 length > (interprocess_token->length - sizeof (OM_uint32))) {
118 ctx->mech_type->length = length;
119 ctx->mech_type->elements = malloc(length);
123 (void) memcpy(ctx->mech_type->elements, p, length);
124 p += length;
126 token.length = interprocess_token->length - sizeof (OM_uint32) - length;