/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
HbpcdUtils.java | 144 Cursor cur = resolver.query(MccIdd.CONTENT_URI, projection, local 146 if (cur != null) { 147 if (cur.getCount() > 0) { 148 if (DBG) Rlog.d(LOG_TAG, "Query Idd returned the cursor " + cur); 151 cur.moveToFirst(); 152 idd = cur.getString(0); 156 cur.close();
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
storage_manager.c | 178 unsigned char *cur; local 185 cur = data + sizeof(struct data_header_t); 187 hd = (struct data_header_t *)cur; 188 cur += sizeof(struct data_header_t); 189 ds.save[kk](cur); 190 hd->checksum = inv_checksum(cur, ds.hd[kk].size); 193 cur += ds.hd[kk].size;
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
storage_manager.c | 178 unsigned char *cur; local 185 cur = data + sizeof(struct data_header_t); 187 hd = (struct data_header_t *)cur; 188 cur += sizeof(struct data_header_t); 189 ds.save[kk](cur); 190 hd->checksum = inv_checksum(cur, ds.hd[kk].size); 193 cur += ds.hd[kk].size;
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
SparseArrayBitmapPool.java | 144 Node cur = mStore.get(width); local 149 while (cur != null) { 150 if (cur.bitmap.getHeight() == height) { 151 Bitmap b = cur.bitmap; 152 unlinkAndRecycleNode(cur, false); 155 cur = cur.nextInBucket;
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/http2/hpack/ |
huffman.go | 51 // cur is the bit buffer that has not been fed into n. 52 // cbits is the number of low order bits in cur that are valid. 54 cur, cbits, sbits := uint(0), uint8(0), uint8(0) 56 cur = cur<<8 | uint(b) 60 idx := byte(cur >> (cbits - 8)) 79 n = n.children[byte(cur<<(8-cbits))] 99 if mask := uint(1<<cbits - 1); cur&mask != mask { 132 cur := rootHuffmanNode 136 if cur.children[i] == nil [all...] |
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/http2/hpack/ |
huffman.go | 51 // cur is the bit buffer that has not been fed into n. 52 // cbits is the number of low order bits in cur that are valid. 54 cur, cbits, sbits := uint(0), uint8(0), uint8(0) 56 cur = cur<<8 | uint(b) 60 idx := byte(cur >> (cbits - 8)) 79 n = n.children[byte(cur<<(8-cbits))] 99 if mask := uint(1<<cbits - 1); cur&mask != mask { 132 cur := rootHuffmanNode 136 if cur.children[i] == nil [all...] |
/external/pdfium/third_party/freetype/src/type1/ |
t1load.c | 1067 FT_Byte* cur; local 1174 FT_Byte* cur; local 1544 FT_Byte* cur = parser->root.cursor; local 1907 FT_Byte* cur; local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/sqlite3/test/ |
dbapi.py | 406 cur = self.cx.cursor() 407 row = cur.fetchone() 463 cur = self.cx.cursor(f) 473 cur = sqlite.Cursor(foo) variable in class:CursorTests.CheckCursorWrongClass.Foo 482 self.cur = self.con.cursor() 483 self.cur.execute("create table test(id integer primary key, name text, bin binary, ratio number, ts timestamp)") 486 self.cur.close() 492 cur = con.cursor() 562 def run(cur, errors): 564 cur.execute("insert into test(name) values ('a')" [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/sqlite3/test/ |
dbapi.py | 406 cur = self.cx.cursor() 407 row = cur.fetchone() 463 cur = self.cx.cursor(f) 473 cur = sqlite.Cursor(foo) variable in class:CursorTests.CheckCursorWrongClass.Foo 482 self.cur = self.con.cursor() 483 self.cur.execute("create table test(id integer primary key, name text, bin binary, ratio number, ts timestamp)") 486 self.cur.close() 492 cur = con.cursor() 562 def run(cur, errors): 564 cur.execute("insert into test(name) values ('a')" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/test/ |
dbapi.py | 406 cur = self.cx.cursor() 407 row = cur.fetchone() 463 cur = self.cx.cursor(f) 473 cur = sqlite.Cursor(foo) variable in class:CursorTests.CheckCursorWrongClass.Foo 482 self.cur = self.con.cursor() 483 self.cur.execute("create table test(id integer primary key, name text, bin binary, ratio number, ts timestamp)") 486 self.cur.close() 492 cur = con.cursor() 562 def run(cur, errors): 564 cur.execute("insert into test(name) values ('a')" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/test/ |
dbapi.py | 406 cur = self.cx.cursor() 407 row = cur.fetchone() 463 cur = self.cx.cursor(f) 473 cur = sqlite.Cursor(foo) variable in class:CursorTests.CheckCursorWrongClass.Foo 482 self.cur = self.con.cursor() 483 self.cur.execute("create table test(id integer primary key, name text, bin binary, ratio number, ts timestamp)") 486 self.cur.close() 492 cur = con.cursor() 562 def run(cur, errors): 564 cur.execute("insert into test(name) values ('a')" [all...] |
/external/libxml2/ |
xmlstring.c | 33 * @cur: the input xmlChar * 34 * @len: the len of @cur 41 xmlStrndup(const xmlChar *cur, int len) { 44 if ((cur == NULL) || (len < 0)) return(NULL); 50 memcpy(ret, cur, len * sizeof(xmlChar)); 57 * @cur: the input xmlChar * 66 xmlStrdup(const xmlChar *cur) { 67 const xmlChar *p = cur; 69 if (cur == NULL) return(NULL); 71 return(xmlStrndup(cur, p - cur)) [all...] |
error.c | 175 const xmlChar *cur, *base; local 180 if ((input == NULL) || (input->cur == NULL)) 183 cur = input->cur; 186 while ((cur > base) && ((*(cur) == '\n') || (*(cur) == '\r'))) { 187 cur--; 191 while ((n++ < (sizeof(content)-1)) && (cur > base) && 192 (*(cur) != '\n') && (*(cur) != '\r') 256 xmlParserInputPtr cur = NULL; local 685 xmlParserInputPtr cur = NULL; local 728 xmlParserInputPtr cur = NULL; local [all...] |
/external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/ |
seekoff.pass.cpp | 26 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == -1); 29 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in | std::ios_base::out) == -1); 33 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in) == 6); 41 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in) == -1); 44 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out | std::ios_base::in) == -1); 49 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == 7); 60 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in) == 6); 68 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out | std::ios_base::in) == -1); 76 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == 7); 86 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == -1) [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/ |
s-c1.c | 470 mes_t *cur; local 509 cur = measures; 519 while (cur->next != NULL) { 520 cur = cur->next; 525 if (cur->_data[i] != 0) { 527 Xavg[i] += (double)cur->nthreads; 528 LnXavg[i] += log((double)cur->nthreads); 529 Yavg[i] += (double)cur->_data[i]; 530 LnYavg[i] += log((double)cur->_data[i]) [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringbuf/stringbuf.virtuals/ |
seekoff.pass.cpp | 26 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == -1); 29 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in | std::ios_base::out) == -1); 33 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in) == 6); 41 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in) == -1); 44 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out | std::ios_base::in) == -1); 49 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == 7); 60 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in) == 6); 68 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out | std::ios_base::in) == -1); 76 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == 7); 86 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == -1) [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/ |
seekoff.pass.cpp | 26 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == -1); 29 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in | std::ios_base::out) == -1); 33 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in) == 6); 41 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in) == -1); 44 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out | std::ios_base::in) == -1); 49 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == 7); 60 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in) == 6); 68 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out | std::ios_base::in) == -1); 76 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == 7); 86 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == -1) [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/ |
s-c2.c | 237 testdata_t *cur, *tmp; local 250 cur = &sentinel; 322 cur->next = tmp; 323 tmp->id = cur->id + 1; 325 cur = tmp; 343 } while (counter != cur->id); 370 cur = &sentinel; 371 while (cur->next != NULL) { 373 tmp = cur->next; 374 cur->next = tmp->next [all...] |
/external/skia/gn/ |
gn_helpers.py | 165 self.cur = 0 168 return self.cur == len(self.input) 171 while not self.IsDone() and self.input[self.cur] in ' \t\n': 172 self.cur += 1 195 self.input[self.cur:]) 209 if self.input[self.cur] != '=': 210 raise GNException("Unexpected token: " + self.input[self.cur:]) 211 self.cur += 1 225 next_char = self.input[self.cur] 237 raise GNException("Unexpected token: " + self.input[self.cur:] [all...] |
/hardware/intel/common/libwsbm/src/ |
wsbm_mm.c | 170 wsbmMMPutBlock(struct _WsbmMMNode *cur) 173 struct _WsbmMM *mm = cur->mm; 174 struct _WsbmListHead *cur_head = &cur->ml_entry; 185 prev_node->size += cur->size; 199 next_node->size += cur->size; 200 next_node->start = cur->start; 206 cur->free = 1; 207 WSBMLISTADD(&cur->fl_entry, &mm->fl_entry); 209 WSBMLISTDEL(&cur->ml_entry); 210 free(cur); [all...] |
/frameworks/native/libs/ui/ |
Region.cpp | 235 const_iterator cur = begin(); local 237 while (cur != tail) { 238 if (y >= cur->top && y < cur->bottom && x >= cur->left && x < cur->right) { 241 cur++; 425 Rect* cur; member in class:android::Region::rasterizer 428 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() { 468 if (cur->top != rect.top) 517 const_iterator cur = reg.begin(); local [all...] |
/external/ltp/utils/ffsb-6.0-rc2/ |
filelist.c | 38 struct cnode *cur = cl->head; 40 if (cur == NULL) { 45 printf("%d ", cur->obj->num); 46 cur = cur->next; 47 } while (cur != cl->head); 113 struct ffsb_file *cur = cl_remove_head(bf->holes); local 114 file_destructor(cur); 260 static void print_rb_helper(rb_node * cur) 262 if (cur != NULL) 288 rb_node *cur = NULL; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
profile.py | 123 self.cur is always a tuple. Each such tuple corresponds to a stack
124 frame that is currently active (self.cur[-2]). The following are the
136 subfunctions (this latter is tallied in cur[2]).
138 frame's function (this latter is tallied in cur[1]).
144 self.timings[]. The index is always the name stored in self.cur[-3].
163 self.cur = None
271 # In the event handlers, the first 3 elements of self.cur are unpacked
274 # _pt self.cur[0] "parent time" time to be charged to parent frame
275 # _it self.cur[1] "internal time" time spent directly in the function
276 # _et self.cur[2] "external time" time spent in subfunctions [all...] |
/external/deqp/framework/delibs/dethread/win32/ |
deThreadWin32.c | 160 const SYSTEM_LOGICAL_PROCESSOR_INFORMATION* cur = src; local 164 while (((const deUint8*)cur - (const deUint8*)src) + sizeof(SYSTEM_LOGICAL_PROCESSOR_INFORMATION) <= numBytes) 166 if (cur->Relationship == RelationProcessorCore) 170 dst->numLogicalCores += dePop64(cur->ProcessorMask); 172 dst->numLogicalCores += dePop32(cur->ProcessorMask); 176 cur++;
|
/external/google-breakpad/src/common/ |
memory.h | 145 for (PageHeader *cur = last_; cur; cur = next) { 146 next = cur->next; 147 sys_munmap(cur, cur->num_pages * page_size_);
|