/external/selinux/checkpolicy/test/ |
dismod.c | 217 class_perm_node_t *cur; local 265 cur = avrule->perms; 267 while (cur) { 271 cur = cur->next; 277 cur = avrule->perms; 278 while (cur) { 279 display_id(policy, fp, SYM_CLASSES, cur->tclass - 1, ""); 280 cur = cur->next 399 cond_expr_t *cur; local 440 ocontext_t *cur; local [all...] |
/art/compiler/utils/ |
assembler.h | 142 SlowPath* cur = slow_path_; local 143 for ( ; cur->next_ != nullptr ; cur = cur->next_) {} 144 cur->next_ = slowpath; 149 SlowPath* cur = slow_path_; local 152 for ( ; cur != nullptr ; cur = next) { 153 cur->Emit(sp_asm); 154 next = cur->next_ [all...] |
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
pb_cache.c | 153 struct list_head *cur, *next; local 161 cur = cache->next; 162 next = cur->next; 166 while (cur != cache) { 167 cur_entry = LIST_ENTRY(struct pb_cache_entry, cur, head); 182 cur = next; 183 next = cur->next; 188 while (cur != cache) { 189 cur_entry = LIST_ENTRY(struct pb_cache_entry, cur, head); 199 cur = next [all...] |
/system/netd/tests/dns_responder/ |
dns_responder.cpp | 161 const char* cur = buffer; local 164 cur = parseField(cur, buffer_end, &last); 165 if (cur == nullptr) { 170 return cur; 211 const char* cur = buffer + sizeof(uint8_t); local 216 return cur; 218 if (cur + ofs > buffer_end) { 222 name.append(cur, ofs); 224 return cur + ofs 243 const char* cur = qname.read(buffer, buffer_end); local 301 const char* cur = name.read(buffer, buffer_end); local 406 const char* cur = readHeader(buffer, buffer_end, &qdcount, &ancount, local 723 const char* cur = header.read(response, response_end); local 738 const char* cur = header.read(buffer, buffer_end); local [all...] |
/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...] |
/external/syslinux/core/fs/ |
cache.c | 20 struct cache *prev, *cur; local 49 cur = &cache[i]; 50 cur->data = data; 51 cur->block = -1; 52 cur->prev = prev; 53 prev->next = cur; 55 prev = cur++;
|
/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/freetype/src/type1/ |
t1load.c | 1193 FT_Byte* cur; local 1300 FT_Byte* cur; local 1722 FT_Byte* cur = parser->root.cursor; local 2091 FT_Byte* cur; local [all...] |
/system/core/libutils/ |
Unicode.cpp | 132 static inline int32_t utf32_at_internal(const char* cur, size_t *num_read) 134 const char first_char = *cur; 137 return *cur; 139 cur++; 147 utf32 = (utf32 << 6) + (*cur++ & 0x3F); 204 char *cur = dst; local 208 utf32_codepoint_to_utf8((uint8_t *)cur, *cur_utf32++, len); 209 cur += len; 213 *cur = '\0'; 372 char *cur = dst [all...] |
/external/python/cpython2/Lib/sqlite3/test/ |
dbapi.py | 407 cur = self.cx.cursor() 408 row = cur.fetchone() 464 cur = self.cx.cursor(f) 474 cur = sqlite.Cursor(foo) variable in class:CursorTests.CheckCursorWrongClass.Foo 483 self.cur = self.con.cursor() 484 self.cur.execute("create table test(id integer primary key, name text, bin binary, ratio number, ts timestamp)") 487 self.cur.close() 493 cur = con.cursor() 563 def run(cur, errors): 565 cur.execute("insert into test(name) values ('a')" [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...] |
/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/r16/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/libmojo/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...] |
/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...] |