Home
last modified time | relevance | path

Searched refs:usage (Results 1 – 25 of 3712) sorted by relevance

12345678910>>...149

/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/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/desugar/java/com/google/devtools/common/options/
DOptionsUsage.java43 static void getUsage(Class<? extends OptionsBase> optionsClass, StringBuilder usage) { in getUsage() argument
49 getUsage(optionDefinition, usage, OptionsParser.HelpVerbosity.LONG, data, false); in getUsage()
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()
128 usage.append("may be used multiple times"); in getUsage()
133 usage.append("default: see description"); in getUsage()
135 usage.append("default: \"").append(defaultValueString).append("\""); in getUsage()
[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/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/mesa3d/src/gallium/drivers/radeon/
Dr600_buffer_common.c33 enum radeon_bo_usage usage) in si_rings_is_buffer_referenced() argument
35 if (ctx->ws->cs_is_buffer_referenced(ctx->gfx.cs, buf, usage)) { in si_rings_is_buffer_referenced()
39 ctx->ws->cs_is_buffer_referenced(ctx->dma.cs, buf, usage)) { in si_rings_is_buffer_referenced()
47 unsigned usage) in si_buffer_map_sync_with_rings() argument
54 if (usage & PIPE_TRANSFER_UNSYNCHRONIZED) { in si_buffer_map_sync_with_rings()
55 return ctx->ws->buffer_map(resource->buf, NULL, usage); in si_buffer_map_sync_with_rings()
58 if (!(usage & PIPE_TRANSFER_WRITE)) { in si_buffer_map_sync_with_rings()
66 if (usage & PIPE_TRANSFER_DONTBLOCK) { in si_buffer_map_sync_with_rings()
77 if (usage & PIPE_TRANSFER_DONTBLOCK) { in si_buffer_map_sync_with_rings()
87 if (usage & PIPE_TRANSFER_DONTBLOCK) { in si_buffer_map_sync_with_rings()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_screen.c41 unsigned usage) in fd2_screen_is_format_supported() argument
47 !util_format_is_supported(format, usage)) { in fd2_screen_is_format_supported()
49 util_format_name(format), target, sample_count, usage); in fd2_screen_is_format_supported()
54 if ((usage & PIPE_BIND_RENDER_TARGET) && in fd2_screen_is_format_supported()
65 util_format_name(format), target, sample_count, usage); in fd2_screen_is_format_supported()
69 if ((usage & (PIPE_BIND_SAMPLER_VIEW | in fd2_screen_is_format_supported()
72 retval |= usage & (PIPE_BIND_SAMPLER_VIEW | in fd2_screen_is_format_supported()
76 if ((usage & (PIPE_BIND_RENDER_TARGET | in fd2_screen_is_format_supported()
81 retval |= usage & (PIPE_BIND_RENDER_TARGET | in fd2_screen_is_format_supported()
87 if ((usage & PIPE_BIND_DEPTH_STENCIL) && in fd2_screen_is_format_supported()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_screen.c42 unsigned usage) in fd4_screen_is_format_supported() argument
48 !util_format_is_supported(format, usage)) { in fd4_screen_is_format_supported()
50 util_format_name(format), target, sample_count, usage); in fd4_screen_is_format_supported()
54 if ((usage & PIPE_BIND_VERTEX_BUFFER) && in fd4_screen_is_format_supported()
59 if ((usage & PIPE_BIND_SAMPLER_VIEW) && in fd4_screen_is_format_supported()
66 if ((usage & (PIPE_BIND_RENDER_TARGET | in fd4_screen_is_format_supported()
72 retval |= usage & (PIPE_BIND_RENDER_TARGET | in fd4_screen_is_format_supported()
79 if ((usage & PIPE_BIND_RENDER_TARGET) && (format == PIPE_FORMAT_NONE)) { in fd4_screen_is_format_supported()
80 retval |= usage & PIPE_BIND_RENDER_TARGET; in fd4_screen_is_format_supported()
83 if ((usage & PIPE_BIND_DEPTH_STENCIL) && in fd4_screen_is_format_supported()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_screen.c43 unsigned usage) in fd5_screen_is_format_supported() argument
49 !util_format_is_supported(format, usage)) { in fd5_screen_is_format_supported()
51 util_format_name(format), target, sample_count, usage); in fd5_screen_is_format_supported()
55 if ((usage & PIPE_BIND_VERTEX_BUFFER) && in fd5_screen_is_format_supported()
60 if ((usage & PIPE_BIND_SAMPLER_VIEW) && in fd5_screen_is_format_supported()
67 if ((usage & (PIPE_BIND_RENDER_TARGET | in fd5_screen_is_format_supported()
73 retval |= usage & (PIPE_BIND_RENDER_TARGET | in fd5_screen_is_format_supported()
80 if ((usage & PIPE_BIND_RENDER_TARGET) && (format == PIPE_FORMAT_NONE)) { in fd5_screen_is_format_supported()
81 retval |= usage & PIPE_BIND_RENDER_TARGET; in fd5_screen_is_format_supported()
84 if ((usage & PIPE_BIND_DEPTH_STENCIL) && in fd5_screen_is_format_supported()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_screen.c42 unsigned usage) in fd3_screen_is_format_supported() argument
48 !util_format_is_supported(format, usage)) { in fd3_screen_is_format_supported()
50 util_format_name(format), target, sample_count, usage); in fd3_screen_is_format_supported()
54 if ((usage & PIPE_BIND_VERTEX_BUFFER) && in fd3_screen_is_format_supported()
59 if ((usage & PIPE_BIND_SAMPLER_VIEW) && in fd3_screen_is_format_supported()
64 if ((usage & (PIPE_BIND_RENDER_TARGET | in fd3_screen_is_format_supported()
71 retval |= usage & (PIPE_BIND_RENDER_TARGET | in fd3_screen_is_format_supported()
76 retval |= usage & PIPE_BIND_BLENDABLE; in fd3_screen_is_format_supported()
79 if ((usage & PIPE_BIND_DEPTH_STENCIL) && in fd3_screen_is_format_supported()
85 if ((usage & PIPE_BIND_INDEX_BUFFER) && in fd3_screen_is_format_supported()
[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_TRANSFER_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_TRANSFER_WRITE)) { in r600_buffer_map_sync_with_rings()
68 if (usage & PIPE_TRANSFER_DONTBLOCK) { in r600_buffer_map_sync_with_rings()
79 if (usage & PIPE_TRANSFER_DONTBLOCK) { in r600_buffer_map_sync_with_rings()
89 if (usage & PIPE_TRANSFER_DONTBLOCK) { in r600_buffer_map_sync_with_rings()
[all …]
/external/minigbm/cros_gralloc/gralloc0/
Dgralloc0.cc36 static uint64_t gralloc0_convert_usage(int usage) in gralloc0_convert_usage() argument
40 if (usage & GRALLOC_USAGE_CURSOR) in gralloc0_convert_usage()
42 if ((usage & GRALLOC_USAGE_SW_READ_MASK) == GRALLOC_USAGE_SW_READ_RARELY) in gralloc0_convert_usage()
44 if ((usage & GRALLOC_USAGE_SW_READ_MASK) == GRALLOC_USAGE_SW_READ_OFTEN) in gralloc0_convert_usage()
46 if ((usage & GRALLOC_USAGE_SW_WRITE_MASK) == GRALLOC_USAGE_SW_WRITE_RARELY) in gralloc0_convert_usage()
48 if ((usage & GRALLOC_USAGE_SW_WRITE_MASK) == GRALLOC_USAGE_SW_WRITE_OFTEN) in gralloc0_convert_usage()
50 if (usage & GRALLOC_USAGE_HW_TEXTURE) in gralloc0_convert_usage()
52 if (usage & GRALLOC_USAGE_HW_RENDER) in gralloc0_convert_usage()
54 if (usage & GRALLOC_USAGE_HW_2D) in gralloc0_convert_usage()
56 if (usage & GRALLOC_USAGE_HW_COMPOSER) in gralloc0_convert_usage()
[all …]
/external/ltp/testcases/kernel/syscalls/getrusage/
Dgetrusage04.c84 struct rusage usage; in main() local
106 SAFE_GETRUSAGE(cleanup, RUSAGE_THREAD, &usage); in main()
108 usage.ru_utime.tv_usec, usage.ru_stime.tv_usec); in main()
109 ulast = usage.ru_utime.tv_usec; in main()
110 slast = usage.ru_stime.tv_usec; in main()
113 SAFE_GETRUSAGE(cleanup, RUSAGE_THREAD, &usage); in main()
114 udelta = usage.ru_utime.tv_usec - ulast; in main()
115 sdelta = usage.ru_stime.tv_usec - slast; in main()
119 usage.ru_utime.tv_usec, in main()
120 usage.ru_stime.tv_usec); in main()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_transfer.c9 unsigned usage, unsigned offset, in u_default_buffer_subdata() argument
16 assert(!(usage & PIPE_TRANSFER_READ)); in u_default_buffer_subdata()
19 usage |= PIPE_TRANSFER_WRITE; in u_default_buffer_subdata()
23 usage |= PIPE_TRANSFER_DISCARD_WHOLE_RESOURCE; in u_default_buffer_subdata()
25 usage |= PIPE_TRANSFER_DISCARD_RANGE; in u_default_buffer_subdata()
30 map = pipe->transfer_map(pipe, resource, 0, usage, &box, &transfer); in u_default_buffer_subdata()
41 unsigned usage, in u_default_texture_subdata() argument
51 assert(!(usage & PIPE_TRANSFER_READ)); in u_default_texture_subdata()
54 usage |= PIPE_TRANSFER_WRITE; in u_default_texture_subdata()
57 usage |= PIPE_TRANSFER_DISCARD_RANGE; in u_default_texture_subdata()
[all …]
/external/libjpeg-turbo/
Dcjpeg.c153 usage(void) in usage() function
280 usage(); in parse_switches()
288 usage(); in parse_switches()
322 usage(); in parse_switches()
331 usage(); in parse_switches()
333 usage(); in parse_switches()
351 usage(); in parse_switches()
378 usage(); in parse_switches()
384 usage(); in parse_switches()
394 usage(); in parse_switches()
[all …]
Djpegtran.c50 usage(void) in usage() function
114 usage(); in select_transform()
181 usage(); in parse_switches()
189 usage(); in parse_switches()
195 usage(); in parse_switches()
228 usage(); in parse_switches()
234 usage(); in parse_switches()
248 usage(); in parse_switches()
257 usage(); in parse_switches()
259 usage(); in parse_switches()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_decl_sm30.c41 unsigned *usage, in translate_vs_ps_semantic() argument
47 *usage = SVGA3D_DECLUSAGE_POSITION; in translate_vs_ps_semantic()
51 *usage = SVGA3D_DECLUSAGE_COLOR; in translate_vs_ps_semantic()
55 *usage = SVGA3D_DECLUSAGE_COLOR; in translate_vs_ps_semantic()
60 *usage = SVGA3D_DECLUSAGE_TEXCOORD; in translate_vs_ps_semantic()
64 *usage = SVGA3D_DECLUSAGE_PSIZE; in translate_vs_ps_semantic()
69 *usage = SVGA3D_DECLUSAGE_TEXCOORD; in translate_vs_ps_semantic()
73 *usage = SVGA3D_DECLUSAGE_NORMAL; in translate_vs_ps_semantic()
79 *usage = SVGA3D_DECLUSAGE_TEXCOORD; in translate_vs_ps_semantic()
84 *usage = SVGA3D_DECLUSAGE_TEXCOORD; in translate_vs_ps_semantic()
[all …]
/external/e2fsprogs/tests/progs/
Dtest_rel.c146 const char *usage = "Usage: %s name max_blocks\n"; in do_brel_ma_create() local
151 printf(usage, argv[0]); in do_brel_ma_create()
175 const char *usage = "usage: %s old_block new_block [owner] [offset]"; in do_brel_put() local
184 printf(usage, argv[0]); in do_brel_put()
216 const char *usage = "%s block"; in do_brel_get() local
224 printf(usage, argv[0]); in do_brel_get()
306 const char *usage = "%s old_block new_block"; in do_brel_move() local
313 printf(usage, argv[0]); in do_brel_move()
331 const char *usage = "%s block"; in do_brel_delete() local
338 printf(usage, argv[0]); in do_brel_delete()
[all …]
/external/mesa3d/src/intel/isl/
Disl_gen7.c110 if (isl_surf_usage_is_display(info->usage)) in isl_gen7_choose_msaa_layout()
126 if (isl_surf_usage_is_depth_or_stencil(info->usage) || in isl_gen7_choose_msaa_layout()
127 (info->usage & ISL_SURF_USAGE_HIZ_BIT)) in isl_gen7_choose_msaa_layout()
211 if (isl_surf_usage_is_depth(info->usage)) { in isl_gen6_filter_tiling()
219 if (isl_surf_usage_is_stencil(info->usage)) { in isl_gen6_filter_tiling()
235 if (info->usage & (ISL_SURF_USAGE_DISPLAY_ROTATE_90_BIT | in isl_gen6_filter_tiling()
243 if (info->usage & (ISL_SURF_USAGE_DISPLAY_FLIP_X_BIT | in isl_gen6_filter_tiling()
250 if (info->usage & ISL_SURF_USAGE_DISPLAY_BIT) { in isl_gen6_filter_tiling()
277 (info->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) && in isl_gen6_filter_tiling()
313 assert(!isl_surf_usage_is_depth_and_stencil(info->usage)); in isl_gen7_choose_image_alignment_el()
[all …]
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_resource.c30 unsigned usage) in virgl_res_needs_flush_wait() argument
34 …if ((!(usage & PIPE_TRANSFER_UNSYNCHRONIZED)) && vs->vws->res_is_referenced(vs->vws, vctx->cbuf, r… in virgl_res_needs_flush_wait()
42 unsigned usage) in virgl_res_needs_readback() argument
47 else if (usage & PIPE_TRANSFER_DISCARD_RANGE) in virgl_res_needs_readback()
49 else if ((usage & (PIPE_TRANSFER_WRITE | PIPE_TRANSFER_FLUSH_EXPLICIT)) == in virgl_res_needs_readback()
68 unsigned usage) in virgl_resource_from_handle() argument
87 unsigned usage, unsigned offset, in virgl_buffer_subdata() argument
93 usage |= PIPE_TRANSFER_DISCARD_WHOLE_RESOURCE; in virgl_buffer_subdata()
95 usage |= PIPE_TRANSFER_DISCARD_RANGE; in virgl_buffer_subdata()
98 virgl_transfer_inline_write(pipe, resource, 0, usage, &box, data, 0, 0); in virgl_buffer_subdata()
/external/swiftshader/third_party/LLVM/utils/
Dcheck-each-file51 usage () {
71 usage
78 usage
83 usage
88 usage
93 usage
99 usage
104 usage
109 usage
/external/swiftshader/third_party/llvm-7.0/llvm/utils/
Dcheck-each-file51 usage () { function
71 usage
78 usage
83 usage
88 usage
93 usage
99 usage
104 usage
109 usage
/external/llvm/utils/
Dcheck-each-file51 usage () { function
71 usage
78 usage
83 usage
88 usage
93 usage
99 usage
104 usage
109 usage

12345678910>>...149