Lines Matching refs:callbackInfo
44 // 2) CallbackInfo. This represents a callback used for observation. It holds
213 var callbackInfo = CallbackInfoGet(callback);
214 var priority = CallbackInfoGetPriority(callbackInfo);
221 var callbackInfo = CallbackInfoGetOrCreate(callback);
230 var priority = CallbackInfoGetPriority(callbackInfo);
244 var callbackInfo = CallbackInfoGet(callback);
245 var priority = CallbackInfoGetPriority(callbackInfo);
291 // CallbackInfo's optimized state is just a number which represents its global
299 var callbackInfo = callbackInfoMap.get(callback);
300 if (!IS_UNDEFINED(callbackInfo))
301 return callbackInfo;
308 function CallbackInfoGetPriority(callbackInfo) {
309 if (IS_NUMBER(callbackInfo))
310 return callbackInfo;
312 return callbackInfo.priority;
316 var callbackInfo = callbackInfoMap.get(callback);
317 if (IS_NUMBER(callbackInfo)) {
318 var priority = callbackInfo;
319 callbackInfo = new InternalArray;
320 callbackInfo.priority = priority;
321 callbackInfoMap.set(callback, callbackInfo);
323 return callbackInfo;
382 var callbackInfo = CallbackInfoNormalize(callback);
385 observationState.pendingObservers[callbackInfo.priority] = callback;
386 callbackInfo.push(changeRecord);
537 var callbackInfo = callbackInfoMap.get(callback);
538 if (IS_UNDEFINED(callbackInfo) || IS_NUMBER(callbackInfo))
543 var priority = callbackInfo.priority;
550 %MoveArrayContents(callbackInfo, delivered);