Lines Matching defs:id
33 // If the ID is still zero, no one has read it, so no need to send this message.
34 uint32_t id = sk_atomic_load(&fUniqueID, sk_memory_order_relaxed);
35 if (id != 0) {
36 SkPicture::DeletionMessage msg = { (int32_t)id };
43 uint32_t id = sk_atomic_load(&fUniqueID, sk_memory_order_relaxed);
44 while (id == 0) {
46 if (sk_atomic_compare_exchange(&fUniqueID, &id, next,
49 id = next;
51 // sk_atomic_compare_exchange replaced id with the current value of fUniqueID.
54 return id;