Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 60) sorted by relevance

123

/packages/services/Telephony/src/org/apache/james/mime4j/decoder/
DDecoderUtil.java170 int begin = body.indexOf("=?", previousEnd); in decodeEncodedWords() local
175 if (begin == -1) { in decodeEncodedWords()
178 int qm1 = body.indexOf('?', begin + 2); in decodeEncodedWords()
192 String sep = body.substring(previousEnd, begin); in decodeEncodedWords()
194 String decoded = decodeEncodedWord(body, begin, end); in decodeEncodedWords()
197 sb.append(body.substring(begin, end)); in decodeEncodedWords()
217 public static String decodeEncodedWord(String body, int begin, int end) { in decodeEncodedWord() argument
219 int qm1 = body.indexOf('?', begin + 2); in decodeEncodedWord()
227 String mimeCharset = body.substring(begin + 2, qm1); in decodeEncodedWord()
235 + body.substring(begin, end) + "' doesn't have a " in decodeEncodedWord()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
DDecoderUtil.java170 int begin = body.indexOf("=?", previousEnd); in decodeEncodedWords() local
175 if (begin == -1) { in decodeEncodedWords()
178 int qm1 = body.indexOf('?', begin + 2); in decodeEncodedWords()
192 String sep = body.substring(previousEnd, begin); in decodeEncodedWords()
194 String decoded = decodeEncodedWord(body, begin, end); in decodeEncodedWords()
197 sb.append(body.substring(begin, end)); in decodeEncodedWords()
217 public static String decodeEncodedWord(String body, int begin, int end) { in decodeEncodedWord() argument
219 int qm1 = body.indexOf('?', begin + 2); in decodeEncodedWord()
227 String mimeCharset = body.substring(begin + 2, qm1); in decodeEncodedWord()
235 + body.substring(begin, end) + "' doesn't have a " in decodeEncodedWord()
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DMetaData.java170 public void write(String timezone, long begin, long end, int startDay, int endDay) { in write() argument
174 writeLocked(timezone, begin, end); in write()
194 public void writeLocked(String timezone, long begin, long end) { in writeLocked() argument
198 values.put(CalendarMetaData.MIN_INSTANCE, begin); in writeLocked()
214 mFields.minInstance = begin; in writeLocked()
DCalendarInstancesHelper.java159 protected void performInstanceExpansion(long begin, long end, String localTimezone, in performInstanceExpansion() argument
330 dates = rp.expand(eventTime, recur, begin, end); in performInstanceExpansion()
386 if ((dtendMillis < begin) || (dtstartMillis > end)) { in performInstanceExpansion()
530 protected void expandInstanceRangeLocked(long begin, long end, String localTimezone) { in expandInstanceRangeLocked() argument
537 Log.v(TAG, "Expanding events between " + begin + " and " + end); in expandInstanceRangeLocked()
540 Cursor entries = getEntries(begin, end); in expandInstanceRangeLocked()
542 performInstanceExpansion(begin, end, localTimezone, entries); in expandInstanceRangeLocked()
560 private Cursor getEntries(long begin, long end) { in getEntries() argument
565 String beginString = String.valueOf(begin); in getEntries()
589 String.valueOf(begin - MAX_ASSUMED_DURATION), in getEntries()
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java303 long begin; field in CalendarProvider2Test.DumpInstances
309 begin = time.toMillis(false /* use isDst */); in DumpInstances()
315 Cursor cursor = queryInstances(begin, end); in execute()
327 long begin; field in CalendarProvider2Test.QueryNumInstances
333 begin = time.toMillis(false /* use isDst */); in QueryNumInstances()
340 Cursor cursor = queryInstances(begin, end); in execute()
355 long begin; field in CalendarProvider2Test.VerifyAllInstances
361 begin = time.toMillis(false /* use isDst */); in VerifyAllInstances()
380 Cursor cursor = queryInstances(begin, end); in execute()
396 long begin = cursor.getLong(beginColumn); in execute() local
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dbiginteger.h224 void AppendDecimal64(const char* begin, const char* end) { in AppendDecimal64() argument
225 uint64_t u = ParseUint64(begin, end); in AppendDecimal64()
229 unsigned exp = static_cast<unsigned>(end - begin); in AppendDecimal64()
239 static uint64_t ParseUint64(const char* begin, const char* end) { in ParseUint64() argument
241 for (const char* p = begin; p != end; ++p) { in ParseUint64()
/packages/apps/Calendar/src/com/android/calendar/
DDeleteEventHelper.java209 public void delete(long begin, long end, long eventId, int which) { in delete() argument
213 mStartMillis = begin; in delete()
218 public void delete(long begin, long end, long eventId, int which, Runnable callback) { in delete() argument
219 delete(begin, end, eventId, which); in delete()
257 public void delete(long begin, long end, CalendarEventModel model, int which) { in delete() argument
259 mStartMillis = begin; in delete()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dint_array_view.h88 AK_FORCE_INLINE const int *begin() const { in begin() function
97 return std::find(begin(), end(), value) != end(); in contains()
133 return std::vector<int>(begin(), end()); in toVector()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Dmisctest.cpp783 char* begin = ss.PutBegin(); in itoa_Writer_InsituStringStreamVerify() local
786 ss.PutEnd(begin); in itoa_Writer_InsituStringStreamVerify()
818 char* begin = ss.PutBegin(); in itoa_Writer_InsituStringStream() local
820 length += ss.PutEnd(begin); in itoa_Writer_InsituStringStream()
850 char* begin = ss.PutBegin(); in itoa64_Writer_InsituStringStreamVerify() local
853 ss.PutEnd(begin); in itoa64_Writer_InsituStringStreamVerify()
885 char* begin = ss.PutBegin(); in itoa64_Writer_InsituStringStream() local
887 length += ss.PutEnd(begin); in itoa64_Writer_InsituStringStream()
/packages/apps/Nfc/nci/jni/extns/pn54x/src/utils/
DphNxpConfig.cpp565 for (const_iterator it = begin (), itEnd = end (); it != itEnd; ++it) in find()
603 for (iterator it = begin (), itEnd = end (); it != itEnd; ++it) in clean()
625 …for (list<const CNxpNfcParam*>::iterator it = m_list.begin (), itEnd = m_list.end (); it != itEnd;… in add()
650 …for (list<const CNxpNfcParam*>::iterator it = m_list.begin (), itEnd = m_list.end (); it != itEnd;… in moveFromList()
670 for (iterator it = begin (), itEnd = end (); it != itEnd; ++it) in moveToList()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaListView.java184 long startTime = item.begin; in onItemClick()
235 mDeleteEventHelper.delete(agendaItem.begin, agendaItem.end, agendaItem.id, -1); in deleteSelectedEvent()
257 return item.begin; in getSelectedTime()
274 t.set(agendaItem.begin); in getFirstVisibleTime()
350 if (agendaItem.id == id && agendaItem.begin == milliTime) { in isAgendaItemVisible()
DAgendaAdapter.java192 long begin = cursor.getLong(AgendaWindowAdapter.INDEX_BEGIN); in bindView() local
209 whenString = DateUtils.formatDateRange(context, mFormatter, begin, end, flags, tzString) in bindView()
215 date.set(begin); in bindView()
DAgendaWindowAdapter.java302 long begin; field in AgendaWindowAdapter.AgendaItem
632 agendaItem.begin = cursor.getLong(AgendaWindowAdapter.INDEX_BEGIN); in buildAgendaItemFromCursor()
638 time.setJulianDay(Time.getJulianDay(agendaItem.begin, 0)); in buildAgendaItemFromCursor()
639 agendaItem.begin = time.toMillis(false /* use isDst */); in buildAgendaItemFromCursor()
642 time.set(agendaItem.begin); in buildAgendaItemFromCursor()
646 agendaItem.begin = time.toMillis(false /* use isDst */); in buildAgendaItemFromCursor()
668 startTime = Utils.convertAlldayLocalToUTC(null, item.begin, mTimeZone); in sendViewEvent()
671 startTime = item.begin; in sendViewEvent()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Drapidjson.h619 size_t PutEnd(Ch* begin) { return static_cast<size_t>(dst_ - begin); }
622 Ch* Push(size_t count) { Ch* begin = dst_; dst_ += count; return begin; }
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlarmSchedulerTest.java65 public EventInfo(long eventId, boolean allDay, long begin, int reminderMinutes) { in EventInfo() argument
68 mBegin = begin; in EventInfo()
78 void addEventInfo(long eventId, boolean allDay, long begin, int reminderMinutes) { in addEventInfo() argument
79 mEvents.add(new EventInfo(eventId, allDay, begin, reminderMinutes)); in addEventInfo()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventActivity.java138 long begin = intent.getLongExtra(EXTRA_EVENT_BEGIN_TIME, -1); in getEventInfoFromIntent() local
147 if (begin != -1) { in getEventInfoFromIntent()
152 info.startTime.set(begin); in getEventInfoFromIntent()
/packages/services/Car/tests/libvehiclenetwork-native-test/
DVehicleHalMock.h65 auto l = mProperties->getList().begin(); in isTheSameProperties()
66 auto r = list->getList().begin(); in isTheSameProperties()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertUtils.java202 public static ContentValues makeContentValues(long eventId, long begin, long end,
206 values.put(CalendarAlerts.BEGIN, begin);
218 public static Intent buildEventViewIntent(Context c, long eventId, long begin, long end) {
224 i.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, begin);
DAlarmScheduler.java202 long begin = instancesCursor.getLong(INSTANCES_INDEX_BEGIN); in queryNextReminderAndSchedule() local
207 localStartTime = Utils.convertAlldayUtcToLocal(timeObj, begin, in queryNextReminderAndSchedule()
210 localStartTime = begin; in queryNextReminderAndSchedule()
/packages/apps/Nfc/nci/jni/
DRouteDataSet.cpp146 for (it = mDefaultRouteDatabase.begin(); it != mDefaultRouteDatabase.end(); it++) in deleteDatabase()
150 for (it = mSecElemRouteDatabase.begin(); it != mSecElemRouteDatabase.end(); it++) in deleteDatabase()
523 for (Database::iterator iter = db->begin(); iter != db->end(); iter++) in printDiagnostic()
545 for (Database::iterator iter2 = db->begin(); iter2 != db->end(); iter2++) in printDiagnostic()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DInCallOrientationEventListener.java136 private static boolean isWithinRange(int value, int begin, int end) { in isWithinRange() argument
137 return value >= begin && value < end; in isWithinRange()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/serialize/
Dserialize.cpp122 …for (std::vector<Dependent>::const_iterator dependentItr = dependents_.begin(); dependentItr != de… in Serialize()
150 …for (std::vector<Employee>::const_iterator employeeItr = employees.begin(); employeeItr != employe… in main()
/packages/services/Car/libvehiclenetwork/native/
DVehicleNetwork.cpp74 auto itr = mEvents.begin(); in doHandleHalEvents()
89 auto itr = mHalErrors.begin(); in doHandleHalError()
106 auto itr = mHalRestartEvents.begin(); in doHandleHalRestart()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java291 private void runAnimation(float begin, float end) { in runAnimation() argument
295 if (begin == end) { in runAnimation()
300 mFilmstripAnimator.setFloatValues(begin, end); in runAnimation()
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java176 private Object[] getRow(int allDay, long begin, long end, String title, String location, in getRow() argument
180 row[CalendarAppWidgetService.INDEX_BEGIN] = new Long(begin); in getRow()

123