/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
CacheStrategy.java | 161 CacheStrategy candidate = getCandidate(); local 163 if (candidate.networkRequest != null && request.cacheControl().onlyIfCached()) { 168 return candidate;
|
/external/v8/tools/clang/plugins/ |
ChromeClassTester.cpp | 306 const std::string& candidate) { 309 return candidate; 323 return GetNamespaceImpl(context->getParent(), candidate);
|
/external/webrtc/webrtc/libjingle/xmllite/ |
xmlnsstack.cc | 146 std::string candidate(AsciiLower(ns.substr(first, last - first))); 147 if (candidate.find("xml") != 0) 148 return candidate;
|
/external/webrtc/webrtc/p2p/base/ |
dtlstransportchannel.h | 190 void AddRemoteCandidate(const Candidate& candidate) override { 191 channel_->AddRemoteCandidate(candidate); 215 void OnCandidateGathered(TransportChannelImpl* channel, const Candidate& c); 217 void OnRouteChange(TransportChannel* channel, const Candidate& candidate);
|
p2ptransportchannel.h | 12 // two P2P clients. Clients have candidate ports for connecting, and 14 // Bob each have candidates, one candidate from Alice and one candidate from 26 #include "webrtc/p2p/base/candidate.h" 51 // Adds the port on which the candidate originated. 52 class RemoteCandidate : public Candidate { 54 RemoteCandidate(const Candidate& c, PortInterface* origin_port) 55 : Candidate(c), origin_port_(origin_port) {} 90 void AddRemoteCandidate(const Candidate& candidate) override [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
FolderWatcher.java | 198 final Folder candidate = mInboxMap.get(uri); local 199 if (candidate != null) { 200 return candidate;
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageCache.java | 514 * @param candidate - Bitmap to check 516 * @return true if <code>candidate</code> can be used for inBitmap re-use with 521 Bitmap candidate, BitmapFactory.Options targetOptions) { 525 return candidate.getWidth() == targetOptions.outWidth 526 && candidate.getHeight() == targetOptions.outHeight 531 // is smaller than the reusable bitmap candidate allocation byte count. 534 int byteCount = width * height * getBytesPerPixel(candidate.getConfig()); 535 return byteCount <= candidate.getAllocationByteCount();
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageCache.java | 514 * @param candidate - Bitmap to check 516 * @return true if <code>candidate</code> can be used for inBitmap re-use with 521 Bitmap candidate, BitmapFactory.Options targetOptions) { 525 return candidate.getWidth() == targetOptions.outWidth 526 && candidate.getHeight() == targetOptions.outHeight 531 // is smaller than the reusable bitmap candidate allocation byte count. 534 int byteCount = width * height * getBytesPerPixel(candidate.getConfig()); 535 return byteCount <= candidate.getAllocationByteCount();
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
ImageCache.java | 514 * @param candidate - Bitmap to check 516 * @return true if <code>candidate</code> can be used for inBitmap re-use with 521 Bitmap candidate, BitmapFactory.Options targetOptions) { 525 return candidate.getWidth() == targetOptions.outWidth 526 && candidate.getHeight() == targetOptions.outHeight 531 // is smaller than the reusable bitmap candidate allocation byte count. 534 int byteCount = width * height * getBytesPerPixel(candidate.getConfig()); 535 return byteCount <= candidate.getAllocationByteCount();
|
/packages/apps/TV/src/com/android/tv/dvr/ |
InputTaskScheduler.java | 58 // The candidate comparator should be the consistent with 362 RecordingTask candidate = null; local 366 if (candidate == null || CANDIDATE_COMPARATOR.compare(candidate, task) > 0) { 367 candidate = task; 371 return candidate;
|
DvrScheduleManager.java | 76 // The candidate comparator should be the consistent with 859 ScheduledRecording candidate = findReplaceableRecording(recordings, schedule); local 936 ScheduledRecording candidate = null; local [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
OpenWnnEngineJAJP.java | 127 /** The candidate filter */ 195 * Get a candidate. 197 * @param index Index of a candidate. 198 * @return The candidate; {@code null} if there is no candidate. 264 * Add a candidate to the conversion result buffer. 267 * the same one in the buffer and the length of the candidate 274 if (word.candidate == null || mCandTable.containsKey(word.candidate) 275 || word.candidate.length() > MAX_OUTPUT_LENGTH) [all...] |
/external/v8/src/heap/ |
mark-compact.cc | 686 // candidate, or not: 919 JSFunction* candidate = jsfunction_candidates_head_; local 921 while (candidate != NULL) { 922 next_candidate = GetNextCandidate(candidate); 923 ClearNextCandidate(candidate, undefined); 925 SharedFunctionInfo* shared = candidate->shared(); 940 candidate->set_code(lazy_compile); 943 candidate->set_code(code); 948 Address slot = candidate->address() + JSFunction::kCodeEntryOffset; 951 candidate, slot, target) 968 SharedFunctionInfo* candidate = shared_function_info_candidates_head_; local 1011 SharedFunctionInfo* candidate = shared_function_info_candidates_head_; local 1049 JSFunction* candidate = jsfunction_candidates_head_; local 1076 JSFunction* candidate = jsfunction_candidates_head_; local 2743 DependentCode* candidate = map->dependent_code(); local [all...] |
mark-compact.h | 219 static inline JSFunction** GetNextCandidateSlot(JSFunction* candidate); 220 static inline JSFunction* GetNextCandidate(JSFunction* candidate); 221 static inline void SetNextCandidate(JSFunction* candidate, 223 static inline void ClearNextCandidate(JSFunction* candidate, 227 SharedFunctionInfo* candidate); 228 static inline void SetNextCandidate(SharedFunctionInfo* candidate, 230 static inline void ClearNextCandidate(SharedFunctionInfo* candidate);
|
/external/guava/guava/src/com/google/common/collect/ |
TreeRangeMap.java | 451 RangeMapEntry<K, V> candidate = null; 457 candidate = entry.getValue(); 460 candidate = entriesByLowerBound.get(r.lowerBound); 463 if (candidate != null && candidate.getKey().isConnected(subRange) 464 && candidate.getKey().intersection(subRange).equals(r)) { 465 return candidate.getValue();
|
/external/netperf/src/ |
netserver.c | 1215 SOCKET high_fd, candidate; local 1252 candidate = 0; 1253 while ((num_ready) && (candidate <= high_fd)) { 1254 if (FD_ISSET(candidate,&read_fds)) { 1255 accept_connection(candidate); 1256 FD_CLR(candidate,&read_fds); 1260 candidate++; [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
CameraSettings.java | 102 for (String candidate : context.getResources().getStringArray( 104 if (setCameraPictureSize(candidate, supported, parameters)) { 107 editor.putString(KEY_PICTURE_SIZE, candidate); 121 String candidate, List<Size> supported, Parameters parameters) { 122 int index = candidate.indexOf('x'); 124 int width = Integer.parseInt(candidate.substring(0, index)); 125 int height = Integer.parseInt(candidate.substring(index + 1));
|
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
PhoneNumberMatcherTest.java | 41 String candidate = "1/05/2013"; local 42 assertTrue(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); 49 candidate = "27/4/2013"; 50 assertTrue(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); 56 candidate = "49/69/2013"; 57 assertFalse(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); 62 candidate = "+49/69/2013"; 63 assertFalse(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); 65 candidate = "+ 49/69/2013"; 66 assertFalse(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
AppWindowToken.java | 462 WindowState candidate = null; local 475 candidate = win; 481 return candidate; 986 final WindowState candidate = mChildren.get(i); local 1005 final WindowState candidate = mChildren.get(i); local 1575 WindowState candidate = null; local [all...] |
/external/webrtc/talk/app/webrtc/ |
webrtcsdp_unittest.cc | 50 using cricket::Candidate; 79 typedef std::vector<Candidate> Candidates; 143 "a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1234 typ host " 145 "a=candidate:a0+B/1 2 udp 2130706432 192.168.1.5 1235 typ host " 147 "a=candidate:a0+B/2 1 udp 2130706432 ::1 1238 typ host " 149 "a=candidate:a0+B/2 2 udp 2130706432 ::1 1239 typ host " 151 "a=candidate:a0+B/3 1 udp 2130706432 74.125.127.126 2345 typ srflx " 154 "a=candidate:a0+B/3 2 udp 2130706432 74.125.127.126 2347 typ srflx " 179 "a=candidate:a0+B/1 2 udp 2130706432 192.168.1.5 1236 typ host " 181 "a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1237 typ host [all...] |
webrtcsession.cc | 98 const cricket::Candidate& local, 99 const cricket::Candidate& remote) { 1693 const IceCandidateInterface* candidate = candidates->at(n); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasViewInfo.java | [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
TextCandidatesViewManager.java | 78 /** Delay of set candidate */ 87 /** Handler for focus Candidate */ 89 /** Handler for set Candidate */ 91 /** Handler for select Candidate */ 94 /** NUmber of Candidate display lines */ 125 /** Minimum width of a candidate (density support) */ 127 /** Maximum width of a candidate (density support) */ 129 /** Minimum height of the category candidate view */ 131 /** Left align threshold of the candidate view */ 142 /** Whether hide the view if there is no candidate */ [all...] |
/external/webrtc/talk/app/webrtc/java/testcommon/src/org/webrtc/ |
PeerConnectionTest.java | 108 public synchronized void onIceCandidate(IceCandidate candidate) { 115 gotIceCandidates.add(candidate); 393 // 1 candidate have been gathered. 665 // Wait for at least one ice candidate from the offering PC and forward them to the answering 667 for (IceCandidate candidate : offeringExpectations.getAtLeastOneIceCandidate()) { 668 answeringPC.addIceCandidate(candidate); 671 // Wait for at least one ice candidate from the answering PC and forward them to the offering 673 for (IceCandidate candidate : answeringExpectations.getAtLeastOneIceCandidate()) { 674 offeringPC.addIceCandidate(candidate);
|
/external/webrtc/talk/app/webrtc/objc/ |
RTCPeerConnection.mm | 148 - (BOOL)addICECandidate:(RTCICECandidate*)candidate { 150 candidate.candidate);
|