Searched refs:tgtkey (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Modules/ |
D | itertoolsmodule.c | 17 PyObject *tgtkey; member 39 gbo->tgtkey = NULL; in groupby_new() 58 Py_XDECREF(gbo->tgtkey); in groupby_dealloc() 69 Py_VISIT(gbo->tgtkey); in groupby_traverse() 84 else if (gbo->tgtkey == NULL) in groupby_next() 89 rcmp = PyObject_RichCompareBool(gbo->tgtkey, gbo->currkey, Py_EQ); in groupby_next() 116 Py_XSETREF(gbo->tgtkey, gbo->currkey); in groupby_next() 118 grouper = _grouper_create(gbo, gbo->tgtkey); in groupby_next() 134 if (lz->tgtkey && lz->currkey && lz->currvalue) in groupby_reduce() 136 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/ |
D | CollationDummyTest.java | 527 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/ |
D | CollationDummyTest.java | 530 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/ |
D | tscoll.cpp | 136 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/ |
D | itertoolsmodule.c | 16 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() 83 else if (gbo->tgtkey == NULL) in groupby_next() 88 rcmp = PyObject_RichCompareBool(gbo->tgtkey, in groupby_next() 122 tmp = gbo->tgtkey; in groupby_next() 123 gbo->tgtkey = gbo->currkey; in groupby_next() 126 grouper = _grouper_create(gbo, gbo->tgtkey); in groupby_next() 189 PyObject *tgtkey; member [all …]
|
/external/python/cpython2/Doc/library/ |
D | itertools.rst | 326 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/ |
D | itertools.rst | 400 self.tgtkey = self.currkey = self.currvalue = object() 404 while self.currkey == self.tgtkey: 407 self.tgtkey = self.currkey 408 return (self.currkey, self._grouper(self.tgtkey)) 409 def _grouper(self, tgtkey): 410 while self.currkey == tgtkey:
|