/external/tlsdate/src/common/ |
fmemopen.c | 51 char *head, *tail, *cur, *eob; member in struct:fmemopen_cookie 65 s = p->cur; 66 len = MIN(p->tail - p->cur, nbytes); 67 bcopy(p->cur, buf, len); 68 p->cur += len; 70 return (int)(p->cur - s); 84 if (p->cur >= p->tail) 86 s = p->cur; 88 len = MIN(p->tail - p->cur, nbytes); 90 bcopy(buf, p->cur, len) [all...] |
/external/toybox/toys/other/ |
acpi.c | 110 int dfd=5, cur, max; local 123 cur=read_int_at(dfd, "cur_state"); 127 else printf("Cooling %d: %s %d of %d\n", TT.cool++, toybuf, cur, max);
|
/frameworks/av/media/libstagefright/foundation/ |
AHierarchicalStateMachine.cpp | 57 sp<AState> cur = mState; local 58 while (cur != NULL && !cur->onMessageReceived(msg)) { 63 cur = cur->parentState(); 66 if (cur != NULL) { 81 sp<AState> cur = mState; local 83 A.push(cur); 84 if (cur == NULL) { 87 cur = cur->parentState() [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
LaunchWarningWindow.java | 30 public LaunchWarningWindow(Context context, ActivityRecord cur, ActivityRecord next) { 51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager())); 54 cur.info.applicationInfo.loadLabel(context.getPackageManager()).toString()));
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/ |
viddec_emitter.h | 24 viddec_emitter_wkld cur; member in struct:__anon30199 44 cxt->cur.data = cxt->next.data = 0; 45 cxt->cur.max_items = cxt->next.max_items = 0; 46 cxt->cur.num_items = cxt->next.num_items = 0; 47 cxt->cur.result = cxt->next.result = VIDDEC_FW_WORKLOAD_SUCCESS; 50 static inline void viddec_emit_update(viddec_emitter *cxt, uint32_t cur, uint32_t next, uint32_t cur_size, uint32_t next_size) 52 cxt->cur.data = (cur != 0) ? (viddec_workload_t *)(cur | DDR_MEM_MASK) : NULL; 54 cxt->cur.max_items = (cur_size - sizeof(viddec_workload_t))/sizeof(viddec_workload_item_t) 60 viddec_emitter_wkld *cur; local [all...] |
/libcore/dex/src/main/java/com/android/dex/ |
Leb128.java | 83 int cur; local 88 cur = in.readByte() & 0xff; 89 result |= (cur & 0x7f) << (count * 7); 92 } while (((cur & 0x80) == 0x80) && count < 5); 94 if ((cur & 0x80) == 0x80) { 111 int cur; local 115 cur = in.readByte() & 0xff; 116 result |= (cur & 0x7f) << (count * 7); 118 } while (((cur & 0x80) == 0x80) && count < 5); 120 if ((cur & 0x80) == 0x80) [all...] |
/system/netd/server/ |
ResolverStats.h | 68 int32_t* cur = &(*out)[ofs]; local 69 cur[STATS_SUCCESSES] = successes; 70 cur[STATS_ERRORS] = errors; 71 cur[STATS_TIMEOUTS] = timeouts; 72 cur[STATS_INTERNAL_ERRORS] = internal_errors; 73 cur[STATS_RTT_AVG] = rtt_avg; 74 cur[STATS_LAST_SAMPLE_TIME] = last_sample_time; 75 cur[STATS_USABLE] = usable; 83 const int32_t* cur = &in[ofs]; local 84 successes = cur[STATS_SUCCESSES] [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
HbpcdUtils.java | 142 Cursor cur = resolver.query(MccIdd.CONTENT_URI, projection, local 144 if (cur != null) { 145 if (cur.getCount() > 0) { 146 if (DBG) Log.d(LOG_TAG, "Query Idd returned the cursor " + cur ); 149 cur.moveToFirst(); 150 idd = cur.getString(0); 154 cur.close();
|
/art/runtime/gc/ |
reference_queue.cc | 109 mirror::Reference* cur = list_; local 111 if (cur == nullptr) { 115 mirror::Reference* pending_next = cur->GetPendingNext(); 116 os << "Reference= " << cur << " PendingNext=" << pending_next; 117 if (cur->IsFinalizerReferenceInstance()) { 118 os << " Zombie=" << cur->AsFinalizerReference()->GetZombie(); 121 cur = pending_next; 122 } while (cur != list_); 127 mirror::Reference* cur = list_; local 128 if (cur != nullptr) [all...] |
/art/runtime/ |
leb128.h | 35 int cur = *(ptr++); local 36 result = (result & 0x7f) | ((cur & 0x7f) << 7); 37 if (cur > 0x7f) { 38 cur = *(ptr++); 39 result |= (cur & 0x7f) << 14; 40 if (cur > 0x7f) { 41 cur = *(ptr++); 42 result |= (cur & 0x7f) << 21; 43 if (cur > 0x7f) { 44 // Note: We don't check to see if cur is out of range here 73 int cur = *(ptr++); local [all...] |
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
exec.c | 139 char *bp, *cur, *path, buf[PATH_MAX]; local 152 cur = path = NULL; 161 cur = alloca(len); 162 if (cur == NULL) { 166 strlcpy(cur, path, len); 167 path = cur; 168 while ((p = strsep(&cur, ":"))) {
|
/device/google/contexthub/firmware/src/ |
simpleQ.c | 82 struct SimpleQueueEntry *cur; local 85 for (i = sq->head; i != SIMPLE_QUEUE_IDX_NONE; i = cur->nextIdx) { 86 cur = simpleQueueGetNth(sq, i); 87 discard(cur->data, true); 119 struct SimpleQueueEntry* cur = NULL; local 122 for (idx = sq->head; idx != SIMPLE_QUEUE_IDX_NONE; prev=idx, idx = cur->nextIdx) { 123 cur = simpleQueueGetNth(sq, idx); 125 if (!cur->discardable) 129 if (sq->discardCbk(cur->data, false)) { 133 sq->head = cur->nextIdx [all...] |
/external/boringssl/src/crypto/lhash/ |
lhash_test.c | 36 struct dummy_lhash_node *cur, *next; local 38 for (cur = lh->head; cur != NULL; cur = next) { 39 next = cur->next; 40 free(cur->s); 41 free(cur); 47 struct dummy_lhash_node *cur; local 49 for (cur = lh->head; cur != NULL; cur = cur->next) 57 struct dummy_lhash_node *cur; local 69 struct dummy_lhash_node *node, *cur; local 88 struct dummy_lhash_node *cur, **next_ptr; local [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_suppressions.cc | 84 Suppression &cur = suppressions_[i]; local 85 if (0 == internal_strcmp(cur.type, type) && TemplateMatch(cur.templ, str)) { 86 *s = &cur;
|
/external/dbus-binding-generator/chromeos-dbus-bindings/ |
dbus_signature.cc | 64 string::const_iterator cur = signature; local 65 int signature_value = *cur++; 68 if (!GetStructTypenameForSignature(cur, end, &cur, output)) { 74 if (!GetArrayTypenameForSignature(cur, end, &cur, output)) { 137 *next = cur; 148 string::const_iterator cur = signature; local 149 if (cur == end) { 154 if (*cur == DBUS_DICT_ENTRY_BEGIN_CHAR) 209 string::const_iterator cur = signature; local [all...] |
/external/fio/lib/ |
prio_tree.h | 21 struct prio_tree_node *cur; member in struct:prio_tree_iter 37 iter->cur = NULL; 53 (ptr)->cur = NULL; \
|
/external/freetype/src/base/ |
ftutil.c | 245 FT_ListNode cur; local 251 cur = list->head; 252 while ( cur ) 254 if ( cur->data == data ) 255 return cur; 257 cur = cur->next; 383 FT_ListNode cur; local 390 cur = list->head; 392 while ( cur ) 416 FT_ListNode cur; local [all...] |
/external/freetype/src/truetype/ |
ttpload.c | 313 FT_Short* cur = face->cvt; local 314 FT_Short* limit = cur + face->cvt_size; 317 for ( ; cur < limit; cur++ ) 318 *cur = FT_GET_SHORT();
|
/external/libchrome/base/ |
environment.cc | 111 size_t cur = 0; local 112 while (input[cur] && input[cur] != '=') 113 cur++; 114 *key = NativeEnvironmentString(&input[0], cur); 117 while (input[cur]) 118 cur++; 119 return cur + 1;
|
/external/libvncserver/libvncserver/ |
auth.c | 81 rfbSecurityHandler *cur = NULL, *pre = NULL; local 92 cur = pre = securityHandlers; 94 while(cur) { 95 if(cur == handler) { 96 pre->next = cur->next; 99 pre = cur; 100 cur = cur->next;
|
/external/libxml2/ |
testdict.c | 154 xmlChar *cur, *pref; local 274 cur = strings2[i]; 276 while (*cur != ':') *pref++ = *cur++; 277 cur++; 279 tmp = xmlDictQLookup(dict, &prefix[0], cur); 282 &prefix[0], cur); 291 cur = strings1[i]; 293 while (*cur != ':') *pref++ = *cur++ 317 xmlChar *cur, *pref; local [all...] |
/external/llvm/lib/Transforms/Scalar/ |
Sink.cpp | 220 Loop *cur = LI->getLoopFor(Inst->getParent()); local 221 if (succ != nullptr && succ != cur)
|
/external/lzma/C/ |
Ppmd7Enc.c | 161 int cur = s->Symbol;
local 162 if (cur == symbol)
178 sum += (s->Freq & (int)(MASK(cur)));
179 MASK(cur) = 0;
|
/external/lzma/CPP/7zip/Common/ |
LimitedStreams.cpp | 227 UInt32 cur;
local 228 HRESULT res = Stream->Read(data, size, &cur);
230 *processedSize = cur;
231 _virtPos += cur;
318 UInt32 cur;
local 319 HRESULT res = Stream->Write(data, size, &cur);
321 *processedSize = cur;
322 _virtPos += cur;
|
StreamObjects.cpp | 223 UInt32 cur = (UInt32)MyMin(((size_t)1 << _blockSizeLog) - offset, (size_t)size);
local 224 memcpy(data, p + offset, cur);
226 *processedSize += cur;
227 data = (void *)((const Byte *)data + cur);
228 _pos += cur;
229 size -= cur;
|