/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseGeneralTest.java | 779 Cursor cur = mDatabase.rawQuery("PRAGMA table_info(pragma_test)", null); local 820 Cursor cur; local 906 Cursor cur = mDatabase.rawQuery("PRAGMA database_list;", null); local 1013 Cursor cur = mDatabase.rawQuery( local [all...] |
/external/libxml2/ |
xmlreader.c | 138 unsigned int cur; /* current position in the input */ member in struct:_xmlTextReader 221 static void xmlTextReaderFreeNode(xmlTextReaderPtr reader, xmlNodePtr cur); 222 static void xmlTextReaderFreeNodeList(xmlTextReaderPtr reader, xmlNodePtr cur); 281 * @cur: the node 286 xmlTextReaderFreeProp(xmlTextReaderPtr reader, xmlAttrPtr cur) { 293 if (cur == NULL) return; 296 xmlDeregisterNodeDefaultValue((xmlNodePtr) cur); 299 if ((cur->parent != NULL) && (cur->parent->doc != NULL) && 300 ((cur->parent->doc->intSubset != NULL) | 1666 xmlNodePtr cur; local 2339 xmlAttrPtr cur; local 2583 xmlAttrPtr cur; local 3947 xmlNodePtr cur, parent; local 5780 unsigned char cur; \/* the current value read from in[] *\/ local [all...] |
DOCBparser.c | 163 * @cur: a pointer to an array of xmlChar 176 docbSAXParseDoc(xmlChar * cur ATTRIBUTE_UNUSED, 189 return (xmlSAXParseMemoryWithData(sax, (const char *)cur, 190 xmlStrlen((const xmlChar *) cur), 0, userData)); 195 * @cur: a pointer to an array of xmlChar 204 docbParseDoc(xmlChar * cur ATTRIBUTE_UNUSED, 215 return (xmlParseDoc(cur));
|
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...] |
/external/fio/lib/ |
flist_sort.c | 115 struct flist_head *cur = list; local 117 cur->next = NULL; 120 cur = merge(priv, cmp, part[lev], cur); 132 part[lev] = cur;
|
/external/selinux/checkpolicy/test/ |
dismod.c | 217 class_perm_node_t *cur; local 258 cur = avrule->perms; 260 while (cur) { 264 cur = cur->next; 270 cur = avrule->perms; 271 while (cur) { 272 display_id(policy, fp, SYM_CLASSES, cur->tclass - 1, ""); 273 cur = cur->next 374 cond_expr_t *cur; local 415 ocontext_t *cur; local [all...] |
/system/netd/tests/ |
dns_responder.cpp | 157 const char* cur = buffer; local 160 cur = parseField(cur, buffer_end, &last); 161 if (cur == nullptr) { 166 return cur; 207 const char* cur = buffer + sizeof(uint8_t); local 212 return cur; 214 if (cur + ofs > buffer_end) { 218 name.append(cur, ofs); 220 return cur + ofs 239 const char* cur = qname.read(buffer, buffer_end); local 297 const char* cur = name.read(buffer, buffer_end); local 401 const char* cur = readHeader(buffer, buffer_end, &qdcount, &ancount, local 713 const char* cur = header.read(response, response_end); local 728 const char* cur = header.read(buffer, buffer_end); 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, ":"))) {
|
/external/blktrace/btreplay/ |
btrecord.c | 83 * @cur: Current IO bunch being collected 93 struct io_bunch *cur; member in struct:io_stream 253 struct io_bunch *cur = malloc(sizeof(*cur)); local 255 memset(cur, 0, sizeof(*cur)); 257 cur->hdr.npkts = 0; 258 cur->hdr.time_stamp = stream->start_time = start_time; 260 stream->cur = cur; 272 struct io_bunch *cur = stream->cur; local 626 struct io_bunch *cur = stream->cur; local [all...] |
/external/javassist/src/main/javassist/bytecode/ |
SignatureAttribute.java | 658 Cursor cur = new Cursor(); local 659 TypeParameter[] tp = parseTypeParams(sig, cur); 660 ClassType superClass = parseClassType(sig, cur); 663 while (cur.position < sigLen && sig.charAt(cur.position) == 'L') 664 ifArray.add(parseClassType(sig, cur)); 674 Cursor cur = new Cursor(); local 675 TypeParameter[] tp = parseTypeParams(sig, cur); 676 if (sig.charAt(cur.position++) != '(') 680 while (sig.charAt(cur.position) != ')') [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();
|
/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;
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/type1/ |
t1load.c | 1070 FT_Byte* cur; local 1177 FT_Byte* cur; local 1562 FT_Byte* cur = parser->root.cursor; local 1925 FT_Byte* cur; local [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...] |
/system/core/libutils/ |
Unicode.cpp | 130 static inline int32_t utf32_at_internal(const char* cur, size_t *num_read) 132 const char first_char = *cur; 135 return *cur; 137 cur++; 145 utf32 = (utf32 << 6) + (*cur++ & 0x3F); 194 char *cur = dst; local 198 utf32_codepoint_to_utf8((uint8_t *)cur, *cur_utf32++, len); 199 cur += len; 203 *cur = '\0'; 363 char *cur = dst [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/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...] |
/ndk/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...] |
/external/v8/build/ |
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...] |