| /frameworks/base/tools/aapt/ | 
| pseudolocalize.cpp | 43   size_t lastpos, pos;  local 47   for (lastpos = pos = 0; pos < length; pos++) {
 70       size_t size = nextpos - lastpos;
 72         String16 chunk = String16(text, size, lastpos);
 75         } else if (str[lastpos] == k_arg_start &&
 86       lastpos = nextpos;
 
 | 
| /frameworks/base/tools/aapt2/compile/ | 
| Pseudolocalizer.cpp | 90   size_t lastpos, pos;  local 94   for (lastpos = pos = 0; pos < length; pos++) {
 117       size_t size = nextpos - lastpos;
 119         std::string chunk = text.substr(lastpos, size).to_string();
 122         } else if (str[lastpos] == kArgStart && str[nextpos - 1] == kArgEnd) {
 132       lastpos = nextpos;
 
 | 
| /frameworks/support/leanback/src/main/java/androidx/leanback/widget/ | 
| Grid.java | 465         final int lastPos = getLastVisibleIndex(); 466         final int resultSearchLast = lastPos >= 0
 467                 ? Arrays.binarySearch(positions, 0, positionsLength, lastPos) : 0;
 469             // we shouldn't find lastPos in disappearing position list.
 473                 edge = mProvider.getEdge(lastPos) - mProvider.getSize(lastPos) - mSpacing;
 475                 edge = mProvider.getEdge(lastPos) + mProvider.getSize(lastPos) + mSpacing;
 
 | 
| /external/minijail/ | 
| util.c | 167 	char *group, *lastpos = constant_str;  local 183 			lastpos = original_constant_str;
 187 		lastpos = end;
 190 		*endptr = lastpos;
 
 | 
| /external/llvm/lib/Support/ | 
| regengine.inc | 79 	const char **lastpos;		/* [nplus+1] */ 172 	m->lastpos = NULL;
 188 			free((void*)m->lastpos);
 222 			if (g->nplus > 0 && m->lastpos == NULL)
 223 				m->lastpos = (const char **)malloc((g->nplus+1) *
 225 			if (g->nplus > 0 && m->lastpos == NULL) {
 238 		assert(g->nplus == 0 || m->lastpos != NULL);
 285 	if (m->lastpos != NULL)
 286 		free((char *)m->lastpos);
 609 		assert(m->lastpos != NULL)
 [all...]
 | 
| /external/swiftshader/third_party/LLVM/lib/Support/ | 
| regengine.inc | 79 	const char **lastpos;		/* [nplus+1] */ 172 	m->lastpos = NULL;
 188 			free((void*)m->lastpos);
 222 			if (g->nplus > 0 && m->lastpos == NULL)
 223 				m->lastpos = (const char **)malloc((g->nplus+1) *
 225 			if (g->nplus > 0 && m->lastpos == NULL) {
 238 		assert(g->nplus == 0 || m->lastpos != NULL);
 285 	if (m->lastpos != NULL)
 286 		free((char *)m->lastpos);
 609 		assert(m->lastpos != NULL)
 [all...]
 | 
| /external/swiftshader/third_party/llvm-subzero/lib/Support/ | 
| regengine.inc | 79 	const char **lastpos;		/* [nplus+1] */ 172 	m->lastpos = NULL;
 188 			free((void*)m->lastpos);
 222 			if (g->nplus > 0 && m->lastpos == NULL)
 223 				m->lastpos = (const char **)malloc((g->nplus+1) *
 225 			if (g->nplus > 0 && m->lastpos == NULL) {
 238 		assert(g->nplus == 0 || m->lastpos != NULL);
 285 	if (m->lastpos != NULL)
 286 		free((char *)m->lastpos);
 609 		assert(m->lastpos != NULL)
 [all...]
 | 
| /external/eigen/demos/mandelbrot/ | 
| mandelbrot.cpp | 177     lastpos = event->pos(); 190   QPoint delta = event->pos() - lastpos;
 191   lastpos = event->pos();
 
 | 
| /external/tinyxml/ | 
| tinyxml.cpp | 1029 		const char* lastPos = buf; 1038 				data.append( lastPos, p-lastPos+1 );	// append, include the newline
 1040 				lastPos = p;							// and point to the new buffer (may be 0)
 1046 				if ( (p-lastPos) > 0 ) {
 1047 					data.append( lastPos, p-lastPos );	// do not add the CR
 1054 					lastPos = p;
 1060 					lastPos = p;
 1069 		if ( p-lastPos ) {
 [all...]
 | 
| /device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ | 
| dlgauto.h | 98 	if (zznextpos < lastpos){				\ 353 	zzchar_t *lastpos;  /* MR27 Remove register since address operator used. */
  local
 358 	lastpos = &zzlextext[zzbufsize-1];
 440 		if (zznextpos < lastpos){
 
 | 
| /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ | 
| dlgauto.h | 98   if (zznextpos < lastpos){        \ 348   register zzchar_t *lastpos;
  local
 353   lastpos = &zzlextext[zzbufsize-1];
 435     if (zznextpos < lastpos){
 
 | 
| /external/boringssl/src/crypto/x509/ | 
| x509_req.c | 266 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos) 268     return X509at_get_attr_by_NID(req->req_info->attributes, nid, lastpos);
 272                              int lastpos)
 274     return X509at_get_attr_by_OBJ(req->req_info->attributes, obj, lastpos);
 
 | 
| /frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ | 
| SecurityLogMonitor.java | 330         int lastPos = 0; 332         while (lastPos < mLastEvents.size() && curPos < newLogs.size()) {
 339             final SecurityEvent lastEvent = mLastEvents.get(lastPos);
 349                 lastPos++;
 361                 lastPos++;
 
 | 
| /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ | 
| InputTestsBase.java | 445         final int lastPos = mEditText.getText().length(); 449         } else if (requestedPosition > lastPos) {
 450             return sendUpdateForCursorMoveTo(lastPos);
 460         final int lastPos = mEditText.getText().length();
 461         return sendUpdateForCursorMoveTo(lastPos);
 
 | 
| /bionic/libc/upstream-netbsd/lib/libc/regex/ | 
| engine.c | 115 	const char **lastpos;	/* [nplus+1] */  member in struct:match 226 	m->lastpos = NULL;
 274 			if (g->nplus > 0 && m->lastpos == NULL)
 275 				m->lastpos = malloc((g->nplus+1) *
 277 			if (g->nplus > 0 && m->lastpos == NULL) {
 289 		assert(g->nplus == 0 || m->lastpos != NULL);
 339 	if (m->lastpos != NULL) {
 340 		free(m->lastpos);
 341 		m->lastpos = NULL;
 697 		assert(m->lastpos != NULL)
 [all...]
 | 
| /frameworks/compile/mclinker/lib/LD/ | 
| GNUArchiveReader.cpp | 375     pArchive.inputs().insert(parent->lastPos, *(parent->move), *member); 379     parent->move->move(parent->lastPos);
 389       pArchive.addObjectMember(pFileOffset, parent->lastPos);
 399           member->name(), parent->lastPos, &InputTree::Downward);
 
 | 
| /external/llvm/utils/FileCheck/ | 
| FileCheck.cpp | [all...] | 
| /frameworks/base/core/java/android/widget/ | 
| AbsListView.java | [all...] | 
| /external/llvm/tools/bugpoint/ | 
| ToolRunner.cpp | 397   std::string::size_type lastPos = CommandLine.find_first_not_of(delimiters, 0); 398   std::string::size_type pos = CommandLine.find_first_of(delimiters, lastPos);
 400   while (std::string::npos != pos || std::string::npos != lastPos) {
 401     std::string token = CommandLine.substr(lastPos, pos - lastPos);
 407     lastPos = CommandLine.find_first_not_of(delimiters, pos);
 409     pos = CommandLine.find_first_of(delimiters, lastPos);
 [all...]
 | 
| /external/protobuf/java/core/src/main/java/com/google/protobuf/ | 
| CodedInputStream.java | 287     private int lastPos = bufferPos; 295       byteArrayStream.write(buffer, lastPos, bufferPos - lastPos);
 296       lastPos = 0;
 305         return ByteBuffer.wrap(buffer, lastPos, bufferPos - lastPos);
 307         byteArrayStream.write(buffer, lastPos, bufferPos);
 [all...]
 | 
| /external/swiftshader/third_party/LLVM/tools/bugpoint/ | 
| ToolRunner.cpp | 384   std::string::size_type lastPos = CommandLine.find_first_not_of(delimiters, 0); 385   std::string::size_type pos = CommandLine.find_first_of(delimiters, lastPos);
 387   while (std::string::npos != pos || std::string::npos != lastPos) {
 388     std::string token = CommandLine.substr(lastPos, pos - lastPos);
 394     lastPos = CommandLine.find_first_not_of(delimiters, pos);
 396     pos = CommandLine.find_first_of(delimiters, lastPos);
 [all...]
 | 
| /frameworks/base/services/core/java/com/android/server/am/ | 
| AppErrors.java | 243                         int lastPos = 0; 247                                 pw.write(info.stack, lastPos, pos-lastPos);
 249                                 lastPos = pos+1;
 252                         if (lastPos < info.stack.length()) {
 254                             pw.write(info.stack, lastPos, info.stack.length()-lastPos);
 [all...]
 | 
| ProcessStatsService.java | 417         int lastPos = 0; 424             if (lastPos == 0) {
 431             if (lastPos < (i-1)) {
 432                 String str = arg.substring(lastPos, i);
 445             lastPos = i + 1;
 [all...]
 | 
| /frameworks/compile/mclinker/include/mcld/LD/ | 
| Archive.h | 78     InputTree::iterator lastPos; 
 | 
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ | 
| tarfile.py | [all...] |