Home
last modified time | relevance | path

Searched refs:tgtkey (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Modules/
Ditertoolsmodule.c17 PyObject *tgtkey; member
40 gbo->tgtkey = NULL; in groupby_new()
59 Py_XDECREF(gbo->tgtkey); in groupby_dealloc()
70 Py_VISIT(gbo->tgtkey); in groupby_traverse()
113 else if (gbo->tgtkey == NULL) in groupby_next()
118 rcmp = PyObject_RichCompareBool(gbo->tgtkey, gbo->currkey, Py_EQ); in groupby_next()
129 Py_XSETREF(gbo->tgtkey, gbo->currkey); in groupby_next()
131 grouper = _grouper_create(gbo, gbo->tgtkey); in groupby_next()
147 if (lz->tgtkey && lz->currkey && lz->currvalue) in groupby_reduce()
149 lz->it, lz->keyfunc, lz->currkey, lz->currvalue, lz->tgtkey); in groupby_reduce()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationDummyTest.java527 CollationKey srckey , tgtkey; in doTestVariant() local
529 tgtkey = collation.getCollationKey(target); in doTestVariant()
530 int keyResult = srckey.compareTo(tgtkey); in doTestVariant()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationDummyTest.java530 CollationKey srckey , tgtkey; in doTestVariant() local
532 tgtkey = collation.getCollationKey(target); in doTestVariant()
533 int keyResult = srckey.compareTo(tgtkey); in doTestVariant()
/external/icu/icu4c/source/test/intltest/
Dtscoll.cpp136 CollationKey srckey, tgtkey; in doTestVariant() local
138 col->getCollationKey(target, tgtkey, status); in doTestVariant()
142 Collator::EComparisonResult keyResult = srckey.compareTo(tgtkey); in doTestVariant()
144 reportCResult(source, target, srckey, tgtkey, compareResult, keyResult, result, result); in doTestVariant()
/external/python/cpython2/Modules/
Ditertoolsmodule.c16 PyObject *tgtkey; member
38 gbo->tgtkey = NULL; in groupby_new()
57 Py_XDECREF(gbo->tgtkey); in groupby_dealloc()
68 Py_VISIT(gbo->tgtkey); in groupby_traverse()
110 else if (gbo->tgtkey == NULL) in groupby_next()
115 rcmp = PyObject_RichCompareBool(gbo->tgtkey, in groupby_next()
127 Py_XSETREF(gbo->tgtkey, gbo->currkey); in groupby_next()
129 grouper = _grouper_create(gbo, gbo->tgtkey); in groupby_next()
192 PyObject *tgtkey; member
198 _grouper_create(groupbyobject *parent, PyObject *tgtkey) in _grouper_create() argument
[all …]
/external/python/cpython2/Doc/library/
Ditertools.rst326 self.tgtkey = self.currkey = self.currvalue = object()
330 while self.currkey == self.tgtkey:
333 self.tgtkey = self.currkey
334 return (self.currkey, self._grouper(self.tgtkey))
335 def _grouper(self, tgtkey):
336 while self.currkey == tgtkey:
/external/python/cpython3/Doc/library/
Ditertools.rst400 self.tgtkey = self.currkey = self.currvalue = object()
405 while self.currkey == self.tgtkey:
408 self.tgtkey = self.currkey
409 return (self.currkey, self._grouper(self.tgtkey, self.id))
410 def _grouper(self, tgtkey, id):
411 while self.id is id and self.currkey == tgtkey: