/bionic/libc/upstream-openbsd/lib/libc/net/ |
base64.c | 197 char *pos; local 209 pos = strchr(Base64, ch); 210 if (pos == 0) /* A non-base64 character. */ 218 target[tarindex] = (pos - Base64) << 2; 226 target[tarindex] |= (pos - Base64) >> 4; 227 nextbyte = ((pos - Base64) & 0x0f) << 4; 240 target[tarindex] |= (pos - Base64) >> 2; 241 nextbyte = ((pos - Base64) & 0x03) << 6; 254 target[tarindex] |= (pos - Base64);
|
/bootable/recovery/otautil/ |
DirUtil.cpp | 61 size_t pos = path.rfind('/'); local 62 if (pos == std::string::npos) { 66 path.resize(pos + 1);
|
/development/tools/bugreport/src/com/android/bugreport/util/ |
ArgParser.java | 65 public int pos() { method in class:ArgParser
|
/device/google/contexthub/firmware/os/cpu/x86/ |
atomicBitset.c | 63 uint32_t pos, i, numWords = (set->numBits + 31) / 32; local 74 pos = __builtin_ctz(~old); /* This will allocate in diff order than ARM. Since we never made any promises on order of bits returned, this is ok */ 75 new = old | (1 << pos); 78 return 32 * i + pos;
|
/device/google/marlin/camera/QCamera2/stack/common/ |
cam_queue.h | 79 struct cam_list *pos = NULL; local 83 pos = head->next; 84 if (pos != head) { 85 node = member_of(pos, cam_node_t, list); 103 struct cam_list *pos = NULL; local 107 pos = head->next; 109 while(pos != head) { 110 node = member_of(pos, cam_node_t, list); 111 pos = pos->next [all...] |
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_queue.c | 112 struct cam_list *pos = NULL; local 117 pos = head->next; 119 pos = head->prev; 121 if (pos != head) { 122 node = member_of(pos, camera_q_node, list); 140 struct cam_list *pos = NULL; local 148 pos = head->next; 150 while(pos != head) { 151 node = member_of(pos, camera_q_node, list); 152 pos = pos->next [all...] |
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg_queue.c | 69 struct cam_list *pos = NULL; local 81 pos = head->next; 84 cam_list_insert_before_node(&node->list, pos); 96 struct cam_list *pos = NULL; local 102 pos = head->next; 103 if (pos != head) { 104 node = member_of(pos, mm_jpeg_q_node_t, list); 141 struct cam_list *pos = NULL; local 145 pos = head->next; 147 while(pos != head) 170 struct cam_list *pos = NULL; local [all...] |
/device/google/marlin/camera/QCamera2/util/ |
QCameraBufferMaps.cpp | 175 uint32_t pos = mBufMapList.length++; local 176 mBufMapList.buf_maps[pos].type = pType; 177 mBufMapList.buf_maps[pos].stream_id = pStreamId; 178 mBufMapList.buf_maps[pos].frame_idx = pFrameIndex; 179 mBufMapList.buf_maps[pos].plane_idx = pPlaneIndex; 180 mBufMapList.buf_maps[pos].cookie = pCookie; 181 mBufMapList.buf_maps[pos].fd = pFd; 182 mBufMapList.buf_maps[pos].size = pSize; 183 mBufMapList.buf_maps[pos].buffer = buffer;
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibOptDxe/AArch64/ |
CompareMem.S | 50 #define pos x11
define 100 clz pos, diff
101 lsl data1, data1, pos
102 lsl data2, data2, pos
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibOptDxe/Arm/ |
CompareMem.S | 42 #define pos r8
define 96 clz pos, diff
97 lsl data1, data1, pos
98 lsl data2, data2, pos
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
base64.c | 242 char *pos;
local 254 pos = strchr(Base64, ch);
255 if (pos == 0) /* A non-base64 character. */
263 target[tarindex] = (u_char)((pos - Base64) << 2);
271 target[tarindex] |= (u_char)((pos - Base64) >> 4);
272 target[tarindex+1] = (u_char)(((pos - Base64) & 0x0f)
282 target[tarindex] |= (u_char)((pos - Base64) >> 2);
283 target[tarindex+1] = (u_char)(((pos - Base64) & 0x03)
293 target[tarindex] |= (u_char)(pos - Base64);
|
/external/adhd/cras/src/dsp/ |
dsp_util.c | 192 float32x4_t pos = vdupq_n_f32(0.5f / 32768.0f); local 210 "vbsl q3, %q[pos], %q[neg] \n" 211 "vbsl q4, %q[pos], %q[neg] \n" 226 [pos]"w"(pos),
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMNodeList.java | 74 int pos = dtmIterator.getCurrentPos(); local 82 m_iter.setCurrentPos(pos);
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncSum.java | 51 int pos; local 53 while (DTM.NULL != (pos = nodes.nextNode())) 55 DTM dtm = nodes.getDTM(pos); 56 XMLString s = dtm.getStringValue(pos);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
StreamUtil.java | 101 int pos = stack.length; local 103 stack[--pos] = (byte)(tagNo & 0x7F); 108 stack[--pos] = (byte)(tagNo & 0x7F | 0x80); 112 length += stack.length - pos;
|
/external/brotli/c/enc/ |
histogram.c | 51 size_t pos = start_pos; local 74 ringbuffer[pos & mask]); 76 prev_byte = ringbuffer[pos & mask]; 77 ++pos; 79 pos += CommandCopyLen(cmd); 81 prev_byte2 = ringbuffer[(pos - 2) & mask]; 82 prev_byte = ringbuffer[(pos - 1) & mask];
|
/external/bsdiff/ |
suffix_array_index_unittest.cc | 55 uint64_t pos; local 58 SearchPrefix("zzz", &length, &pos); // lexicographically highest. 61 SearchPrefix(" ", &length, &pos); // lexicographically lowest. 65 SearchPrefix("abc", &length, &pos); 69 SearchPrefix("abcd", &length, &pos); 71 EXPECT_EQ(18U, pos); 74 SearchPrefix("abcW", &length, &pos);
|
/external/compiler-rt/test/tsan/ |
signal_sync2.cc | 28 int pos = signals_handled++; local 29 if (pos >= kSignalCount) 31 data[pos] = pos; 32 __atomic_store_n(&ready[pos], 1, __ATOMIC_RELEASE); 62 for (int pos = 0; pos < kSignalCount; pos++) { 63 while (__atomic_load_n(&ready[pos], __ATOMIC_ACQUIRE) == 0) { 65 if (data[pos] != pos) [all...] |
/external/deqp/executor/ |
xeBatchResult.cpp | 91 map<string, int>::const_iterator pos = m_resultMap.find(casePath); local 92 DE_ASSERT(pos != m_resultMap.end()); 93 return getTestCaseResult(pos->second); 98 map<string, int>::const_iterator pos = m_resultMap.find(casePath); local 99 DE_ASSERT(pos != m_resultMap.end()); 100 return getTestCaseResult(pos->second);
|
/external/deqp/framework/delibs/deutil/ |
deCommandLine.c | 45 int pos; local 60 pos = 0; 71 while (commandLine[pos] != 0) 73 char c = commandLine[pos++]; 78 c = commandLine[pos++]; 112 DE_ASSERT(commandLine[pos] == 0);
|
/external/elfutils/libdw/ |
dwarf_next_cfi.c | 113 ptrdiff_t pos = cie_pointer_start - (const uint8_t *) data->d_buf; local 114 if (unlikely (entry->cie.CIE_id > (Dwarf_Off) pos) 115 || unlikely (pos <= (ptrdiff_t) offset_size)) 117 entry->cie.CIE_id = pos - entry->cie.CIE_id;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UnicodeRegex.java | 91 ParsePosition pos = new ParsePosition(0); local 106 i = processSet(regex, i, result, temp, pos); 113 i = processSet(regex, i, result, temp, pos); 342 private int processSet(String regex, int i, StringBuilder result, UnicodeSet temp, ParsePosition pos) { 344 pos.setIndex(i); 345 UnicodeSet x = temp.clear().applyPattern(regex, pos, symbolTable, 0); 348 i = pos.getIndex() - 1; // allow for the loop increment
|
/external/icu/icu4c/source/common/ |
bytestrie.cpp | 32 BytesTrie::readValue(const uint8_t *pos, int32_t leadByte) { 37 value=((leadByte-kMinTwoByteValueLead)<<8)|*pos; 39 value=((leadByte-kMinThreeByteValueLead)<<16)|(pos[0]<<8)|pos[1]; 41 value=(pos[0]<<16)|(pos[1]<<8)|pos[2]; 43 value=(pos[0]<<24)|(pos[1]<<16)|(pos[2]<<8)|pos[3] 70 const uint8_t *pos=pos_; local [all...] |
ruleiter.h | 48 ParsePosition& pos; member in class:RuleCharacterIterator 99 * @param pos upon input, the index of the next character to return. If a 100 * variable has been dereferenced, then pos will <em>not</em> increment as 104 ParsePosition& pos); 135 struct Pos : public UMemory { 138 int32_t pos; member in struct:RuleCharacterIterator::Pos 148 * RuleCharacterIterator::Pos pos; 149 * iterator.getPos(pos); 151 * iterator.getPos(pos); [all...] |
ucharstrieiterator.cpp | 105 const UChar *pos=pos_; local 106 if(pos==NULL) { 114 pos=uchars_+stack_->elementAti(stackSize-2); 119 pos=branchNext(pos, length, errorCode); 120 if(pos==NULL) { 124 str_.append(*pos++); 133 int32_t node=*pos++; 136 pos=skipNodeValue(pos, node) [all...] |