Lines Matching defs:job
155 V(CIPHER_JOB_FAILED, "Cipher job failed") \
159 V(KEY_GENERATION_JOB_FAILED, "Key generation job failed") \
362 // If the job was canceled do not execute the callback.
414 CryptoJob<CryptoJobTraits>* job;
415 ASSIGN_OR_RETURN_UNWRAP(&job, args.Holder());
416 if (job->mode() == kCryptoJobAsync)
417 return job->ScheduleWork();
421 job->DoThreadPoolWork();
422 v8::Maybe<bool> result = job->ToResult(&ret[0], &ret[1]);
436 v8::Local<v8::FunctionTemplate> job = NewFunctionTemplate(isolate, new_fn);
437 job->Inherit(AsyncWrap::GetConstructorTemplate(env));
438 job->InstanceTemplate()->SetInternalFieldCount(
440 SetProtoMethod(isolate, job, "run", Run);
441 SetConstructorFunction(context, target, CryptoJobTraits::JobName, job);