dp 629 bignum.c BDIGIT *dp, *de; dp 632 bignum.c dp = ds; dp 644 bignum.c while (dp < de && de[-1] == 0) dp 646 bignum.c if (dp == de) { dp 662 bignum.c *((unsigned char *)words) = (unsigned char)(d = dp[0]); dp 663 bignum.c return ((1 < de - dp || CLEAR_LOWBITS(d, 8) != 0) ? 2 : 1) * sign; dp 667 bignum.c uint16_t u = (uint16_t)(d = dp[0]); dp 670 bignum.c return ((1 < de - dp || CLEAR_LOWBITS(d, 16) != 0) ? 2 : 1) * sign; dp 675 bignum.c uint32_t u = (uint32_t)(d = dp[0]); dp 678 bignum.c return ((1 < de - dp || CLEAR_LOWBITS(d, 32) != 0) ? 2 : 1) * sign; dp 683 bignum.c uint64_t u = (uint64_t)(d = dp[0]); dp 686 bignum.c return ((1 < de - dp || CLEAR_LOWBITS(d, 64) != 0) ? 2 : 1) * sign; dp 693 bignum.c *((unsigned char *)words) = (unsigned char)(d = -(BDIGIT_DBL_SIGNED)dp[0]); dp 694 bignum.c return (1 < de - dp || FILL_LOWBITS(d, 8) != -1) ? -2 : -1; dp 698 bignum.c uint16_t u = (uint16_t)(d = -(BDIGIT_DBL_SIGNED)dp[0]); dp 701 bignum.c return (wordsize == SIZEOF_BDIGIT && de - dp == 2 && dp[1] == 1 && dp[0] == 0) ? -1 : dp 702 bignum.c (1 < de - dp || FILL_LOWBITS(d, 16) != -1) ? -2 : -1; dp 707 bignum.c uint32_t u = (uint32_t)(d = -(BDIGIT_DBL_SIGNED)dp[0]); dp 710 bignum.c return (wordsize == SIZEOF_BDIGIT && de - dp == 2 && dp[1] == 1 && dp[0] == 0) ? -1 : dp 711 bignum.c (1 < de - dp || FILL_LOWBITS(d, 32) != -1) ? -2 : -1; dp 716 bignum.c uint64_t u = (uint64_t)(d = -(BDIGIT_DBL_SIGNED)dp[0]); dp 719 bignum.c return (wordsize == SIZEOF_BDIGIT && de - dp == 2 && dp[1] == 1 && dp[0] == 0) ? -1 : dp 720 bignum.c (1 < de - dp || FILL_LOWBITS(d, 64) != -1) ? -2 : -1; dp 729 bignum.c size_t src_size = (de - dp) * SIZEOF_BDIGIT; dp 735 bignum.c MEMCPY(words, dp, char, src_size); dp 739 bignum.c MEMCPY(words, dp, char, dst_size); dp 745 bignum.c unsigned char *p = (unsigned char *)dp; dp 760 bignum.c size_t src_num_bdigits = de - dp; dp 767 bignum.c MEMCPY(words, dp, BDIGIT, src_num_bdigits); dp 771 bignum.c MEMCPY(words, dp, BDIGIT, dst_num_bdigits); dp 778 bignum.c dp[dst_num_bdigits] == 1) dp 813 bignum.c if (de - dp == 1 && dp[0] == 1) dp 819 bignum.c else if (dp == de) { dp 822 bignum.c else if (dp < de && buf < bufend) { dp 846 bignum.c integer_pack_fill_dd(&dp, &de, &dd, &numbits_in_dd) dp 878 bignum.c if (dp != de || 1 < dd) { dp 888 bignum.c dp = ds; dp 889 bignum.c while (dp < de && *dp == 0) dp 890 bignum.c dp++; dp 891 bignum.c if (de - dp == 1 && /* only one non-zero word. */ dp 892 bignum.c POW2_P(*dp)) /* *dp contains only one bit set. */ dp 1076 bignum.c *dp = u; dp 1085 bignum.c BDIGIT *dp; dp 1088 bignum.c dp = bdigits; dp 1089 bignum.c de = dp + num_bdigits; dp 1097 bignum.c return integer_unpack_single_bdigit(*(uint8_t *)buf, sizeof(uint8_t), flags, dp); dp 1102 bignum.c return integer_unpack_single_bdigit(need_swap ? swap16(u) : u, sizeof(uint16_t), flags, dp); dp 1108 bignum.c return integer_unpack_single_bdigit(need_swap ? swap32(u) : u, sizeof(uint32_t), flags, dp); dp 1114 bignum.c return integer_unpack_single_bdigit(need_swap ? swap64(u) : u, sizeof(uint64_t), flags, dp); dp 1124 bignum.c MEMCPY(dp, words, char, src_size); dp 1128 bignum.c memset((char*)dp + src_size, 0xff, dst_size - src_size); dp 1129 bignum.c zero_p = bary_2comp(dp, num_bdigits); dp 1133 bignum.c memset((char*)dp + src_size, 0xff, dst_size - src_size); dp 1134 bignum.c bary_2comp(dp, num_bdigits); dp 1138 bignum.c MEMZERO((char*)dp + src_size, char, dst_size - src_size); dp 1143 bignum.c MEMZERO((char*)dp + src_size, char, dst_size - src_size); dp 1155 bignum.c MEMCPY(dp, words, BDIGIT, numwords*bdigits_per_word); dp 1157 bignum.c bary_swap(dp, num_bdigits); dp 1161 bignum.c BDIGIT *p = dp; dp 1169 bignum.c for (p = dp; p < de; p++) { dp 1176 bignum.c int zero_p = bary_2comp(dp, num_bdigits); dp 1180 bignum.c bary_2comp(dp, num_bdigits); dp 1218 bignum.c integer_unpack_push_bits(data, numbits, &dd, &numbits_in_dd, &dp) dp 1240 bignum.c *dp++ = (BDIGIT)dd; dp 1241 bignum.c assert(dp <= de); dp 1242 bignum.c while (dp < de) dp 1243 bignum.c *dp++ = 0; dp 3233 bignum.c BDIGIT *dp; dp 3257 bignum.c dp = fixbuf; dp 3261 bignum.c dp = BDIGITS(val); dp 3262 bignum.c de = dp + BIGNUM_LEN(val); dp 3264 bignum.c while (dp < de && de[-1] == 0) dp 3266 bignum.c if (dp == de) { dp 3274 bignum.c return (de - dp) * SIZEOF_BDIGIT - num_leading_zeros / CHAR_BIT; dp 3432 bignum.c BDIGIT *dp; dp 3455 bignum.c dp = fixbuf; dp 3459 bignum.c dp = BDIGITS(val); dp 3460 bignum.c de = dp + BIGNUM_LEN(val); dp 3462 bignum.c while (dp < de && de[-1] == 0) dp 3464 bignum.c while (dp < de && dp[0] == 0) dp 3465 bignum.c dp++; dp 3466 bignum.c if (dp == de) /* no bit set. */ dp 3468 bignum.c if (dp != de-1) /* two non-zero words. two bits set, at least. */ dp 3470 bignum.c d = *dp; dp 3773 bignum.c BDIGIT *dp; dp 3784 bignum.c dp = BDIGITS(z); dp 3793 bignum.c *dp++ = BIGLO(dd); dp 3799 bignum.c *dp++ = BIGLO(dd); dp 3801 bignum.c assert((size_t)(dp - BDIGITS(z)) == num_bdigits); dp 489 dir.c struct dir_data *dp; dp 516 dir.c TypedData_Get_Struct(dir, struct dir_data, &dir_data_type, dp); dp 517 dir.c if (dp->dir) closedir(dp->dir); dp 518 dir.c dp->dir = NULL; dp 519 dir.c dp->path = Qnil; dp 520 dir.c dp->enc = fsenc; dp 522 dir.c dp->dir = opendir(path); dp 523 dir.c if (dp->dir == NULL) { dp 525 dir.c dp->dir = opendir(path); dp 532 dir.c dp->dir = opendir(path); dp 536 dir.c if (dp->dir == NULL) { dp 541 dir.c dp->path = orig; dp 565 dir.c struct dir_data *dp; dp 566 dir.c VALUE dir = TypedData_Make_Struct(klass, struct dir_data, &dir_data_type, dp); dp 707 dir.c const char *name = dp->d_name; dp 710 dir.c switch (NAMLEN(dp)) { dp 742 dir.c struct dirent *dp; dp 746 dir.c if ((dp = READDIR(dirp->dir, dirp->enc)) != NULL) { dp 747 dir.c return rb_external_str_new_with_enc(dp->d_name, NAMLEN(dp), dirp->enc); dp 779 dir.c struct dirent *dp; dp 786 dir.c while ((dp = READDIR(dirp->dir, dirp->enc)) != NULL) { dp 787 dir.c const char *name = dp->d_name; dp 788 dir.c size_t namlen = NAMLEN(dp); dp 1680 dir.c if (dp->d_altname && (flags & FNM_SHORTNAME)) { dp 1681 dir.c if (fnmatch(pat, enc, dp->d_altname, flags) == 0) return 1; dp 1770 dir.c struct dirent *dp; dp 1807 dir.c while ((dp = READDIR(dirp, enc)) != NULL) { dp 1815 dir.c if (recursive && dp->d_name[0] == '.') { dp 1817 dir.c if (!dp->d_name[1]) { dp 1822 dir.c else if (dp->d_name[1] == '.' && !dp->d_name[2]) { dp 1828 dir.c name = dp->d_name; dp 1829 dir.c namlen = NAMLEN(dp); dp 1846 dir.c if ((new_pathtype = dp->d_type) != (rb_pathtype_t)DT_UNKNOWN) dp 1884 dir.c if (dirent_match(p->str, enc, name, dp, flags)) dp 2647 dir.c struct dirent *dp; dp 2693 dir.c while ((dp = READDIR(dir, NULL)) != NULL) { dp 2694 dir.c if (!to_be_skipped(dp)) { dp 99 dln_find.c register const char *dp; dp 195 dln_find.c for (dp = path;; dp = ++ep) { dp 199 dln_find.c ep = strchr(dp, PATH_SEP[0]); dp 201 dln_find.c ep = dp+strlen(dp); dp 204 dln_find.c l = ep - dp; dp 216 dln_find.c if (*dp == '~' && (l == 1 || dp 218 dln_find.c dp[1] == '\\' || dp 220 dln_find.c dp[1] == '/')) { dp 232 dln_find.c dp++; dp 239 dln_find.c memcpy(bp, dp, l); dp 77 ext/win32ole/win32ole.c DISPPARAMS dp; dp 2496 ext/win32ole/win32ole.c index = pOp->dp.cNamedArgs; dp 2507 ext/win32ole/win32ole.c VariantClear(&(pOp->dp.rgvarg[i])); dp 2519 ext/win32ole/win32ole.c VariantInit(&(pOp->dp.rgvarg[index])); dp 2520 ext/win32ole/win32ole.c ole_val2variant(val, &(pOp->dp.rgvarg[index])); dp 2522 ext/win32ole/win32ole.c pOp->dp.cNamedArgs += 1; dp 2570 ext/win32ole/win32ole.c op.dp.rgvarg = NULL; dp 2571 ext/win32ole/win32ole.c op.dp.rgdispidNamedArgs = NULL; dp 2572 ext/win32ole/win32ole.c op.dp.cNamedArgs = 0; dp 2573 ext/win32ole/win32ole.c op.dp.cArgs = 0; dp 2605 ext/win32ole/win32ole.c op.dp.cNamedArgs = 0; dp 2613 ext/win32ole/win32ole.c op.dp.cArgs = cNamedArgs + argc - 2; dp 2615 ext/win32ole/win32ole.c op.dp.rgvarg = ALLOCA_N(VARIANTARG, op.dp.cArgs); dp 2624 ext/win32ole/win32ole.c op.dp.cNamedArgs + 1, dp 2626 ext/win32ole/win32ole.c for(i = 0; i < op.dp.cNamedArgs + 1; i++) { dp 2632 ext/win32ole/win32ole.c for(i = 0; i < op.dp.cArgs; i++ ) { dp 2633 ext/win32ole/win32ole.c VariantClear(&op.dp.rgvarg[i]); dp 2639 ext/win32ole/win32ole.c op.dp.rgdispidNamedArgs = &(pDispID[1]); dp 2643 ext/win32ole/win32ole.c op.dp.cArgs = argc - 1; dp 2645 ext/win32ole/win32ole.c if (op.dp.cArgs > 0) { dp 2646 ext/win32ole/win32ole.c op.dp.rgvarg = ALLOCA_N(VARIANTARG, op.dp.cArgs); dp 2652 ext/win32ole/win32ole.c if(op.dp.cArgs > cNamedArgs) { dp 2653 ext/win32ole/win32ole.c realargs = ALLOCA_N(VARIANTARG, op.dp.cArgs-cNamedArgs+1); dp 2654 ext/win32ole/win32ole.c for(i = cNamedArgs; i < op.dp.cArgs; i++) { dp 2655 ext/win32ole/win32ole.c n = op.dp.cArgs - i + cNamedArgs - 1; dp 2657 ext/win32ole/win32ole.c VariantInit(&op.dp.rgvarg[n]); dp 2660 ext/win32ole/win32ole.c ole_variant2variant(param, &op.dp.rgvarg[n]); dp 2663 ext/win32ole/win32ole.c op.dp.rgvarg[n] = realargs[n]; dp 2664 ext/win32ole/win32ole.c V_VT(&op.dp.rgvarg[n]) = VT_RECORD | VT_BYREF; dp 2667 ext/win32ole/win32ole.c V_VT(&op.dp.rgvarg[n]) = VT_VARIANT | VT_BYREF; dp 2668 ext/win32ole/win32ole.c V_VARIANTREF(&op.dp.rgvarg[n]) = &realargs[n]; dp 2674 ext/win32ole/win32ole.c if (op.dp.cArgs == 0) dp 2677 ext/win32ole/win32ole.c op.dp.cNamedArgs = 1; dp 2678 ext/win32ole/win32ole.c op.dp.rgdispidNamedArgs = ALLOCA_N( DISPID, 1 ); dp 2679 ext/win32ole/win32ole.c op.dp.rgdispidNamedArgs[0] = DISPID_PROPERTYPUT; dp 2682 ext/win32ole/win32ole.c &IID_NULL, lcid, wFlags, &op.dp, dp 2687 ext/win32ole/win32ole.c if(op.dp.cArgs >= cNamedArgs) { dp 2688 ext/win32ole/win32ole.c for(i = cNamedArgs; i < op.dp.cArgs; i++) { dp 2689 ext/win32ole/win32ole.c n = op.dp.cArgs - i + cNamedArgs - 1; dp 2691 ext/win32ole/win32ole.c ole_val2variant(param, &op.dp.rgvarg[n]); dp 2700 ext/win32ole/win32ole.c &op.dp, &result, dp 2714 ext/win32ole/win32ole.c &op.dp, NULL, dp 2718 ext/win32ole/win32ole.c for(i = cNamedArgs; i < op.dp.cArgs; i++) { dp 2719 ext/win32ole/win32ole.c n = op.dp.cArgs - i + cNamedArgs - 1; dp 2720 ext/win32ole/win32ole.c if (V_VT(&op.dp.rgvarg[n]) != VT_RECORD) { dp 2721 ext/win32ole/win32ole.c VariantClear(&op.dp.rgvarg[n]); dp 2728 ext/win32ole/win32ole.c if (op.dp.cArgs > cNamedArgs) { dp 2729 ext/win32ole/win32ole.c for(i = cNamedArgs; i < op.dp.cArgs; i++) { dp 2730 ext/win32ole/win32ole.c n = op.dp.cArgs - i + cNamedArgs - 1; dp 2732 ext/win32ole/win32ole.c ole_val2variant2(param, &op.dp.rgvarg[n]); dp 2741 ext/win32ole/win32ole.c &op.dp, &result, dp 2743 ext/win32ole/win32ole.c for(i = cNamedArgs; i < op.dp.cArgs; i++) { dp 2744 ext/win32ole/win32ole.c n = op.dp.cArgs - i + cNamedArgs - 1; dp 2745 ext/win32ole/win32ole.c if (V_VT(&op.dp.rgvarg[n]) != VT_RECORD) { dp 2746 ext/win32ole/win32ole.c VariantClear(&op.dp.rgvarg[n]); dp 2754 ext/win32ole/win32ole.c if(op.dp.cArgs > cNamedArgs) { dp 2755 ext/win32ole/win32ole.c for(i = cNamedArgs; i < op.dp.cArgs; i++) { dp 2756 ext/win32ole/win32ole.c n = op.dp.cArgs - i + cNamedArgs - 1; dp 2765 ext/win32ole/win32ole.c set_argv(realargs, cNamedArgs, op.dp.cArgs); dp 2768 ext/win32ole/win32ole.c for(i = 0; i < op.dp.cArgs; i++) { dp 2769 ext/win32ole/win32ole.c VariantClear(&op.dp.rgvarg[i]); dp 2841 ext/zlib/zlib.c unsigned char *ds, *dp, *de; dp 2848 ext/zlib/zlib.c ds = dp = (unsigned char *)gz->cbuf; dp 2850 ext/zlib/zlib.c (void)rb_econv_convert(gz->ec, &sp, se, &dp, de, ECONV_PARTIAL_INPUT|ECONV_AFTER_OUTPUT); dp 2854 ext/zlib/zlib.c dst = rb_str_new(gz->cbuf, dp - ds); dp 2242 io.c unsigned char *ds, *dp, *de; dp 2264 io.c ds = dp = (unsigned char *)fptr->cbuf.ptr + fptr->cbuf.off + fptr->cbuf.len; dp 2266 io.c res = rb_econv_convert(fptr->readconv, &sp, se, &dp, de, ec_flags); dp 2269 io.c fptr->cbuf.len += (int)(dp - ds); dp 2296 io.c ds = dp = (unsigned char *)fptr->cbuf.ptr + fptr->cbuf.off + fptr->cbuf.len; dp 2298 io.c res = rb_econv_convert(fptr->readconv, NULL, NULL, &dp, de, 0); dp 2299 io.c fptr->cbuf.len += (int)(dp - ds); dp 4087 io.c unsigned char *ds, *dp, *de; dp 4096 io.c ds = dp = buf; dp 4098 io.c res = rb_econv_convert(fptr->writeconv, NULL, NULL, &dp, de, 0); dp 4099 io.c while (dp-ds) { dp 4102 io.c r = rb_write_internal2(fptr->fd, ds, dp-ds); dp 4104 io.c r = rb_write_internal(fptr->fd, ds, dp-ds); dp 4105 io.c if (r == dp-ds) dp 4134 io.c ds = dp = (unsigned char *)fptr->wbuf.ptr + fptr->wbuf.off + fptr->wbuf.len; dp 4136 io.c res = rb_econv_convert(fptr->writeconv, NULL, NULL, &dp, de, 0); dp 4137 io.c fptr->wbuf.len += (int)(dp - ds); dp 6969 process.c timetick_int_t gcd = gcd_timetick_int(*np, *dp); dp 6972 process.c *dp /= gcd; dp 918 string.c unsigned char *dest, *dp; dp 932 string.c (dp = dest + converted_output), dp 933 string.c (ret = rb_econv_convert(ec, &sp, start + len, &dp, dest + olen, 0)), dp 938 string.c converted_output = dp - dest; dp 955 string.c len = dp - (unsigned char*)RSTRING_PTR(newstr); dp 1528 transcode.c unsigned char *dp; dp 1546 transcode.c dp = dst_str+dst_len; dp 1547 transcode.c res = rb_econv_convert(ec, &sp, str+len, &dp, dst_str+dst_bufsize, 0); dp 1548 transcode.c dst_len = dp - dst_str; dp 1563 transcode.c dp = dst_str+dst_len; dp 1564 transcode.c res = rb_econv_convert(ec, &sp, str+len, &dp, dst_str+dst_bufsize, 0); dp 1565 transcode.c dst_len = dp - dst_str; dp 1812 transcode.c unsigned char *ds, *dp, *de; dp 1840 transcode.c dp = ds += dlen; dp 1841 transcode.c res = rb_econv_convert(ec, &sp, se, &dp, de, flags); dp 1844 transcode.c rb_str_set_len(dst, dlen + (dp - ds)); dp 546 vm.c dp(env->block.ep[1]); dp 1252 vm.c dp(CREF_CLASS(cref));