Searched refs:sq (Results 1 – 9 of 9) sorted by relevance
39 static inline struct SimpleQueueEntry *simpleQueueGetNth(struct SimpleQueue* sq, uint32_t n) in simpleQueueGetNth() argument41 return (struct SimpleQueueEntry*)(sq->data + n * sq->entrySz); in simpleQueueGetNth()44 static inline uint32_t simpleQueueGetIdx(struct SimpleQueue* sq, const struct SimpleQueueEntry *e) in simpleQueueGetIdx() argument46 return (((const uint8_t*)e) - sq->data) / sq->entrySz; in simpleQueueGetIdx()52 struct SimpleQueue *sq; in simpleQueueAlloc() local57 sq = heapAlloc(sz); in simpleQueueAlloc()58 if (!sq) in simpleQueueAlloc()61 memset(sq, 0, sz); in simpleQueueAlloc()63 sq->discardCbk = forceDiscardCbk; in simpleQueueAlloc()64 sq->head = SIMPLE_QUEUE_IDX_NONE; in simpleQueueAlloc()[all …]
32 void simpleQueueDestroy(struct SimpleQueue* sq); //will call discard, but in no particular order!33 bool simpleQueueEnqueue(struct SimpleQueue* sq, const void *data, int length, bool possiblyDiscarda…34 bool simpleQueueDequeue(struct SimpleQueue* sq, void *dataVal);
461 dq = sq = 0464 if not sq and c == '"':467 sq = not sq468 elif sq or dq:
4402 PySequenceMethods *sq = tp->tp_as_sequence; in apply_slice() local4404 if (sq && sq->sq_slice && ISINDEX(v) && ISINDEX(w)) { in apply_slice()4429 PySequenceMethods *sq = tp->tp_as_sequence; in assign_slice() local4431 if (sq && sq->sq_ass_slice && ISINDEX(v) && ISINDEX(w)) { in assign_slice()
4380 PySequenceMethods *sq = tp->tp_as_sequence; in apply_slice() local4382 if (sq && sq->sq_slice && ISINDEX(v) && ISINDEX(w)) { in apply_slice()4407 PySequenceMethods *sq = tp->tp_as_sequence; in assign_slice() local4409 if (sq && sq->sq_ass_slice && ISINDEX(v) && ISINDEX(w)) { in assign_slice()
391 From: msb@sq.com (Mark Brader)392 <a href="news:1996Jul6.012937.29190@sq.com">
4394 PySequenceMethods *sq = Py_TYPE(self)->tp_as_sequence; local4395 if (sq && sq->sq_length) {4396 Py_ssize_t n = (*sq->sq_length)(self);
4342 PySequenceMethods *sq = Py_TYPE(self)->tp_as_sequence; local4343 if (sq && sq->sq_length) {4344 Py_ssize_t n = (*sq->sq_length)(self);