Lines Matching refs:length

192     nObjs = obj->length;
292 result->value, obj->length);
293 (result->value)[obj->length] = '\0';
298 if (result->count >= (int) obj->length) {
300 slen = obj->length;
390 if (currObj->length > 0)
391 ConvSeqInPlace(currObj->length, (DPSBinObj)(base + currObj->val.arrayVal), base, tokenType);
435 DPSAssertWarn(buf == NIL, cc, "non-nil output buffer with 0 length");
483 /* here with m = BOS total length in bytes, b = cc->objBuf */
570 bos->length = seqHead->length;
574 m = bos->length;
578 cc->objBuf = (char *)DPScalloc(bos->length, 1);
813 unsigned int length)
865 while (length > 0) {
866 for (i = 0; i < MIN(DPSMAX_SEQ, length); i++) {
871 length -= i;
877 while (length > 0) {
878 for (i = 0; i < MIN(DPSMAX_SEQ, length); i++) {
883 length -= i;
889 while (length > 0) {
890 for (i = 0; i < MIN(DPSMAX_SEQ, length); i++) {
895 length -= i;
901 while (length > 0) {
902 for (i = 0; i < MIN(DPSMAX_SEQ, length); i++) {
907 length -= i;
913 while (length > 0) {
914 for (i = 0; i < MIN(DPSMAX_SEQ, length); i++) {
919 length -= i;
925 while (length > 0) {
926 for (i = 0; i < MIN(DPSMAX_SEQ, length); i++) {
931 length -= i;
937 while (length > 0) {
938 for (i = 0; i < MIN(DPSMAX_SEQ, length); i++) {
943 length -= i;
949 while (length > 0) {
950 for (i = 0; i < MIN(DPSMAX_SEQ, length); i++) {
955 length -= i;
961 while (length > 0) {
962 for (i = 0; i < MIN(DPSMAX_SEQ, length); i++) {
967 length -= i;
1259 unsigned short int length;
1307 length = currObj->length;
1311 if (length == DPSSYSNAME) { /* system name index */
1321 length = strlen(p);
1323 else if (length == 0) { /* user name index */
1325 length = strlen(p);
1330 DPSWriteData(ctxt, p, length);
1340 currObj->length,
1354 length = currObj->length;
1367 WriteVMSStringBody(ctxt, p, length); /* write this */
1370 while (length--) {
1421 bos->length = seqHead->length;
1432 firstCharOffset = bos->length - headSize;
1479 if (type == DPS_STRING && newObj.length > 0) {
1485 if (newObj.length == DPSSYSNAME) { /* system name index, never expand to string body */
1488 else if (newObj.length == 0) { /* user name index */
1494 newObj.length = strlen(p);
1496 nameOffset += newObj.length;
1538 nBytes = (ctxt->nameEncoding == dps_strings) ? bos->length + len :
1539 bos->length;
1547 nBytes = (ctxt->nameEncoding == dps_strings) ? bos->length + len :
1548 bos->length;
1555 DPSWriteData(ctxt, stringStart, (bos->length - headSize - firstCharOffset));
1572 unsigned short length,
1577 while (length--) {
1623 unsigned short length;
1684 length = currObj->length;
1685 if (length == DPSSYSNAME) {/* system name index */
1698 length = strlen(p);
1700 else if (length == 0) { /* user name index */
1711 length = strlen(p);
1717 DPSWriteData(ctxt, p, length);
1724 length = currObj->length;
1725 if (lit && (r = TestHomogeneous(aryObj, length, numFormat)) != -1) {
1728 DPSWriteData(ctxt, (char *) &length, 2);
1730 while (length--) {
1750 WriteSeqAsTokens(ctxt, base, aryObj, length, tokenType,
1769 DPSWriteData(ctxt, p, length);
1773 length = currObj->length;
1774 if (length < 256) {
1776 PB(length);
1780 DPSWriteData(ctxt, (char *) &length, 2);
1782 DPSWriteData(ctxt, p, length);
1980 bos->length = seqHead->length;
2000 else DPSWriteData(ctxt, (char *) buf, bos->length);
2393 || ary->length != 4) {
2400 errorNameCount = elements[1].length;
2403 errorCount = elements[2].length;
2588 static void NoteInitFailure(DPSContext ctxt, char *buf, long unsigned length)
2846 void DPSWriteTypedObjectArray(ctxt, type, array, length)
2850 unsigned int length; {
2851 (*(ctxt)->procs->WriteTypedObjectArray)((ctxt), (type), (array), (length));