Home
last modified time | relevance | path

Searched refs:newIndex (Results 1 – 3 of 3) sorted by relevance

/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Dtypeahead.jquery.js947 var $selectables, $oldCursor, oldIndex, newIndex;
951 newIndex = oldIndex + delta;
952 newIndex = (newIndex + 1) % ($selectables.length + 1) - 1;
953 newIndex = newIndex < -1 ? $selectables.length - 1 : newIndex;
954 return newIndex === -1 ? null : $selectables.eq(newIndex);
/openbmc/openbmc/poky/bitbake/lib/layerindexlib/
H A D__init__.py69 newIndex = LayerIndex(self.data)
71 if self.__class__ != newIndex.__class__ or \
72 other.__class__ != newIndex.__class__:
76 newIndex.indexes.append(indexEnt)
79 newIndex.indexes.append(indexEnt)
81 return newIndex
/openbmc/linux/drivers/message/fusion/
H A Dmptscsih.c190 int newIndex; in mptscsih_AddSGE() local
345 if ((mptscsih_getFreeChainBuffer(ioc, &newIndex)) == FAILED) { in mptscsih_AddSGE()
356 ioc->ChainToChain[chain_idx] = newIndex; in mptscsih_AddSGE()
358 ioc->ReqToChain[req_idx] = newIndex; in mptscsih_AddSGE()
360 chain_idx = newIndex; in mptscsih_AddSGE()