/external/mesa3d/src/gallium/state_trackers/clover/core/ |
timestamp.hpp | 35 /// Emit a timestamp query that is executed asynchronously by 38 class query { class in namespace:clover::timestamp 40 query(command_queue &q); 41 query(query &&other); 42 ~query(); 44 query &operator=(const query &) = delete; 47 /// Retrieve the query results. 64 /// Retrieve the query results [all...] |
timestamp.cpp | 30 timestamp::query::query(command_queue &q) : function in class:timestamp::query 36 timestamp::query::query(query &&other) : function in class:timestamp::query 42 timestamp::query::~query() { 48 timestamp::query::operator()() const {
|
/external/clang/test/Sema/ |
memset-invalid-1.c | 11 incomplete query = 0; local 12 memset(query, 0, sizeof(query)); // expected-warning {{'memset' call operates on objects of type 'struct __incomplete' while the size is based on a different type 'incomplete'}} \
|
/external/clang/test/CodeGenCXX/ |
2008-05-07-CrazyOffsetOf.cpp | 6 char * query; member in struct:bork 8 int offset = (char *) &(((struct bork *) 0x10)->query) - (char *) 0x10;
|
/art/tools/ahat/src/test/com/android/ahat/ |
QueryTest.java | 29 Query query = new Query(new URI(uri)); local 30 assertEquals("bar", query.get("foo", "not found")); 31 assertEquals("42", query.get("answer", "not found")); 32 assertEquals(42, query.getLong("answer", 0)); 33 assertEquals(42, query.getInt("answer", 0)); 34 assertEquals("not found", query.get("bar", "not found")); 35 assertEquals("really not found", query.get("bar", "really not found")); 36 assertEquals(0, query.getLong("bar", 0)) 49 Query query = new Query(new URI(uri)); local 63 Query query = new Query(new URI(uri)); local [all...] |
/frameworks/support/content/src/androidTest/java/androidx/contentpager/content/ |
TestQueryRunner.java | 28 // if false, we'll skip calling through to the mCallback when query is called 33 private final Set<Query> mRunning = new HashSet<>(); 36 public void query(Query query, Callback callback) { method in class:TestQueryRunner 38 callback.onQueryFinished(query, callback.runQueryInBackground(query)); 40 mRunning.add(query); 45 public boolean isRunning(Query query) { [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen6_queryobj.c | 30 * Support for query objects (GL_ARB_occlusion_query, GL_ARB_timer_query, 43 set_query_availability(struct brw_context *brw, struct brw_query_object *query, 47 * query availability for "pipelined" queries. 62 brw_is_query_pipelined(query)) { 65 query->bo, 2 * sizeof(uint64_t), 156 * Wait on the query object's BO and calculate the final result. 160 struct brw_query_object *query) 164 if (query->bo == NULL) 167 brw_bo_map(brw, query->bo, false, "query object") 268 struct brw_query_object *query = (struct brw_query_object *)q; local 348 struct brw_query_object *query = (struct brw_query_object *)q; local 424 struct brw_query_object *query = (struct brw_query_object *)q; local 444 struct brw_query_object *query = (struct brw_query_object *)q; local 470 struct brw_query_object *query = (struct brw_query_object *)q; local [all...] |
brw_queryobj.c | 30 * Support for query objects (GL_ARB_occlusion_query, GL_ARB_timer_query, 84 * Wait on the query object's BO and calculate the final result. 88 struct brw_query_object *query) 97 if (query->bo == NULL) 100 /* If the application has requested the query result, but this batch is 104 if (drm_intel_bo_references(brw->batch.bo, query->bo)) 108 if (drm_intel_bo_busy(query->bo)) { 109 perf_debug("Stalling on the GPU waiting for a query object.\n"); 113 drm_intel_bo_map(query->bo, false); 114 results = query->bo->virtual 177 struct brw_query_object *query; local 195 struct brw_query_object *query = (struct brw_query_object *)q; local 211 struct brw_query_object *query = (struct brw_query_object *)q; local 282 struct brw_query_object *query = (struct brw_query_object *)q; local 335 struct brw_query_object *query = (struct brw_query_object *)q; local 352 struct brw_query_object *query = (struct brw_query_object *)q; local 424 struct brw_query_object *query = brw->query.obj; local 451 struct brw_query_object *query = brw->query.obj; local 476 struct brw_query_object *query = (struct brw_query_object *) q; local [all...] |
/external/wpa_supplicant_8/src/ap/ |
gas_query_ap.c | 2 * Generic advertisement service (GAS) query (hostapd) 25 /** GAS query timeout in seconds */ 28 /* GAS query wait-time / duration in ms */ 33 * struct gas_query_pending - Pending GAS query 59 * struct gas_query_ap - Internal GAS query data 73 struct gas_query_pending *query); 88 * gas_query_ap_init - Initialize GAS query component 90 * Returns: Pointer to GAS query data or %NULL on failure 130 static void gas_query_free(struct gas_query_pending *query, int del_list) 133 dl_list_del(&query->list) 168 struct gas_query_pending *query, *next; local 209 struct gas_query_pending *query; local 308 struct gas_query_pending *query = user_ctx; local 337 struct gas_query_pending *query = user_ctx; local 469 struct gas_query_pending *query; local 603 struct gas_query_pending *query = user_ctx; local 682 struct gas_query_pending *query; local [all...] |
/external/mesa3d/src/gallium/winsys/svga/drm/ |
vmw_query.c | 43 struct svga_winsys_gb_query *query; local 45 query = CALLOC_STRUCT(svga_winsys_gb_query); 46 if (!query) 52 query->buf = vmw_svga_winsys_buffer_wrap(pb_buf); 54 if (!query->buf) { 56 FREE(query); 57 query = NULL; 60 return query; 67 struct svga_winsys_gb_query *query) 69 vmw_svga_winsys_buffer_destroy(sws, query->buf) [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_queryobj.c | 37 struct radeon_query_object *query = (struct radeon_query_object *)q; local 42 "%s: query id %d, result %d\n", 43 __func__, query->Base.Id, (int) query->Base.Result); 45 radeon_bo_map(query->bo, GL_FALSE); 46 result = query->bo->ptr; 48 query->Base.Result = 0; 49 for (i = 0; i < query->curr_offset/sizeof(uint32_t); ++i) { 50 query->Base.Result += LE32_TO_CPU(result[i]); 54 radeon_bo_unmap(query->bo) 59 struct radeon_query_object *query; local 75 struct radeon_query_object *query = (struct radeon_query_object *)q; local 89 struct radeon_query_object *query = (struct radeon_query_object *)q; local 106 struct radeon_query_object *query = (struct radeon_query_object *)q; local 129 struct radeon_query_object *query = radeon->query.current; local 166 struct radeon_query_object *query = (struct radeon_query_object *)q; local 196 struct radeon_query_object *query = radeon->query.current; local [all...] |
radeon_queryobj.h | 44 radeon->query.queryobj.cmd_size = (SZ); 45 radeon->query.queryobj.cmd = calloc(SZ, sizeof(uint32_t)); 46 radeon->query.queryobj.name = "queryobj"; 47 radeon->query.queryobj.idx = 0; 48 radeon->query.queryobj.check = radeon_check_query_active; 49 radeon->query.queryobj.dirty = GL_FALSE; 50 radeon->query.queryobj.emit = radeon_emit_queryobj; 53 insert_at_tail(&radeon->hw.atomlist, &radeon->query.queryobj);
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_query.c | 39 unsigned query; member in struct:i915_query 46 struct i915_query *query = CALLOC_STRUCT( i915_query ); local 48 return (struct pipe_query *)query; 52 struct pipe_query *query) 54 FREE(query); 58 struct pipe_query *query) 63 static bool i915_end_query(struct pipe_context *ctx, struct pipe_query *query) 69 struct pipe_query *query,
|
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_query.c | 28 * but the spec allows you to expose 0 query counter bits, so we just return 0 41 struct vc4_query *query = calloc(1, sizeof(*query)); local 44 return (struct pipe_query *)query; 48 vc4_destroy_query(struct pipe_context *ctx, struct pipe_query *query) 50 free(query); 54 vc4_begin_query(struct pipe_context *ctx, struct pipe_query *query) 60 vc4_end_query(struct pipe_context *ctx, struct pipe_query *query) 66 vc4_get_query_result(struct pipe_context *ctx, struct pipe_query *query,
|
/external/mesa3d/src/gallium/drivers/virgl/ |
virgl_query.c | 52 struct virgl_query *query = virgl_query(q); local 55 handle = query->handle; 63 struct virgl_query *query; local 66 query = CALLOC_STRUCT(virgl_query); 67 if (!query) 70 query->buf = (struct virgl_resource *)pipe_buffer_create(ctx->screen, PIPE_BIND_CUSTOM, 72 if (!query->buf) { 73 FREE(query); 78 query->type = query_type; 79 query->index = index 91 struct virgl_query *query = virgl_query(q); local 103 struct virgl_query *query = virgl_query(q); local 114 struct virgl_query *query = virgl_query(q); local 133 struct virgl_query *query = virgl_query(q); local [all...] |
/system/netd/server/dns/ |
IDnsTlsSocket.h | 33 // This interface is not aware of query-response pairing or anything else about DNS. 37 // Send a query on the provided SSL socket. |query| contains 38 // the body of a query, not including the ID bytes. This function will typically return before 39 // the query is actually sent. If this function fails, the observer will be 42 virtual bool query(uint16_t id, const netdutils::Slice query) = 0;
|
DnsTlsQueryMap.h | 39 struct Query { 40 // The new ID number assigned to this query. 42 // A query that has been passed to recordQuery(), with its original ID number. 43 const Slice query; member in struct:android::net::DnsTlsQueryMap::Query 50 QueryFuture(Query query, std::future<Result> result) : 51 query(query), result(std::move(result)) {} 52 Query query; member in struct:android::net::DnsTlsQueryMap::QueryFuture 84 Query query; member in struct:android::net::DnsTlsQueryMap::QueryPromise [all...] |
/frameworks/support/content/src/main/java/androidx/contentpager/content/ |
LoaderQueryRunner.java | 51 public void query(final @NonNull Query query, @NonNull final Callback callback) { method in class:LoaderQueryRunner 52 if (DEBUG) Log.d(TAG, "Handling query: " + query); 57 if (DEBUG) Log.i(TAG, "Loading results for query: " + query); 58 checkArgument(id == query.getId(), "Id doesn't match query id."); 63 return callback.runQueryInBackground(query); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
gas_query.c | 2 * Generic advertisement service (GAS) query 26 /** GAS query timeout in seconds */ 29 /* GAS query wait-time / duration in ms */ 34 * struct gas_query_pending - Pending GAS query 60 * struct gas_query - Internal GAS query data 77 struct gas_query_pending *query); 92 * gas_query_init - Initialize GAS query component 94 * Returns: Pointer to GAS query data or %NULL on failure 132 static void gas_query_free(struct gas_query_pending *query, int del_list) 134 struct gas_query *gas = query->gas 179 struct gas_query_pending *query, *next; local 223 struct gas_query_pending *query; local 350 struct gas_query_pending *query = user_ctx; local 379 struct gas_query_pending *query = user_ctx; local 518 struct gas_query_pending *query; local 652 struct gas_query_pending *query = user_ctx; local 677 struct gas_query_pending *query = work->ctx; local 813 struct gas_query_pending *query; local [all...] |
/frameworks/support/room/runtime/src/test/java/androidx/room/ |
RoomSQLiteQueryTest.java | 46 RoomSQLiteQuery query = RoomSQLiteQuery.acquire("abc", 3); local 47 assertThat(query.getSql(), is("abc")); 48 assertThat(query.mArgCount, is(3)); 49 assertThat(query.mBlobBindings.length, is(4)); 50 assertThat(query.mLongBindings.length, is(4)); 51 assertThat(query.mStringBindings.length, is(4)); 52 assertThat(query.mDoubleBindings.length, is(4)); 57 RoomSQLiteQuery query = RoomSQLiteQuery.acquire("abc", 3); local 58 query.release(); 59 assertThat(RoomSQLiteQuery.acquire("blah", 3), sameInstance(query)); 64 RoomSQLiteQuery query = RoomSQLiteQuery.acquire("abc", 3); local 70 RoomSQLiteQuery query = RoomSQLiteQuery.acquire("abc", 6); local 108 RoomSQLiteQuery query = RoomSQLiteQuery.acquire("abc", 3); local 115 RoomSQLiteQuery query = RoomSQLiteQuery.acquire("abc", 3); local [all...] |
/frameworks/support/persistence/db/src/test/java/androidx/sqlite/db/ |
SimpleSQLiteQueryTestTest.java | 34 SimpleSQLiteQuery query = new SimpleSQLiteQuery("foo"); local 35 assertThat(query.getSql(), is("foo")); 40 SimpleSQLiteQuery query = new SimpleSQLiteQuery("foo"); local 42 query.bindTo(program); 49 SimpleSQLiteQuery query = new SimpleSQLiteQuery("foo", local 52 query.bindTo(program); 64 SimpleSQLiteQuery query = new SimpleSQLiteQuery("foo", local 66 assertThat(query.getArgCount(), is(3)); 71 SimpleSQLiteQuery query = new SimpleSQLiteQuery("foo"); local 72 assertThat(query.getArgCount(), is(0)) [all...] |
/libcore/ojluni/src/main/java/java/time/temporal/ |
TemporalAccessor.java | 84 * These can be accessed via {@linkplain #query(TemporalQuery) queries} using 164 * @param field the field to query the range for, not null 260 * This queries this date-time using the specified query strategy object. 265 * Examples might be a query that checks if the date is the day before February 29th 268 * The most common query implementations are method references, such as 275 * if (query == TemporalQueries.zoneId() || 276 * query == TemporalQueries.chronology() || query == TemporalQueries.precision()) { 279 * return query.queryFrom(this); 284 * {@code TemporalAccessor.super.query(query)}. JDK classes may avoid callin 308 default <R> R query(TemporalQuery<R> query) { method in interface:TemporalAccessor [all...] |
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/savedqueries/ |
SavedQueryPayload.java | 25 * {@link ResultPayload} for saved query. 29 public final String query; field in class:SavedQueryPayload 31 public SavedQueryPayload(String query) { 33 this.query = query; 39 query = in.readString(); 54 dest.writeString(query);
|
/bionic/libc/dns/include/ |
resolv_cache.h | 45 RESOLV_CACHE_NOTFOUND, /* the cache doesn't know about this query */ 52 const void* query, 58 /* add a (query,answer) to the cache, only call if _resolv_cache_lookup 64 const void* query, 73 const void* query,
|
/bionic/libc/dns/resolv/ |
res_debug.h | 25 # define DprintQ(cond, args, query, size) /*empty*/ 30 # define DprintQ(cond, args, query, size) if (cond) {\ 32 res_pquery(statp, query, size, stdout);\
|