Lines Matching defs:depth
2517 int depth = args.This()->Get(v8_str("depth"))->Int32Value();
2518 if (depth == kTargetRecursionDepth) return;
2519 args.This()->Set(v8_str("depth"),
2520 v8::Integer::New(args.GetIsolate(), depth + 1));
2528 int depth = args.This()->Get(v8_str("depth"))->Int32Value();
2529 if (depth == kTargetRecursionDepth) {
2530 printf("[depth = %d]\n", depth);
2533 args.This()->Set(v8_str("depth"),
2534 v8::Integer::New(args.GetIsolate(), depth + 1));
2552 env->Global()->Set(v8_str("depth"), v8::Integer::New(isolate, 0));
2557 env->Global()->Set(v8_str("depth"), v8::Integer::New(isolate, 0));
5444 static void TryCatchNested1Helper(int depth) {
5445 if (depth > 0) {
5448 TryCatchNested1Helper(depth - 1);
5457 static void TryCatchNested2Helper(int depth) {
5458 if (depth > 0) {
5461 TryCatchNested2Helper(depth - 1);
11291 static int Recurse(v8::Isolate* isolate, int depth, int iterations) {
11293 if (depth == 0) return v8::HandleScope::NumberOfHandles(isolate);
11297 return Recurse(isolate, depth - 1, iterations);