Home | History | Annotate | Download | only in network

Lines Matching defs:op

31   Operation* op = new Operation;
32 op->num_bytes_ = num_bytes;
33 op->callback_ = callback;
34 op->data_ = data;
35 queue_.push_back(op);
44 op->data_copy_.resize(num_bytes);
45 memcpy(&op->data_copy_[0], data, num_bytes);
46 op->data_ = &op->data_copy_[0];
51 Operation* op = queue_[0];
52 uint32_t bytes_written = op->num_bytes_;
54 handle_, op->data_, &bytes_written, MOJO_WRITE_DATA_FLAG_ALL_OR_NONE);
60 // Ensure |op| is deleted, whether or not |this| goes away.
61 scoped_ptr<Operation> op_deleter(op);
66 op->callback_.Run(op->data_); // may delete |this|