Home
last modified time | relevance | path

Searched full:usage (Results 1 – 25 of 9086) sorted by relevance

12345678910>>...364

/external/XNNPACK/test/
Dmemory-planner-test.cc37 EXPECT_EQ(0, tracker.usage[0].first_node); in TEST()
38 EXPECT_EQ(0, tracker.usage[0].last_node); in TEST()
40 EXPECT_EQ(0, tracker.usage[1].first_node); in TEST()
41 EXPECT_EQ(1, tracker.usage[1].last_node); in TEST()
43 EXPECT_EQ(0, tracker.usage[2].first_node); in TEST()
44 EXPECT_EQ(1, tracker.usage[2].last_node); in TEST()
46 EXPECT_EQ(1, tracker.usage[3].first_node); in TEST()
47 EXPECT_EQ(1, tracker.usage[3].last_node); in TEST()
60 tracker.usage[0].first_node = 1, in TEST()
61 tracker.usage[0].last_node = 1, in TEST()
[all …]
/external/rust/crates/clap/3.2.23/src/output/
Dusage.rs11 pub(crate) struct Usage<'help, 'cmd> { struct
16 impl<'help, 'cmd> Usage<'help, 'cmd> { argument
18 Usage { in new()
29 …// Creates a usage string for display. This happens just after all arguments were parsed, but befo…
30 // any subcommands have been parsed (so as to give subcommands their own usage recursively)
32 debug!("Usage::create_usage_with_title"); in create_usage_with_title()
33 let mut usage = String::with_capacity(75); in create_usage_with_title() localVariable
34 usage.push_str("USAGE:\n "); in create_usage_with_title()
35 usage.push_str(&*self.create_usage_no_title(used)); in create_usage_with_title()
36 usage in create_usage_with_title()
[all …]
/external/mesa3d/src/intel/isl/
Disl_aux_info.c106 enum isl_aux_usage usage) in aux_state_possible() argument
111 return info[usage].fast_clear; in aux_state_possible()
113 return info[usage].fast_clear && info[usage].compressed; in aux_state_possible()
115 return info[usage].compressed; in aux_state_possible()
131 enum isl_aux_usage usage, in isl_aux_prepare_access() argument
134 if (usage != ISL_AUX_USAGE_NONE) { in isl_aux_prepare_access()
136 usage == ISL_AUX_USAGE_CCS_D ? ISL_AUX_USAGE_CCS_E : usage; in isl_aux_prepare_access()
139 assert(!fast_clear_supported || info[usage].fast_clear); in isl_aux_prepare_access()
143 if (!info[usage].compressed) in isl_aux_prepare_access()
150 info[usage].partial_resolve ? in isl_aux_prepare_access()
[all …]
/external/minigbm/
Dgbm_helpers.c13 uint64_t gbm_convert_usage(uint32_t usage) in gbm_convert_usage() argument
17 if (usage & GBM_BO_USE_SCANOUT) in gbm_convert_usage()
19 if (usage & GBM_BO_USE_CURSOR) in gbm_convert_usage()
21 if (usage & GBM_BO_USE_CURSOR_64X64) in gbm_convert_usage()
23 if (usage & GBM_BO_USE_RENDERING) in gbm_convert_usage()
25 if (usage & GBM_BO_USE_TEXTURING) in gbm_convert_usage()
27 if (usage & GBM_BO_USE_LINEAR) in gbm_convert_usage()
29 if (usage & GBM_BO_USE_CAMERA_WRITE) in gbm_convert_usage()
31 if (usage & GBM_BO_USE_CAMERA_READ) in gbm_convert_usage()
33 if (usage & GBM_BO_USE_PROTECTED) in gbm_convert_usage()
[all …]
/external/proguard/docs/manual/
Drefcard.html26 <h2>Usage</h2>
40 <td valign="top"><a href="usage.html#at"><code><b>@</b></code></a><a href="usage.html#filename"><i>…
46 <td valign="top"><a href="usage.html#include"><code><b>-include</b></code></a>
47 <a href="usage.html#filename"><i>filename</i></a></td>
53 <td valign="top"><a href="usage.html#basedirectory"><code><b>-basedirectory</b></code></a>
54 <a href="usage.html#filename"><i>directoryname</i></a></td>
60 <td valign="top"><a href="usage.html#injars"><code><b>-injars</b></code></a>
61 <a href="usage.html#classpath"><i>class_path</i></a></td>
66 <td valign="top"><a href="usage.html#outjars"><code><b>-outjars</b></code></a>
67 <a href="usage.html#classpath"><i>class_path</i></a></td>
[all …]
/external/minigbm/cros_gralloc/
Dcros_gralloc_helpers.cc95 uint64_t cros_gralloc_convert_usage(uint64_t usage) in cros_gralloc_convert_usage() argument
103 handle_usage(&usage, GRALLOC_USAGE_SW_READ_OFTEN, &use_flags, BO_USE_SW_READ_OFTEN); in cros_gralloc_convert_usage()
104 handle_usage(&usage, GRALLOC_USAGE_SW_READ_RARELY, &use_flags, BO_USE_SW_READ_RARELY); in cros_gralloc_convert_usage()
105 handle_usage(&usage, GRALLOC_USAGE_SW_WRITE_OFTEN, &use_flags, BO_USE_SW_WRITE_OFTEN); in cros_gralloc_convert_usage()
106 handle_usage(&usage, GRALLOC_USAGE_SW_WRITE_RARELY, &use_flags, BO_USE_SW_WRITE_RARELY); in cros_gralloc_convert_usage()
107 handle_usage(&usage, GRALLOC_USAGE_HW_TEXTURE, &use_flags, BO_USE_TEXTURE); in cros_gralloc_convert_usage()
108 handle_usage(&usage, GRALLOC_USAGE_HW_RENDER, &use_flags, BO_USE_RENDERING); in cros_gralloc_convert_usage()
109 handle_usage(&usage, GRALLOC_USAGE_HW_2D, &use_flags, BO_USE_RENDERING); in cros_gralloc_convert_usage()
111 handle_usage(&usage, GRALLOC_USAGE_HW_COMPOSER, &use_flags, in cros_gralloc_convert_usage()
113 handle_usage(&usage, GRALLOC_USAGE_HW_FB, &use_flags, BO_USE_NONE); in cros_gralloc_convert_usage()
[all …]
/external/strace/tests-m32/
Dgetrusage.c45 invoke_print(int who, const char *who_str, struct rusage *usage) in invoke_print() argument
47 int rc = syscall(__NR_getrusage, who, usage); in invoke_print()
56 (long long) usage->ru_utime.tv_sec, in invoke_print()
57 zero_extend_signed_to_ull(usage->ru_utime.tv_usec), in invoke_print()
58 (long long) usage->ru_stime.tv_sec, in invoke_print()
59 zero_extend_signed_to_ull(usage->ru_stime.tv_usec), in invoke_print()
60 usage->ru_maxrss, usage->ru_ixrss, usage->ru_idrss, in invoke_print()
61 usage->ru_isrss, usage->ru_minflt, usage->ru_majflt, in invoke_print()
62 usage->ru_nswap, usage->ru_inblock, usage->ru_oublock, in invoke_print()
63 usage->ru_msgsnd, usage->ru_msgrcv, usage->ru_nsignals, in invoke_print()
[all …]
/external/strace/tests/
Dgetrusage.c45 invoke_print(int who, const char *who_str, struct rusage *usage) in invoke_print() argument
47 int rc = syscall(__NR_getrusage, who, usage); in invoke_print()
56 (long long) usage->ru_utime.tv_sec, in invoke_print()
57 zero_extend_signed_to_ull(usage->ru_utime.tv_usec), in invoke_print()
58 (long long) usage->ru_stime.tv_sec, in invoke_print()
59 zero_extend_signed_to_ull(usage->ru_stime.tv_usec), in invoke_print()
60 usage->ru_maxrss, usage->ru_ixrss, usage->ru_idrss, in invoke_print()
61 usage->ru_isrss, usage->ru_minflt, usage->ru_majflt, in invoke_print()
62 usage->ru_nswap, usage->ru_inblock, usage->ru_oublock, in invoke_print()
63 usage->ru_msgsnd, usage->ru_msgrcv, usage->ru_nsignals, in invoke_print()
[all …]
/external/strace/tests-mx32/
Dgetrusage.c45 invoke_print(int who, const char *who_str, struct rusage *usage) in invoke_print() argument
47 int rc = syscall(__NR_getrusage, who, usage); in invoke_print()
56 (long long) usage->ru_utime.tv_sec, in invoke_print()
57 zero_extend_signed_to_ull(usage->ru_utime.tv_usec), in invoke_print()
58 (long long) usage->ru_stime.tv_sec, in invoke_print()
59 zero_extend_signed_to_ull(usage->ru_stime.tv_usec), in invoke_print()
60 usage->ru_maxrss, usage->ru_ixrss, usage->ru_idrss, in invoke_print()
61 usage->ru_isrss, usage->ru_minflt, usage->ru_majflt, in invoke_print()
62 usage->ru_nswap, usage->ru_inblock, usage->ru_oublock, in invoke_print()
63 usage->ru_msgsnd, usage->ru_msgrcv, usage->ru_nsignals, in invoke_print()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DOpCodes.java47 * @xsl.usage advanced
61 * @xsl.usage advanced
77 * @xsl.usage advanced
89 * @xsl.usage advanced
101 * @xsl.usage advanced
113 * @xsl.usage advanced
125 * @xsl.usage advanced
137 * @xsl.usage advanced
149 * @xsl.usage advanced
161 * @xsl.usage advanced
[all …]
/external/libchrome/mojo/core/
Dquota_unittest.cc39 uint64_t usage = 0; in TEST_F() local
42 &usage)); in TEST_F()
47 &kInvalidQueryQuotaOptions, &limit, &usage)); in TEST_F()
75 uint64_t usage = 0; in TEST_F() local
78 &limit, &usage)); in TEST_F()
80 EXPECT_EQ(0u, usage); in TEST_F()
89 &limit, &usage)); in TEST_F()
91 EXPECT_EQ(0u, usage); in TEST_F()
99 &limit, &usage)); in TEST_F()
101 EXPECT_EQ(1u, usage); in TEST_F()
[all …]
/external/pigweed/pw_thread/py/
Dthread_analyzer_test.py29 'Est CPU usage: unknown',
31 ' Current usage: 0x???????? - 0x???????? (size unknown)',
32 ' Est peak usage: size unknown',
47 'Est CPU usage: 12.34%',
49 ' Current usage: 0x???????? - 0x???????? (size unknown)',
50 ' Est peak usage: size unknown',
65 'Est CPU usage: unknown',
67 ' Current usage: 0x???????? - 0x5ac6a86c (size unknown)',
68 ' Est peak usage: size unknown',
84 'Est CPU usage: unknown',
[all …]
/external/desugar/java/com/google/devtools/common/options/
DOptionsUsage.java31 /** A renderer for usage messages for any combination of options classes. */
38 * Given an options class, render the usage string into the usage, which is passed in as an
43 static void getUsage(Class<? extends OptionsBase> optionsClass, StringBuilder usage) { in getUsage() argument
49 getUsage(optionDefinition, usage, OptionsParser.HelpVerbosity.LONG, data, false); in getUsage()
106 /** Appends the usage message for a single option-field message to 'usage'. */
109 StringBuilder usage, in getUsage() argument
115 usage.append(" --").append(flagName); in getUsage()
117 usage.append('\n'); in getUsage()
123 usage.append(" [-").append(optionDefinition.getAbbreviation()).append(']'); in getUsage()
126 usage.append(" (").append(typeDescription).append("; "); in getUsage()
[all …]
/external/rust/crates/clap/src/output/
Dusage.rs1 #![cfg_attr(not(feature = "usage"), allow(unused_imports))]
2 #![cfg_attr(not(feature = "usage"), allow(unused_variables))]
3 #![cfg_attr(not(feature = "usage"), allow(clippy::manual_map))]
4 #![cfg_attr(not(feature = "usage"), allow(dead_code))]
16 pub(crate) struct Usage<'cmd> { struct
21 impl<'cmd> Usage<'cmd> { implementation
23 Usage { in new()
34 …// Creates a usage string for display. This happens just after all arguments were parsed, but befo…
35 // any subcommands have been parsed (so as to give subcommands their own usage recursively)
37 debug!("Usage::create_usage_with_title"); in create_usage_with_title()
[all …]
/external/antlr/runtime/Perl5/lib/ANTLR/Runtime/
DBaseRecognizer.pm65 Readonly my $usage => 'void match(IntStream input, int ttype, BitSet follow)';
66 croak $usage if @_ != 4;
86 Readonly my $usage => 'void match_any(IntStream input)';
87 croak $usage if @_ != 2;
122 Readonly my $usage => 'void mismatch(IntStream input, int ttype, BitSet follow)';
123 croak $usage if @_ != 4;
147 Readonly my $usage => 'void report_error(RecognitionException e)';
148 croak $usage if @_ != 2;
162 …Readonly my $usage => 'void display_recognition_error(String[] token_names, RecognitionException e…
163 croak $usage if @_ != 3;
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder_gfx_mem.cpp54 void BuilderGfxMem::AssertGFXMemoryParams(Value* ptr, MEM_CLIENT usage) in AssertGFXMemoryParams() argument
56 SWR_ASSERT(!(ptr->getType() == mInt64Ty && usage == MEM_CLIENT::MEM_CLIENT_INTERNAL), in AssertGFXMemoryParams()
73 MEM_CLIENT usage) in GATHERPS() argument
98 MEM_CLIENT usage) in GATHERDD() argument
112 Value* pDst, Value* vSrc, Value* vOffsets, Value* vMask, MEM_CLIENT usage) in SCATTERPS() argument
121 Builder::SCATTERPS(pDst, BITCAST(vSrc, mSimdFP32Ty), vOffsets, vMask, usage); in SCATTERPS()
219 void BuilderGfxMem::TrackerHelper(Value* Ptr, Type* Ty, MEM_CLIENT usage, bool isRead) in TrackerHelper() argument
259 C((uint32_t)usage)}); in TrackerHelper()
266 LoadInst* BuilderGfxMem::LOAD(Value* Ptr, const char* Name, Type* Ty, MEM_CLIENT usage) in LOAD() argument
268 AssertGFXMemoryParams(Ptr, usage); in LOAD()
[all …]
/external/toybox/android/mac/generated/
Dhelp.h31 #define HELP_toybox "usage: toybox [--long | --help | --version | [COMMAND] [ARGUMENTS...]]\n\nWith…
33 #define HELP_setenforce "usage: setenforce [enforcing|permissive|1|0]\n\nSets whether SELinux is en…
35 #define HELP_sendevent "usage: sendevent DEVICE TYPE CODE VALUE\n\nSends a Linux input event."
37 #define HELP_runcon "usage: runcon CONTEXT COMMAND [ARGS...]\n\nRun a command in a specified securi…
39 #define HELP_restorecon "usage: restorecon [-D] [-F] [-R] [-n] [-v] FILE...\n\nRestores the default…
41 #define HELP_log "usage: log [-p PRI] [-t TAG] [MESSAGE...]\n\nLogs message (or stdin) to logcat.\n…
43 #define HELP_load_policy "usage: load_policy FILE\n\nLoad the specified SELinux policy file."
45 #define HELP_getenforce "usage: getenforce\n\nShows whether SELinux is disabled, enforcing, or perm…
47 #define HELP_skeleton_alias "usage: skeleton_alias [-dq] [-b NUMBER]\n\nExample of a second command…
49 #define HELP_skeleton "usage: skeleton [-a] [-b STRING] [-c NUMBER] [-d LIST] [-e COUNT] [...]\n\nT…
[all …]
/external/toybox/android/linux/generated/
Dhelp.h31 #define HELP_toybox "usage: toybox [--long | --help | --version | [COMMAND] [ARGUMENTS...]]\n\nWith…
33 #define HELP_setenforce "usage: setenforce [enforcing|permissive|1|0]\n\nSets whether SELinux is en…
35 #define HELP_sendevent "usage: sendevent DEVICE TYPE CODE VALUE\n\nSends a Linux input event."
37 #define HELP_runcon "usage: runcon CONTEXT COMMAND [ARGS...]\n\nRun a command in a specified securi…
39 #define HELP_restorecon "usage: restorecon [-D] [-F] [-R] [-n] [-v] FILE...\n\nRestores the default…
41 #define HELP_log "usage: log [-p PRI] [-t TAG] [MESSAGE...]\n\nLogs message (or stdin) to logcat.\n…
43 #define HELP_load_policy "usage: load_policy FILE\n\nLoad the specified SELinux policy file."
45 #define HELP_getenforce "usage: getenforce\n\nShows whether SELinux is disabled, enforcing, or perm…
47 #define HELP_skeleton_alias "usage: skeleton_alias [-dq] [-b NUMBER]\n\nExample of a second command…
49 #define HELP_skeleton "usage: skeleton [-a] [-b STRING] [-c NUMBER] [-d LIST] [-e COUNT] [...]\n\nT…
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer_common.c35 enum radeon_bo_usage usage) in r600_rings_is_buffer_referenced() argument
37 if (ctx->ws->cs_is_buffer_referenced(ctx->gfx.cs, buf, usage)) { in r600_rings_is_buffer_referenced()
41 ctx->ws->cs_is_buffer_referenced(ctx->dma.cs, buf, usage)) { in r600_rings_is_buffer_referenced()
49 unsigned usage) in r600_buffer_map_sync_with_rings() argument
56 if (usage & PIPE_MAP_UNSYNCHRONIZED) { in r600_buffer_map_sync_with_rings()
57 return ctx->ws->buffer_map(resource->buf, NULL, usage); in r600_buffer_map_sync_with_rings()
60 if (!(usage & PIPE_MAP_WRITE)) { in r600_buffer_map_sync_with_rings()
68 if (usage & PIPE_MAP_DONTBLOCK) { in r600_buffer_map_sync_with_rings()
79 if (usage & PIPE_MAP_DONTBLOCK) { in r600_buffer_map_sync_with_rings()
89 if (usage & PIPE_MAP_DONTBLOCK) { in r600_buffer_map_sync_with_rings()
[all …]
/external/toybox/android/device/generated/
Dhelp.h31 #define HELP_toybox "usage: toybox [--long | --help | --version | [COMMAND] [ARGUMENTS...]]\n\nWith…
33 #define HELP_setenforce "usage: setenforce [enforcing|permissive|1|0]\n\nSets whether SELinux is en…
35 #define HELP_sendevent "usage: sendevent DEVICE TYPE CODE VALUE\n\nSends a Linux input event."
37 #define HELP_runcon "usage: runcon CONTEXT COMMAND [ARGS...]\n\nRun a command in a specified securi…
39 #define HELP_restorecon "usage: restorecon [-D] [-F] [-R] [-n] [-v] FILE...\n\nRestores the default…
41 #define HELP_log "usage: log [-p PRI] [-t TAG] [MESSAGE...]\n\nLogs message (or stdin) to logcat.\n…
43 #define HELP_load_policy "usage: load_policy FILE\n\nLoad the specified SELinux policy file."
45 #define HELP_getenforce "usage: getenforce\n\nShows whether SELinux is disabled, enforcing, or perm…
47 #define HELP_skeleton_alias "usage: skeleton_alias [-dq] [-b NUMBER]\n\nExample of a second command…
49 #define HELP_skeleton "usage: skeleton [-a] [-b STRING] [-c NUMBER] [-d LIST] [-e COUNT] [...]\n\nT…
[all …]
/external/icing/icing/store/
Dusage-store.h18 #include "icing/proto/usage.pb.h"
27 // A storage class that maintains scores that are calculated based on usage
32 // used to persist usage scores. If a usage store was previously created with
44 // The scores here reflect the timestamps and usage types defined in
45 // usage.proto.
47 // The latest timestamp in seconds reported with custom usage type 1.
50 // The latest timestamp in seconds reported with custom usage type 2.
53 // The latest timestamp in seconds reported with custom usage type 3.
56 // Count of reports with custom usage type 1
59 // Count of reports with custom usage type 2
[all …]
/external/libchrome/base/debug/
Dthread_heap_usage_tracker_unittest.cc250 ThreadHeapUsage u2 = usage_tracker.usage(); in TEST_F()
280 ThreadHeapUsage u2 = usage_tracker.usage(); in TEST_F()
309 ThreadHeapUsage u2 = usage_tracker.usage(); in TEST_F()
331 ThreadHeapUsage usage = ThreadHeapUsageTracker::GetUsageSnapshot(); in TEST_F() local
332 EXPECT_EQ(1U, usage.alloc_ops); in TEST_F()
333 EXPECT_EQ(kAllocSize, usage.alloc_bytes); in TEST_F()
334 EXPECT_EQ(0U, usage.alloc_overhead_bytes); in TEST_F()
335 EXPECT_EQ(0U, usage.free_ops); in TEST_F()
336 EXPECT_EQ(0U, usage.free_bytes); in TEST_F()
337 EXPECT_EQ(kAllocSize, usage.max_allocated_bytes); in TEST_F()
[all …]
/external/rust/crates/clap/src/error/
Dmod.rs94 let usage = cmd.render_usage_(); in format() localVariable
96 message.format(cmd, usage); in format()
351 usage: Option<StyledStr>, in argument_conflict()
366 if let Some(usage) = usage { in argument_conflict()
368 .insert_context_unchecked(ContextKind::Usage, ContextValue::StyledStr(usage)); in argument_conflict()
379 pub(crate) fn no_equals(cmd: &Command, arg: String, usage: Option<StyledStr>) -> Self { in no_equals()
386 if let Some(usage) = usage { in no_equals()
388 .insert_context_unchecked(ContextKind::Usage, ContextValue::StyledStr(usage)); in no_equals()
430 usage: Option<StyledStr>, in invalid_subcommand()
456 if let Some(usage) = usage { in invalid_subcommand()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DDataUsageController.java19 import static android.app.usage.NetworkStats.Bucket.METERED_YES;
30 import android.app.usage.NetworkStats;
31 import android.app.usage.NetworkStatsManager;
82 Log.w(TAG, "Failed to get data usage, " + msg); in warn()
87 * Get mobile data usage info.
88 * @return DataUsageInfo: The Mobile data usage information.
102 * Get mobile data usage info.
103 * @return DataUsageInfo: The Mobile data usage information.
117 * Get wifi data usage info.
118 * @return DataUsageInfo: The Wifi data usage information.
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_buffer.c34 enum radeon_bo_usage usage) in si_rings_is_buffer_referenced() argument
36 if (sctx->ws->cs_is_buffer_referenced(sctx->gfx_cs, buf, usage)) { in si_rings_is_buffer_referenced()
40 sctx->ws->cs_is_buffer_referenced(sctx->sdma_cs, buf, usage)) { in si_rings_is_buffer_referenced()
47 unsigned usage) in si_buffer_map_sync_with_rings() argument
54 if (usage & PIPE_MAP_UNSYNCHRONIZED) { in si_buffer_map_sync_with_rings()
55 return sctx->ws->buffer_map(resource->buf, NULL, usage); in si_buffer_map_sync_with_rings()
58 if (!(usage & PIPE_MAP_WRITE)) { in si_buffer_map_sync_with_rings()
65 if (usage & PIPE_MAP_DONTBLOCK) { in si_buffer_map_sync_with_rings()
75 if (usage & PIPE_MAP_DONTBLOCK) { in si_buffer_map_sync_with_rings()
85 if (usage & PIPE_MAP_DONTBLOCK) { in si_buffer_map_sync_with_rings()
[all …]

12345678910>>...364