Lines Matching defs:progress
149 // A relayed progress reply requesting cancellation is recorded here, and picked up
150 // on the NEXT progress call from SecAssessment. This avoids synchronous delays
151 // within one progress call.
167 CFNumberRef progress = NULL; // incoming progress reference
170 progress = CFNumberRef(cfprogress);
171 if (progress) {
172 // Assign a progress-reporting token to connect cancellation requests.
173 // We use this to match incoming cancellation requests with ongoing progress activity.
178 // turn client-side progress reference into a block that processes callbacks locally
179 uint64_t progressRef = cfNumber<uint64_t>(progress); // this is the remote caller's handle for our transaction
190 // no cancellation yet; forward progress report
216 // Send a progress-reporting xpc message to the client.
224 xpc_object_t progress = xpc_dictionary_create(NULL, NULL, 0);
225 xpc_dictionary_set_string(progress, "function", "progress");
226 xpc_dictionary_set_uint64(progress, "current", current);
227 xpc_dictionary_set_uint64(progress, "total", total);
228 xpc_dictionary_set_uint64(progress, "ref", ref);
229 xpc_dictionary_set_string(progress, "token", token.c_str());
230 xpc_connection_send_message(connection, progress);