/external/clang/test/Index/ |
complete-type-factors.m | 7 enum Priority { 13 enum Priority func2(int); 15 enum Priority test1(enum Priority priority, enum Color color, int integer) { 18 return priority; 26 + (void)method:(enum Color)color priority:(enum Priority)priority; 27 - (void)method:(enum Color)color priority:(enum Priority)priority [all...] |
/frameworks/volley/tests/src/com/android/volley/ |
RequestTest.java | 21 import com.android.volley.Request.Priority; 34 TestRequest low = new TestRequest(Priority.LOW); 36 TestRequest low2 = new TestRequest(Priority.LOW); 38 TestRequest high = new TestRequest(Priority.HIGH); 40 TestRequest immediate = new TestRequest(Priority.IMMEDIATE); 52 private Priority mPriority = Priority.NORMAL; 53 public TestRequest(Priority priority) { 55 mPriority = priority; [all...] |
RequestQueueTest.java | 19 import com.android.volley.Request.Priority; 54 Request.Priority[] allPriorities = Request.Priority.values(); 60 Request.Priority priority = allPriorities[random.nextInt(allPriorities.length)]; local 62 request.setPriority(priority); 136 private Priority mLastPriority = Priority.IMMEDIATE; 155 Priority thisPriority = request.getPriority(); 160 // Should never experience a higher priority after a lower priorit [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
ModuleUtils.h | 25 /// Append F to the list of global ctors of module M with the given Priority. 29 void appendToGlobalCtors(Module &M, Function *F, int Priority); 32 void appendToGlobalDtors(Module &M, Function *F, int Priority);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
RenderScriptTest.java | 57 mRS.setPriority(RenderScript.Priority.LOW); 58 mRS.setPriority(RenderScript.Priority.NORMAL); 63 * Verify Priority enum properties. 66 assertEquals(RenderScript.Priority.LOW, 67 RenderScript.Priority.valueOf("LOW")); 68 assertEquals(RenderScript.Priority.NORMAL, 69 RenderScript.Priority.valueOf("NORMAL")); 70 assertEquals(2, RenderScript.Priority.values().length);
|
/external/chromium_org/net/spdy/ |
spdy_priority_forest.h | 24 // there can be multiple lists, with each list root having its own priority. 29 // The NodeId and Priority types must be POD that support comparison (most 31 template <typename NodeId, typename Priority> 43 // Add a new root node to the forest, with the given priority. Returns true 45 bool AddRootNode(NodeId node_id, Priority priority); 56 // Get the priority of the given node. If the node doesn't exist, or is not 57 // a root node (and thus has no priority), returns Priority(). 58 Priority GetPriority(NodeId node_id) const 120 Priority priority; \/\/ used for root nodes member in union:net::SpdyPriorityForest::Node::__anon11418 [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
PriorityParser.java | 33 * Parser for Priority header. 48 * @param priority the header to parse 50 public PriorityParser(String priority) { 51 super(priority); 64 * @return SIPHeader (Priority object) 71 Priority priority = new Priority(); local 73 headerName(TokenTypes.PRIORITY); 75 priority.setHeaderName(SIPHeaderNames.PRIORITY) [all...] |
/external/chromium_org/net/base/ |
prioritized_dispatcher.h | 15 // A priority-based dispatcher of jobs. Dispatch order is by priority (highest 21 // non-thread-safe PriorityQueue. All operations are O(p) time for p priority 28 typedef PriorityQueue<Job*>::Priority Priority; 32 // for at most 30 running jobs in total. Jobs at priority 0 can't use slots 35 // jobs at priority 1 or below can start. After one more job starts, no jobs 36 // at priority 2 or below can start, since the remaining 5 slots are reserved 37 // for priority 3 or above. 39 Limits(Priority num_priorities, size_t total_jobs) [all...] |
priority_queue.h | 22 // A simple priority queue. The order of values is by priority and then FIFO. 24 // from the queue, and all operations are O(p) time for p priority levels. 25 // The queue is agnostic to priority ordering (whether 0 precedes 1). 26 // If the highest priority is 0, FirstMin() returns the first in order. 42 typedef uint32 Priority; 73 Priority priority() const { return priority_; } function in class:net::PriorityQueue::Pointer 98 static const Priority kNullPriority = static_cast<Priority>(-1) [all...] |
prioritized_dispatcher.cc | 11 PrioritizedDispatcher::Limits::Limits(Priority num_priorities, 37 Job* job, Priority priority) { 39 DCHECK_LT(priority, num_priorities()); 40 if (num_running_jobs_ < max_running_jobs_[priority]) { 45 return queue_.Insert(job, priority); 62 const Handle& handle, Priority priority) { 64 DCHECK_LT(priority, num_priorities()); 65 DCHECK_GE(num_running_jobs_, max_running_jobs_[handle.priority()]) << [all...] |
priority_queue_unittest.cc | 12 typedef PriorityQueue<int>::Priority Priority; 13 const Priority kPriorities[] = { 2, 1, 2, 0, 4, 3, 1, 4, 0 }; 14 const Priority kNumPriorities = 5; // max(kPriorities) + 1 48 EXPECT_EQ(kPriorities[i], pointers_[i].priority());
|
/external/llvm/lib/Transforms/Utils/ |
ModuleUtils.cpp | 24 Module &M, Function *F, int Priority) { 31 Ty, IRB.getInt32(Priority), F, NULL); 59 void llvm::appendToGlobalCtors(Module &M, Function *F, int Priority) { 60 appendToGlobalArray("llvm.global_ctors", M, F, Priority); 63 void llvm::appendToGlobalDtors(Module &M, Function *F, int Priority) { 64 appendToGlobalArray("llvm.global_dtors", M, F, Priority);
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
Priority.java | 35 * the Priority header. 43 public class Priority extends SIPHeader implements PriorityHeader { 65 /** priority field 67 protected String priority; field in class:Priority 71 public Priority() { 80 return priority; 84 * get the priority value. 88 return priority; 92 * Set the priority member 99 + "Priority, setPriority(), the priority parameter is null") [all...] |
/external/chromium_org/third_party/WebKit/public/platform/ |
WebURLLoader.h | 68 // Notifies the loader that the priority of a WebURLRequest has changed from 70 // priority, but may increase when the resource is needed for rendering. 71 virtual void didChangePriority(WebURLRequest::Priority newPriority) { }
|
WebURLRequest.h | 59 enum Priority { 193 WEBKIT_EXPORT Priority priority() const;
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
RenderScriptThunker.java | 38 public void setPriority(Priority p) { 40 if (p == Priority.LOW) mN.setPriority(android.renderscript.RenderScript.Priority.LOW); 41 if (p == Priority.NORMAL) mN.setPriority(android.renderscript.RenderScript.Priority.NORMAL);
|
/external/clang/include/clang/Sema/ |
CodeCompleteConsumer.h | 29 /// \brief Default priority values for code-completion results based 32 /// \brief Priority for the next initialization in a constructor initializer 35 /// \brief Priority for an enumeration constant inside a switch whose 38 /// \brief Priority for a send-to-super completion. 40 /// \brief Priority for a declaration that is in the local scope. 42 /// \brief Priority for a member declaration found from the current 45 /// \brief Priority for a language keyword (that isn't any of the other 48 /// \brief Priority for a code pattern. 50 /// \brief Priority for a non-type declaration. 52 /// \brief Priority for a type [all...] |
/external/chromium_org/net/quic/ |
quic_utils.h | 18 enum Priority { 31 // FindMutualTag sets |out_result| to the first tag in the priority list that 35 // Which list has priority is determined by |priority|. 42 Priority priority,
|
/frameworks/volley/src/com/android/volley/toolbox/ |
ClearCacheRequest.java | 58 public Priority getPriority() { 59 return Priority.IMMEDIATE;
|
/external/llvm/include/llvm/Target/ |
TargetLoweringObjectFile.h | 131 getStaticCtorSection(unsigned Priority = 65535) const { 132 (void)Priority; 136 getStaticDtorSection(unsigned Priority = 65535) const { 137 (void)Priority;
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
MockRequest.java | 84 private Priority mPriority = super.getPriority(); 86 public void setPriority(Priority priority) { 87 mPriority = priority; 91 public Priority getPriority() {
|
WaitableQueue.java | 59 public Priority getPriority() { 60 return Priority.LOW;
|
/external/chromium_org/net/cookies/ |
parsed_cookie_unittest.cc | 72 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); 76 ParsedCookie pc("BLAHHH; Path=/; sECuRe; httpONLY; pRIoRitY=hIgH"); 84 EXPECT_EQ(COOKIE_PRIORITY_HIGH, pc.Priority()); 96 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); 105 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); 114 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); 125 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); 138 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); 152 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); 167 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); [all...] |
/external/chromium_org/webkit/child/ |
weburlloader_impl.h | 34 virtual void didChangePriority(WebKit::WebURLRequest::Priority new_priority);
|
/frameworks/volley/src/com/android/volley/ |
Request.java | 430 * Priority values. Requests will be processed from higher priorities to 433 public enum Priority { 441 * Returns the {@link Priority} of this request; {@link Priority#NORMAL} by default. 443 public Priority getPriority() { 444 return Priority.NORMAL; 522 * Our comparator sorts from high to low priority, and secondarily by 527 Priority left = this.getPriority(); 528 Priority right = other.getPriority(); 530 // High-priority requests are "lesser" so they are sorted to the front [all...] |