Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 46) sorted by relevance

12

/packages/experimental/procstatlog/
Dprocstatreport.py411 for num, interface in enumerate(sorted(interface_rx.keys())):
418 os.path.join(files_dir, "net%d.csv" % num))
421 "id": cgi.escape("net%d" % num),
422 "id_js": json.write("net%d" % num),
428 "filename_js": json.write("%s/net%d.csv" % (files_url, num)),
464 for num, (partition, ops) in enumerate(sorted(partition_ops.iteritems())):
471 os.path.join(files_dir, "yaffs%d.csv" % num))
476 "id": cgi.escape("yaffs%d" % num),
477 "id_js": json.write("yaffs%d" % num),
479 "filename_js": json.write("%s/yaffs%d.csv" % (files_url, num)),
[all …]
Dprocstatlog.c125 int num = 0; in read_lines() local
128 line != NULL && num < stats_count; in read_lines()
143 struct data *data = &stats[num++]; in read_lines()
155 return num; in read_lines()
174 int num = 0, device_len = 0; in read_proc_yaffs() local
177 line != NULL && num < stats_count; in read_proc_yaffs()
193 struct data *data = &stats[num++]; in read_proc_yaffs()
206 return num; in read_proc_yaffs()
/packages/apps/Nfc/nci/jni/
DRoutingManager.cpp49 unsigned long num = 0; in RoutingManager() local
52 if (GetNumValue("ACTIVE_SE", &num, sizeof(num))) in RoutingManager()
53 mActiveSe = num; in RoutingManager()
58 if (GetNumValue("DEFAULT_ISODEP_ROUTE", &num, sizeof(num))) in RoutingManager()
59 mDefaultEe = num; in RoutingManager()
66 if (GetNumValue("DEFAULT_OFFHOST_ROUTE", &num, sizeof(num))) in RoutingManager()
67 mOffHostEe = num; in RoutingManager()
71 if (GetNumValue("AID_MATCHING_MODE", &num, sizeof(num))) in RoutingManager()
72 mAidMatchingMode = num; in RoutingManager()
DNativeNfcManager.cpp840 unsigned long num = 0; in nfcManager_doInitialize() local
854 num = initializeGlobalAppLogLevel (); in nfcManager_doInitialize()
855 CE_SetTraceLevel (num); in nfcManager_doInitialize()
856 LLCP_SetTraceLevel (num); in nfcManager_doInitialize()
857 NFC_SetTraceLevel (num); in nfcManager_doInitialize()
858 RW_SetTraceLevel (num); in nfcManager_doInitialize()
859 NFA_SetTraceLevel (num); in nfcManager_doInitialize()
860 NFA_P2pSetTraceLevel (num); in nfcManager_doInitialize()
883 if (GetNumValue(NAME_POLLING_TECH_MASK, &num, sizeof(num))) in nfcManager_doInitialize()
884 nat->tech_mask = num; in nfcManager_doInitialize()
[all …]
DRouteDataSet.cpp44 unsigned int num = 0; in AidBuffer() local
53 num = 0; in AidBuffer()
56 sscanf (aid.substr(pos1).c_str(), "%x", &num); in AidBuffer()
57 mBuffer [mBufferLen] = (UINT8) num; in AidBuffer()
63 sscanf (aid.substr(pos1, pos2-pos1+1).c_str(), "%x", &num); in AidBuffer()
64 mBuffer [mBufferLen] = (UINT8) num; in AidBuffer()
DPeerToPeer.cpp114 unsigned long num = 0; in initialize() local
116 if (GetNumValue ("P2P_LISTEN_TECH_MASK", &num, sizeof (num))) in initialize()
117 mP2pListenTechMask = num; in initialize()
1119 unsigned long num = 0; in resetP2pListenMask() local
1124 if (GetNumValue ("P2P_LISTEN_TECH_MASK", &num, sizeof (num))) in resetP2pListenMask()
1125 mP2pListenTechMask = num; in resetP2pListenMask()
DPowerSwitch.cpp100 unsigned long num = 0; in initialize() local
105 if (GetNumValue (NAME_SCREEN_OFF_POWER_STATE, &num, sizeof(num))) in initialize()
106 mDesiredScreenOffPowerState = (int) num; in initialize()
DNfcTag.cpp93 long num = 0; in initialize() local
103 if (GetNumValue(NAME_PRESENCE_CHECK_ALGORITHM, &num, sizeof(num))) in initialize()
104 mPresenceCheckAlgorithm = num; in initialize()
/packages/apps/FMRadio/jni/fmr/
Dcommon.cpp342 int COM_get_cqi(int fd, int num, char *buf, int buf_len) in COM_get_cqi() argument
348 num = (num > CQI_CH_NUM_MAX) ? CQI_CH_NUM_MAX : num; in COM_get_cqi()
349 num = (num < CQI_CH_NUM_MIN) ? CQI_CH_NUM_MIN : num; in COM_get_cqi()
350 cqi_req.ch_num = (uint16_t)num; in COM_get_cqi()
/packages/apps/Exchange/src/com/android/exchange/utility/
DCalendarUtilities.java288 int num = getWord(bytes, offset + MSFT_SYSTEMTIME_YEAR); in getTimeZoneDateFromSystemTime() local
289 tzd.year = Integer.toString(num); in getTimeZoneDateFromSystemTime()
293 num = getWord(bytes, offset + MSFT_SYSTEMTIME_MONTH); in getTimeZoneDateFromSystemTime()
294 if (num == 0) { in getTimeZoneDateFromSystemTime()
297 tzd.month = num -1; in getTimeZoneDateFromSystemTime()
304 num = getWord(bytes, offset + MSFT_SYSTEMTIME_DAY); in getTimeZoneDateFromSystemTime()
306 if (num == 5) { in getTimeZoneDateFromSystemTime()
309 tzd.day = num; in getTimeZoneDateFromSystemTime()
928 static String formatTwo(int num) { in formatTwo() argument
929 if (num <= 12) { in formatTwo()
[all …]
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DCommandRecognizerEngine.java922 private static String formatNumber(String num) { in formatNumber() argument
925 fmt = formatNumber(mPlusFormats, num); in formatNumber()
928 fmt = formatNumber(mNanpFormats, num); in formatNumber()
977 String num = formatNumber(commands[1]); in onRecognitionSuccess() local
978 if (num != null) { in onRecognitionSuccess()
980 literal.split(" ")[0].trim() + " " + num, "", 0); in onRecognitionSuccess()
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DCallLogFragmentTest.java449 private void insertRandomEntries(int num) { in insertRandomEntries() argument
450 if (num < 10) { in insertRandomEntries()
454 privateOrUnknownOrVm = insertRandomRange(0, num - 2); in insertRandomEntries()
457 insertRandomRange(num - 2, num); in insertRandomEntries()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DJJTAddressListParserState.java88 void closeNodeScope(Node n, int num) { in closeNodeScope() argument
90 while (num-- > 0) { in closeNodeScope()
93 n.jjtAddChild(c, num); in closeNodeScope()
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/
DAudioCapture.java115 public int[] getFormattedData(int num, int den) { in getFormattedData() argument
122 mFormattedVizData[i] = (tmp * num) / den; in getFormattedData()
127 mFormattedVizData[i] = ((int)mRawVizData[i] * num) / den; in getFormattedData()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java474 for (int num = originalList.size() - 1; num >= 0; num--) { in performInstanceExpansion()
475 ContentValues originalValues = originalList.get(num); in performInstanceExpansion()
479 originalList.remove(num); in performInstanceExpansion()
/packages/apps/Music/src/com/android/music/
DCreatePlaylist.java131 int num = 1; in makePlaylistName() local
147 suggestedname = String.format(template, num++); in makePlaylistName()
161 suggestedname = String.format(template, num++); in makePlaylistName()
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowActivity.java102 int num = layoutChildren.getLength(); in isMMSConformance() local
103 if (num <= 0) { in isMMSConformance()
107 for (int i = 0; i < num; i++) { in isMMSConformance()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DParser.java296 int num; in getValueInt() local
298 num = Integer.parseInt(val); in getValueInt()
302 return num; in getValueInt()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DComposingText.java334 public void replaceStrSegment(int layer, StrSegment[] str, int num) { in replaceStrSegment() argument
336 replaceStrSegment0(layer, str, cursor - num, cursor - 1); in replaceStrSegment()
337 setCursor(layer, cursor + str.length - num); in replaceStrSegment()
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DCSite.h58 inline void setNumNeighbors(int num) { numNeighbors = num; } in setNumNeighbors() argument
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DCSite.h58 inline void setNumNeighbors(int num) { numNeighbors = num; } in setNumNeighbors() argument
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DContactHeaderWidget.java187 int num = (int) now & 0xf; in ContactHeaderWidget() local
188 if (num < 9) { in ContactHeaderWidget()
191 } else if (num < 14) { in ContactHeaderWidget()
/packages/services/Telephony/tests/src/com/android/phone/
DCnapTest.java50 String num = modifyForSpecialCnapCases("ABSENT NUMBER", PRESENTATION_ALLOWED); in testAbsentNumberIsMappedToUnknown() local
51 assertIsUnknown(num); in testAbsentNumberIsMappedToUnknown()
/packages/apps/Camera2/src/com/android/camera/one/
DOneCamera.java261 private void checkRequired(int num) { in checkRequired() argument
262 if (num == Integer.MIN_VALUE) { in checkRequired()
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
DRecurrencePickerDialog.java354 static public boolean isSupportedMonthlyByNthDayOfWeek(int num) { in isSupportedMonthlyByNthDayOfWeek() argument
357 return (num > 0 && num <= FIFTH_WEEK_IN_A_MONTH) || num == LAST_NTH_DAY_OF_WEEK; in isSupportedMonthlyByNthDayOfWeek()

12