/kernel/linux/linux-6.6/drivers/soc/amlogic/ |
H A D | meson-canvas.c | 38 u8 used[NUM_CANVAS]; member 100 if (!canvas->used[canvas_index]) { in meson_canvas_config() 138 if (!canvas->used[i]) { in meson_canvas_alloc() 139 canvas->used[i] = 1; in meson_canvas_alloc() 157 if (!canvas->used[canvas_index]) { in meson_canvas_free() 163 canvas->used[canvas_index] = 0; in meson_canvas_free()
|
/third_party/python/Tools/scripts/ |
H A D | generate_opcode_h.py | 87 used = [ False ] * 256 91 used[op] = True 96 while used[next_op]: 100 used[next_op] = True 103 used[255] = True 164 for i, flag in enumerate(used):
|
/third_party/skia/tests/ |
H A D | PathOpsLineIntersectionTest.cpp | 89 for (int i = 0; i < ts.used(); ++i) { in check_results() 96 REPORTER_ASSERT(reporter, ts.used() != 1); in check_results() 115 REPORTER_ASSERT(reporter, pts == i.used()); in testOne() 158 REPORTER_ASSERT(reporter, pts == i.used()); in testOneCoincident() 169 REPORTER_ASSERT(reporter, pts == ts.used()); in testOneCoincident() 178 REPORTER_ASSERT(reporter, pts == ts.used()); in testOneCoincident() 187 REPORTER_ASSERT(reporter, pts == ts.used()); in testOneCoincident() 196 REPORTER_ASSERT(reporter, pts == ts.used()); in testOneCoincident() 220 REPORTER_ASSERT(reporter, pts == ts.used()); in DEF_TEST()
|
/third_party/mesa3d/src/gallium/winsys/i915/drm/ |
H A D | i915_drm_batchbuffer.c | 166 unsigned used; in i915_drm_batchbuffer_flush() local 172 used = batch->base.ptr - batch->base.map; in i915_drm_batchbuffer_flush() 173 if (used & 4) { in i915_drm_batchbuffer_flush() 176 used += 4; in i915_drm_batchbuffer_flush() 180 ret = drm_intel_bo_subdata(batch->bo, 0, used, batch->base.map); in i915_drm_batchbuffer_flush() 182 ret = drm_intel_bo_exec(batch->bo, used, NULL, 0, 0); in i915_drm_batchbuffer_flush() 195 fwrite(batch->base.map, used, 1, file); in i915_drm_batchbuffer_flush()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_batch.h | 80 unsigned used; member 131 /** The amount of aperture space (in bytes) used by all exec_bos */ 155 * batchbuffer and would need flushing before being used from another 161 * Set of struct brw_bo * that have been used as a depth buffer within 162 * this batchbuffer and would need flushing before being used from 215 unsigned used, unsigned new_size); 234 unsigned used = crocus_batch_bytes_used(batch); in crocus_require_command_space() local 237 } else if (used + size >= batch->command.bo->size) { in crocus_require_command_space() 242 crocus_grow_buffer(batch, false, used, new_size); in crocus_require_command_space() 243 batch->command.map_next = (void *)batch->command.map + used; in crocus_require_command_space() [all...] |
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | dmaengine.h | 4 * part of the API to be used by DMA engine users. 63 * @state: dma_tx_state structure to return last/used cookies 71 dma_cookie_t used, complete; in dma_cookie_status() local 73 used = chan->cookie; in dma_cookie_status() 78 state->used = used; in dma_cookie_status() 82 return dma_async_is_complete(cookie, complete, used); in dma_cookie_status()
|
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | dmaengine.h | 4 * part of the API to be used by DMA engine users. 63 * @state: dma_tx_state structure to return last/used cookies 71 dma_cookie_t used, complete; in dma_cookie_status() local 73 used = chan->cookie; in dma_cookie_status() 78 state->used = used; in dma_cookie_status() 82 return dma_async_is_complete(cookie, complete, used); in dma_cookie_status()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | scs.c | 133 unsigned long *p, prev, curr = highest, used = 0; in scs_check_usage() local 141 used += sizeof(*p); in scs_check_usage() 144 while (used > curr) { in scs_check_usage() 145 prev = cmpxchg_relaxed(&highest, curr, used); in scs_check_usage() 149 tsk->comm, task_pid_nr(tsk), used); in scs_check_usage()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/nx-gzip/ |
H A D | gunz_test.c | 13 * Definitions of acronyms used here. See 72 #define fifo_used_bytes(used) (used) 73 #define fifo_free_bytes(used, len) ((len)-(used)) 75 #define fifo_free_first_bytes(cur, used, len) ((((cur)+(used)) <= (len)) \ 76 ? (len)-((cur)+(used)) : 0) 77 #define fifo_free_last_bytes(cur, used, len) ((((cur)+(used)) < [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | space-info.c | 34 * 3) btrfs_calc*_size. These are the worst case calculations we used based 315 * space is actually usable. For raid56, the space info used in calc_available_free_space() 339 u64 used; in btrfs_can_overcommit() local 345 used = btrfs_space_info_used(space_info, true); in btrfs_can_overcommit() 348 if (used + bytes < space_info->total_bytes + avail) in btrfs_can_overcommit() 379 u64 used = btrfs_space_info_used(space_info, true); in btrfs_try_granting_tickets() local 384 if ((used + ticket->bytes <= space_info->total_bytes) || in btrfs_try_granting_tickets() 426 "space_info total=%llu, used=%llu, pinned=%llu, reserved=%llu, may_use=%llu, readonly=%llu", in __btrfs_dump_space_info() 458 "block group %llu has %llu bytes, %llu used %llu pinned %llu reserved %s", in btrfs_dump_space_info() 459 cache->start, cache->length, cache->used, cach in btrfs_dump_space_info() 756 u64 used; btrfs_calc_reclaim_metadata_size() local 801 need_do_async_reclaim(struct btrfs_fs_info *fs_info, struct btrfs_space_info *space_info, u64 used) need_do_async_reclaim() argument 1318 u64 used; __reserve_bytes() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/nx-gzip/ |
H A D | gunz_test.c | 13 * Definitions of acronyms used here. See 72 #define fifo_used_bytes(used) (used) 73 #define fifo_free_bytes(used, len) ((len)-(used)) 75 #define fifo_free_first_bytes(cur, used, len) ((((cur)+(used)) <= (len)) \ 76 ? (len)-((cur)+(used)) : 0) 77 #define fifo_free_last_bytes(cur, used, len) ((((cur)+(used)) < [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ |
H A D | static_plugin_decl.h | 34 #define PLUGIN_DATA(NAME) __attribute__((used)) constexpr const CORE_NS::IPlugin NAME##_pluginData 58 __attribute__((visibility("hidden"), used)) CORE_NS::IPlugin const* const NAME##_DATA_ref = NAME##_StaticPlugin; \ 60 extern __attribute__((visibility("hidden"), used, weak)) CORE_NS::IPlugin const* const static_plugin_list_ref = \ 63 extern __attribute__((visibility("hidden"), used, weak)) \
|
/third_party/ltp/libs/libltpnewipc/ |
H A D | libnewipc.c | 53 int used = -1; in get_used_sysvipc() local 59 used++; in get_used_sysvipc() 63 if (used < 0) { in get_used_sysvipc() 64 tst_brk(TBROK, "can't read %s to get used sysvipc resource total at " in get_used_sysvipc() 68 return used; in get_used_sysvipc()
|
/kernel/linux/linux-5.10/sound/oss/dmasound/ |
H A D | dmasound_paula.c | 136 * return the number of bytes they've used from both streams so you may detect 160 ssize_t count, used; in ami_ct_s8() local 165 used = count; in ami_ct_s8() 172 used = count*2; in ami_ct_s8() 180 *frameUsed += used; in ami_ct_s8() 181 return used; in ami_ct_s8() 194 ssize_t count, used; \ 199 used = count; \ 211 used = count*2; \ 223 *frameUsed += used; \ [all...] |
H A D | dmasound_q40.c | 67 ssize_t count, used; in q40_ct_law() local 70 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_law() 78 *frameUsed += used ; in q40_ct_law() 79 return used; in q40_ct_law() 87 ssize_t count, used; in q40_ct_s8() local 90 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_s8() 98 *frameUsed += used; in q40_ct_s8() 99 return used; in q40_ct_s8() 106 ssize_t count, used; in q40_ct_u8() local 109 used in q40_ct_u8() [all...] |
/kernel/linux/linux-6.6/sound/oss/dmasound/ |
H A D | dmasound_paula.c | 136 * return the number of bytes they've used from both streams so you may detect 160 ssize_t count, used; in ami_ct_s8() local 165 used = count; in ami_ct_s8() 172 used = count*2; in ami_ct_s8() 180 *frameUsed += used; in ami_ct_s8() 181 return used; in ami_ct_s8() 194 ssize_t count, used; \ 199 used = count; \ 211 used = count*2; \ 223 *frameUsed += used; \ [all...] |
H A D | dmasound_q40.c | 67 ssize_t count, used; in q40_ct_law() local 70 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_law() 78 *frameUsed += used ; in q40_ct_law() 79 return used; in q40_ct_law() 87 ssize_t count, used; in q40_ct_s8() local 90 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_s8() 98 *frameUsed += used; in q40_ct_s8() 99 return used; in q40_ct_s8() 106 ssize_t count, used; in q40_ct_u8() local 109 used in q40_ct_u8() [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | algif_aead.c | 9 * The following concept of the memory management is used: 58 return ctx->used >= ctx->aead_assoclen + (ctx->enc ? 0 : as); in aead_sufficient_data() 104 size_t used = 0; /* [in] TX bufs to be en/decrypted */ in _aead_recvmsg() local 106 size_t usedpages = 0; /* [in] RX bufs to be used from user */ in _aead_recvmsg() 119 used = ctx->used; in _aead_recvmsg() 142 outlen = used + as; in _aead_recvmsg() 144 outlen = used - as; in _aead_recvmsg() 150 used -= ctx->aead_assoclen; in _aead_recvmsg() 173 if (used < les in _aead_recvmsg() [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | algif_aead.c | 9 * The following concept of the memory management is used: 58 return ctx->used >= ctx->aead_assoclen + (ctx->enc ? 0 : as); in aead_sufficient_data() 104 size_t used = 0; /* [in] TX bufs to be en/decrypted */ in _aead_recvmsg() local 106 size_t usedpages = 0; /* [in] RX bufs to be used from user */ in _aead_recvmsg() 119 used = ctx->used; in _aead_recvmsg() 142 outlen = used + as; in _aead_recvmsg() 144 outlen = used - as; in _aead_recvmsg() 150 used -= ctx->aead_assoclen; in _aead_recvmsg() 173 if (used < les in _aead_recvmsg() [all...] |
/third_party/vulkan-loader/tests/framework/shim/ |
H A D | unix_shim.cpp | 350 __attribute__((used)) static Interposer _interpose_opendir MACOS_ATTRIB = {VOIDP_CAST(my_opendir), VOIDP_CAST(opendir)}; 352 // __attribute__((used)) static Interposer _interpose_readdir MACOS_ATTRIB = {VOIDP_CAST(my_readdir), VOIDP_CAST(readdir)}; 353 __attribute__((used)) static Interposer _interpose_closedir MACOS_ATTRIB = {VOIDP_CAST(my_closedir), VOIDP_CAST(closedir)}; 354 __attribute__((used)) static Interposer _interpose_access MACOS_ATTRIB = {VOIDP_CAST(my_access), VOIDP_CAST(access)}; 355 __attribute__((used)) static Interposer _interpose_fopen MACOS_ATTRIB = {VOIDP_CAST(my_fopen), VOIDP_CAST(fopen)}; 356 __attribute__((used)) static Interposer _interpose_dlopen MACOS_ATTRIB = {VOIDP_CAST(my_dlopen), VOIDP_CAST(dlopen)}; 357 __attribute__((used)) static Interposer _interpose_euid MACOS_ATTRIB = {VOIDP_CAST(my_geteuid), VOIDP_CAST(geteuid)}; 358 __attribute__((used)) static Interposer _interpose_egid MACOS_ATTRIB = {VOIDP_CAST(my_getegid), VOIDP_CAST(getegid)}; 361 __attribute__((used)) static Interposer _interpose_secure_getenv MACOS_ATTRIB = {VOIDP_CAST(my_secure_getenv), 365 __attribute__((used)) stati [all...] |
/third_party/curl/docs/examples/ |
H A D | version-check.pl | 34 # the symbols from that version that are used. 70 my %used; 76 $used{$1}++; 90 my @recent = reverse sort sortversions keys %used;
|
/third_party/node/benchmark/misc/ |
H A D | freelist.js | 18 const used = []; 22 used.push(list.alloc()); 30 list.free(used[j]);
|
/third_party/skia/docs/examples/ |
H A D | TextBlob_serialize.cpp | 14 size_t used = blob->serialize(SkSerialProcs(), storage, sizeof(storage)); in REG_FIDDLE() local 15 sk_sp<SkTextBlob> copy = SkTextBlob::Deserialize(storage, used, SkDeserialProcs()); in REG_FIDDLE() 17 std::string usage = "size=" + std::to_string(sizeof(storage)) + " used=" + std::to_string(used); in REG_FIDDLE()
|
/kernel/linux/linux-5.10/drivers/net/ipa/ |
H A D | gsi_trans.c | 119 pool->addr = 0; /* Only used for DMA pools */ in gsi_trans_pool_init() 240 /* Note: index *must* be used modulo the ring count here */ in gsi_channel_trans_map() 248 /* Note: index *must* be used modulo the ring count here */ in gsi_channel_trans_mapped() 408 u32 which = trans->used++; in gsi_trans_cmd_add() 445 /* assert(!trans->used); */ in gsi_trans_page_add() 452 trans->used++; /* Transaction now owns the (DMA mapped) page */ in gsi_trans_page_add() 457 /* Add an SKB transfer to a transaction. No other TREs will be used. */ 461 u32 used; in gsi_trans_skb_add() local 465 /* assert(!trans->used); */ in gsi_trans_skb_add() 471 used in gsi_trans_skb_add() [all...] |
/third_party/typescript/tests/baselines/reference/tsbuildWatch/reexport/ |
H A D | Reports-errors-correctly.js | 103 /a/lib/lib.d.ts (used version)
105 /user/username/projects/reexport/src/pure/index.ts (used version)
123 /a/lib/lib.d.ts (used version)
124 /user/username/projects/reexport/out/pure/session.d.ts (used version)
125 /user/username/projects/reexport/out/pure/index.d.ts (used version)
126 /user/username/projects/reexport/src/main/index.ts (used version)
307 /user/username/projects/reexport/src/pure/index.ts (used version)
324 /user/username/projects/reexport/out/pure/session.d.ts (used version)
325 /user/username/projects/reexport/out/pure/index.d.ts (used version)
326 /user/username/projects/reexport/src/main/index.ts (used versio [all...] |