dp 335 dir.c struct dir_data *dp; dp 361 dir.c Data_Get_Struct(dir, struct dir_data, dp); dp 362 dir.c if (dp->dir) closedir(dp->dir); dp 363 dir.c dp->dir = NULL; dp 364 dir.c dp->path = Qnil; dp 365 dir.c dp->enc = fsenc; dp 366 dir.c dp->dir = opendir(RSTRING_PTR(dirname)); dp 367 dir.c if (dp->dir == NULL) { dp 370 dir.c dp->dir = opendir(RSTRING_PTR(dirname)); dp 372 dir.c if (dp->dir == NULL) { dp 376 dir.c dp->path = rb_str_dup_frozen(dirname); dp 395 dir.c struct dir_data *dp; dp 396 dir.c VALUE dir = Data_Make_Struct(klass, struct dir_data, mark_dir, free_dir, dp); dp 481 dir.c struct dirent *dp; dp 485 dir.c dp = readdir(dirp->dir); dp 486 dir.c if (dp) { dp 487 dir.c return rb_external_str_new_with_enc(dp->d_name, NAMLEN(dp), dirp->enc); dp 519 dir.c struct dirent *dp; dp 524 dir.c for (dp = readdir(dirp->dir); dp != NULL; dp = readdir(dirp->dir)) { dp 525 dir.c rb_yield(rb_external_str_new_with_enc(dp->d_name, NAMLEN(dp), dirp->enc)); dp 1240 dir.c struct dirent *dp; dp 1244 dir.c for (dp = readdir(dirp); dp != NULL; dp = readdir(dirp)) { dp 1245 dir.c char *buf = join_path(path, dirsep, dp->d_name); dp 1252 dir.c if (recursive && strcmp(dp->d_name, ".") != 0 && strcmp(dp->d_name, "..") != 0 dp 1253 dir.c && fnmatch("*", rb_usascii_encoding(), dp->d_name, flags) == 0) { dp 1260 dir.c new_isdir = dp->d_isdir ? (!dp->d_isrep ? YES : UNKNOWN) : NO; dp 1279 dir.c if (fnmatch(p->str, enc, dp->d_name, flags) == 0) dp 1517 dln.c register const char *dp; dp 1583 dln.c for (dp = path;; dp = ++ep) { dp 1587 dln.c ep = strchr(dp, PATH_SEP[0]); dp 1589 dln.c ep = dp+strlen(dp); dp 1592 dln.c l = ep - dp; dp 1604 dln.c if (*dp == '~' && (l == 1 || dp 1606 dln.c dp[1] == '\\' || dp 1608 dln.c dp[1] == '/')) { dp 1619 dln.c dp++; dp 1625 dln.c memcpy(bp, dp, l); dp 261 ext/win32ole/win32ole.c DISPPARAMS dp; dp 3270 ext/win32ole/win32ole.c index = pOp->dp.cNamedArgs; dp 3283 ext/win32ole/win32ole.c VariantClear(&(pOp->dp.rgvarg[i])); dp 3296 ext/win32ole/win32ole.c VariantInit(&(pOp->dp.rgvarg[index])); dp 3297 ext/win32ole/win32ole.c ole_val2variant(value, &(pOp->dp.rgvarg[index])); dp 3299 ext/win32ole/win32ole.c pOp->dp.cNamedArgs += 1; dp 3346 ext/win32ole/win32ole.c op.dp.rgvarg = NULL; dp 3347 ext/win32ole/win32ole.c op.dp.rgdispidNamedArgs = NULL; dp 3348 ext/win32ole/win32ole.c op.dp.cNamedArgs = 0; dp 3349 ext/win32ole/win32ole.c op.dp.cArgs = 0; dp 3381 ext/win32ole/win32ole.c op.dp.cNamedArgs = 0; dp 3389 ext/win32ole/win32ole.c op.dp.cArgs = cNamedArgs + argc - 2; dp 3391 ext/win32ole/win32ole.c op.dp.rgvarg = ALLOCA_N(VARIANTARG, op.dp.cArgs); dp 3399 ext/win32ole/win32ole.c op.dp.cNamedArgs + 1, dp 3401 ext/win32ole/win32ole.c for(i = 0; i < op.dp.cNamedArgs + 1; i++) { dp 3407 ext/win32ole/win32ole.c for(i = 0; i < op.dp.cArgs; i++ ) { dp 3408 ext/win32ole/win32ole.c VariantClear(&op.dp.rgvarg[i]); dp 3414 ext/win32ole/win32ole.c op.dp.rgdispidNamedArgs = &(pDispID[1]); dp 3418 ext/win32ole/win32ole.c op.dp.cArgs = argc - 1; dp 3420 ext/win32ole/win32ole.c if (op.dp.cArgs > 0) { dp 3421 ext/win32ole/win32ole.c op.dp.rgvarg = ALLOCA_N(VARIANTARG, op.dp.cArgs); dp 3427 ext/win32ole/win32ole.c if(op.dp.cArgs > cNamedArgs) { dp 3428 ext/win32ole/win32ole.c realargs = ALLOCA_N(VARIANTARG, op.dp.cArgs-cNamedArgs+1); dp 3429 ext/win32ole/win32ole.c for(i = cNamedArgs; i < op.dp.cArgs; i++) { dp 3430 ext/win32ole/win32ole.c n = op.dp.cArgs - i + cNamedArgs - 1; dp 3432 ext/win32ole/win32ole.c VariantInit(&op.dp.rgvarg[n]); dp 3436 ext/win32ole/win32ole.c VariantCopy(&op.dp.rgvarg[n], &(pvar->var)); dp 3439 ext/win32ole/win32ole.c V_VT(&op.dp.rgvarg[n]) = VT_VARIANT | VT_BYREF; dp 3440 ext/win32ole/win32ole.c V_VARIANTREF(&op.dp.rgvarg[n]) = &realargs[n]; dp 3446 ext/win32ole/win32ole.c if (op.dp.cArgs == 0) dp 3449 ext/win32ole/win32ole.c op.dp.cNamedArgs = 1; dp 3450 ext/win32ole/win32ole.c op.dp.rgdispidNamedArgs = ALLOCA_N( DISPID, 1 ); dp 3451 ext/win32ole/win32ole.c op.dp.rgdispidNamedArgs[0] = DISPID_PROPERTYPUT; dp 3455 ext/win32ole/win32ole.c &IID_NULL, lcid, wFlags, &op.dp, dp 3460 ext/win32ole/win32ole.c if(op.dp.cArgs >= cNamedArgs) { dp 3461 ext/win32ole/win32ole.c for(i = cNamedArgs; i < op.dp.cArgs; i++) { dp 3462 ext/win32ole/win32ole.c n = op.dp.cArgs - i + cNamedArgs - 1; dp 3464 ext/win32ole/win32ole.c ole_val2variant(param, &op.dp.rgvarg[n]); dp 3473 ext/win32ole/win32ole.c &op.dp, &result, dp 3487 ext/win32ole/win32ole.c &op.dp, NULL, dp 3491 ext/win32ole/win32ole.c for(i = cNamedArgs; i < op.dp.cArgs; i++) { dp 3492 ext/win32ole/win32ole.c n = op.dp.cArgs - i + cNamedArgs - 1; dp 3493 ext/win32ole/win32ole.c VariantClear(&op.dp.rgvarg[n]); dp 3499 ext/win32ole/win32ole.c if (op.dp.cArgs > cNamedArgs) { dp 3500 ext/win32ole/win32ole.c for(i = cNamedArgs; i < op.dp.cArgs; i++) { dp 3501 ext/win32ole/win32ole.c n = op.dp.cArgs - i + cNamedArgs - 1; dp 3503 ext/win32ole/win32ole.c ole_val2variant2(param, &op.dp.rgvarg[n]); dp 3512 ext/win32ole/win32ole.c &op.dp, &result, dp 3514 ext/win32ole/win32ole.c for(i = cNamedArgs; i < op.dp.cArgs; i++) { dp 3515 ext/win32ole/win32ole.c n = op.dp.cArgs - i + cNamedArgs - 1; dp 3516 ext/win32ole/win32ole.c VariantClear(&op.dp.rgvarg[n]); dp 3523 ext/win32ole/win32ole.c if(op.dp.cArgs > cNamedArgs) { dp 3524 ext/win32ole/win32ole.c for(i = cNamedArgs; i < op.dp.cArgs; i++) { dp 3525 ext/win32ole/win32ole.c n = op.dp.cArgs - i + cNamedArgs - 1; dp 3531 ext/win32ole/win32ole.c set_argv(realargs, cNamedArgs, op.dp.cArgs); dp 3534 ext/win32ole/win32ole.c for(i = 0; i < op.dp.cArgs; i++) { dp 3535 ext/win32ole/win32ole.c VariantClear(&op.dp.rgvarg[i]); dp 2223 ext/zlib/zlib.c unsigned char *ds, *dp, *de; dp 2231 ext/zlib/zlib.c ds = dp = (unsigned char *)gz->cbuf; dp 2233 ext/zlib/zlib.c res = rb_econv_convert(gz->ec, &sp, se, &dp, de, ECONV_PARTIAL_INPUT|ECONV_AFTER_OUTPUT); dp 2237 ext/zlib/zlib.c dst = rb_str_new(gz->cbuf, dp - ds); dp 1532 io.c unsigned char *ds, *dp, *de; dp 1551 io.c ds = dp = (unsigned char *)fptr->cbuf + fptr->cbuf_off + fptr->cbuf_len; dp 1553 io.c res = rb_econv_convert(fptr->readconv, &sp, se, &dp, de, ECONV_PARTIAL_INPUT|ECONV_AFTER_OUTPUT); dp 1556 io.c fptr->cbuf_len += dp - ds; dp 1580 io.c ds = dp = (unsigned char *)fptr->cbuf + fptr->cbuf_off + fptr->cbuf_len; dp 1582 io.c res = rb_econv_convert(fptr->readconv, NULL, NULL, &dp, de, 0); dp 1583 io.c fptr->cbuf_len += dp - ds; dp 3042 io.c unsigned char *ds, *dp, *de; dp 3051 io.c ds = dp = buf; dp 3053 io.c res = rb_econv_convert(fptr->writeconv, NULL, NULL, &dp, de, 0); dp 3054 io.c while (dp-ds) { dp 3056 io.c r = rb_write_internal(fptr->fd, ds, dp-ds); dp 3057 io.c if (r == dp-ds) dp 3086 io.c ds = dp = (unsigned char *)fptr->wbuf + fptr->wbuf_off + fptr->wbuf_len; dp 3088 io.c res = rb_econv_convert(fptr->writeconv, NULL, NULL, &dp, de, 0); dp 3089 io.c fptr->wbuf_len += dp - ds; dp 485 string.c unsigned char *dp; dp 506 string.c dp = (unsigned char*)RSTRING_PTR(newstr); dp 508 string.c &dp, (unsigned char*)RSTRING_END(newstr), 0); dp 518 string.c len = dp - (unsigned char*)RSTRING_PTR(newstr); dp 1467 transcode.c unsigned char *dp; dp 1485 transcode.c dp = dst_str+dst_len; dp 1486 transcode.c res = rb_econv_convert(ec, &sp, str+len, &dp, dst_str+dst_bufsize, 0); dp 1487 transcode.c dst_len = dp - dst_str; dp 1502 transcode.c dp = dst_str+dst_len; dp 1503 transcode.c res = rb_econv_convert(ec, &sp, str+len, &dp, dst_str+dst_bufsize, 0); dp 1504 transcode.c dst_len = dp - dst_str; dp 1726 transcode.c unsigned char *ds, *dp, *de; dp 1755 transcode.c dp = ds += dlen; dp 1756 transcode.c res = rb_econv_convert(ec, &sp, se, &dp, de, flags); dp 1759 transcode.c rb_str_set_len(dst, dlen + (dp - ds)); dp 249 vm.c dp(env->block.dfp[3]); dp 251 vm.c dp(env->block.dfp[4]); dp 328 vm.c fprintf(stderr, "%2d ", &envptr[-local_size + i] - th->stack); dp(env->env[i]); dp 789 vm.c dp(cref->nd_clss);