Searched refs:head (Results 1 – 9 of 9) sorted by relevance
58 protected int head; field in UnboundedFifoByteBuffer85 head = 0; in UnboundedFifoByteBuffer()97 if (tail < head) { in size()98 size = buffer.length - head + tail; in size()100 size = tail - head; in size()127 for (int i = head; i != tail;) { in add()139 head = 0; in add()162 return buffer[head]; in get()176 byte element = buffer[head]; in remove()178 head++; in remove()[all …]
119 public WnnSentence(WnnClause head, WnnSentence tail) { in WnnSentence() argument122 this.id = head.id; in WnnSentence()123 this.candidate = head.candidate; in WnnSentence()124 this.stroke = head.stroke; in WnnSentence()125 this.frequency = head.frequency; in WnnSentence()126 this.partOfSpeech = head.partOfSpeech; in WnnSentence()127 this.attribute = head.attribute; in WnnSentence()129 this.elements.add(head); in WnnSentence()132 this.id = head.id; in WnnSentence()133 this.candidate = head.candidate + tail.candidate; in WnnSentence()[all …]
192 Token head = node.firstToken; in buildString() local196 while (head != tail) { in buildString()197 out.append(head.image); in buildString()198 head = head.next; in buildString()200 addSpecials(out, head.specialToken); in buildString()
103 SortedMap<Integer, int[]> head = mIndex.headMap(start + 1); in getMediaItem() local104 int markPos = head.lastKey(); in getMediaItem()105 int[] subPos = head.get(markPos).clone(); in getMediaItem()
421 WnnClause head = null; in convert() local429 head = new WnnClause(input, (WnnWord)headCandidates.next()); in convert()442 if (head != null) { in convert()443 sentence = new WnnSentence(head, sentence); in convert()
80 SMILElement head = smilDoc.getHead(); in isMMSConformance() local81 if (head == null) { in isMMSConformance()85 NodeList children = head.getChildNodes(); in isMMSConformance()
1365 if (cache->head == cache->tail) in _get_lpis()1369 uint16 i = cache->head; in _get_lpis()1407 if (next == cache->head) { in _get_lpis()1408 cache->head++; in _get_lpis()1409 if (cache->head >= kUserDictCacheSize) { in _get_lpis()1410 cache->head -= kUserDictCacheSize; in _get_lpis()1422 if (cache->head == cache->tail) in _get_lpis()1426 uint16 i = cache->head; in _get_lpis()1459 if (next == cache->head) { in _get_lpis()1460 cache->head++; in _get_lpis()[all …]
191 SMILElement head = (SMILElement) document.createElement("head"); in createSmilDocument() local192 smil.appendChild(head); in createSmilDocument()195 head.appendChild(layout); in createSmilDocument()
257 uint16 head, tail; member265 uint16 head, tail; member