Home
last modified time | relevance | path

Searched +full:- +full:ac (Results 1 – 25 of 1294) sorted by relevance

12345678910>>...52

/external/mesa3d/src/amd/vulkan/
Dradv_shader_args.c9 * SPDX-License-Identifier: MIT
27 uint8_t remaining_sgprs = user_sgpr_info->remaining_sgprs; in allocate_inline_push_consts()
29 if (!info->inline_push_constant_mask) in allocate_inline_push_consts()
32 uint64_t mask = info->inline_push_constant_mask; in allocate_inline_push_consts()
38 …if (num_push_consts <= MIN2(remaining_sgprs + 1, AC_MAX_INLINE_PUSH_CONSTS) && info->can_inline_al… in allocate_inline_push_consts()
39 !info->loads_dynamic_offsets) { in allocate_inline_push_consts()
40 user_sgpr_info->inlined_all_push_consts = true; in allocate_inline_push_consts()
45 num_push_consts--; in allocate_inline_push_consts()
46 mask &= ~BITFIELD64_BIT(util_last_bit64(mask) - 1); in allocate_inline_push_consts()
50 user_sgpr_info->remaining_sgprs = remaining_sgprs - util_bitcount64(mask); in allocate_inline_push_consts()
[all …]
Dradv_nir_to_llvm.c8 * SPDX-License-Identifier: MIT
27 struct ac_llvm_context ac; member
52 …struct ac_llvm_pointer main_function = ac_build_main(args, ctx, convention, "main", ctx->voidt, mo… in create_llvm_function()
54 if (options->info->address32_hi) { in create_llvm_function()
55 ac_llvm_add_target_dep_function_attr(main_function.value, "amdgpu-32bit-address-high-bits", in create_llvm_function()
56 options->info->address32_hi); in create_llvm_function()
100 if (ctx->ac.gfx_level >= GFX10) { in create_function()
101 if (is_pre_gs_stage(stage) && ctx->shader_info->is_ngg) { in create_function()
108 …ctx->main_function = create_llvm_function(&ctx->ac, ctx->ac.module, ctx->ac.builder, &ctx->args->a… in create_function()
109 … get_llvm_calling_convention(ctx->main_function.value, stage), in create_function()
[all …]
/external/mesa3d/src/glx/apple/
Dapple_glx_context.c101 is_context_valid(struct apple_glx_context *ac) in is_context_valid() argument
107 for (i = context_list; i; i = i->next) { in is_context_valid()
108 if (ac == i) { in is_context_valid()
130 struct apple_glx_context *ac; in apple_glx_create_context() local
136 ac = malloc(sizeof *ac); in apple_glx_create_context()
138 if (NULL == ac) { in apple_glx_create_context()
147 free(ac); in apple_glx_create_context()
151 ac->context_obj = NULL; in apple_glx_create_context()
152 ac->pixel_format_obj = NULL; in apple_glx_create_context()
153 ac->drawable = NULL; in apple_glx_create_context()
[all …]
/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c4 * SPDX-License-Identifier: MIT
20 #include <llvm/Config/llvm-config.h>
23 struct ac_llvm_context ac; member
46 LLVMTypeRef type = LLVMIntTypeInContext(ctx->ac.context, def->bit_size); in get_def_type()
47 if (def->num_components > 1) { in get_def_type()
48 type = LLVMVectorType(type, def->num_components); in get_def_type()
55 return nir->ssa_defs[src.ssa->index]; in get_src()
61 ptr = LLVMBuildAdd(ctx->ac.builder, ptr, LLVMConstInt(ctx->ac.i32, c_off, 0), ""); in get_memory_ptr()
63 return LLVMBuildGEP2(ctx->ac.builder, ctx->ac.i8, ctx->ac.lds.value, &ptr, 1, ""); in get_memory_ptr()
68 struct hash_entry *entry = _mesa_hash_table_search(nir->defs, b); in get_block()
[all …]
/external/libwebsockets/plugins/acme-client/
Dprotocol_lws_acme_client.c4 * Copyright (C) 2010 - 2019 Andy Green <andy@warmcat.com>
31 * to whatever differences exist for Boulder's tls-sni-01 challenge. The
32 * tls-sni-02 support is there but nothing to test it against at the time of
120 * But ac is only allocated when we are doing the server auth.
122 struct acme_connection *ac; member
144 struct acme_connection *ac = lws_vhost_user(vhost); in callback_chall_http01() local
146 *end = &buf[sizeof(buf) - LWS_PRE - 1]; in callback_chall_http01()
152 __func__, ac->key_auth); in callback_chall_http01()
156 return -1; in callback_chall_http01()
164 return -1; in callback_chall_http01()
[all …]
/external/elfutils/
DChangeLog1 2023-03-27 Di Chen <dichen@redhat.com>
3 * NEWS: Support readelf -Ds for using dynamic segment to
6 2023-03-03 Mark Wielaard <mark@klomp.org>
10 2023-02-23 Mark Wielaard <mark@klomp.org>
14 2023-02-21 Mark Wielaard <mark@klomp.org>
16 * configure.ac: Check for -Wuse-after-free=3
18 2023-02-15 Mark Wielaard <mark@klomp.org>
20 * configure.ac: Error out when demangler is enabled, but
23 2023-01-11 Frank Ch. Eigler <fche@redhat.com>
25 * configure.ac: Add some rlimit/affinity checks.
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dwmm_ac.c2 * Wi-Fi Multimedia Admission Control (WMM-AC)
37 return (tspec->ts_info[0] >> 1) & 0x0f; in wmm_ac_get_tsid()
43 return (tspec->ts_info[0] >> 5) & 0x03; in wmm_ac_get_direction()
49 return (tspec->ts_info[1] >> 3) & 0x07; in wmm_ac_get_user_priority()
74 u16 admitted_time = le_to_host16(tspec->medium_time); in wmm_ac_add_ts()
76 u8 ac = up_to_ac[up]; in wmm_ac_add_ts() local
81 /* should have been verified before, but double-check here */ in wmm_ac_add_ts()
82 if (wpa_s->tspecs[ac][idx]) { in wmm_ac_add_ts()
84 "WMM AC: tspec (ac=%d, dir=%d) already exists!", in wmm_ac_add_ts()
85 ac, dir); in wmm_ac_add_ts()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_ps.c4 * SPDX-License-Identifier: MIT
17 return ac_build_fs_interp(&ctx->ac, LLVMConstInt(ctx->ac.i32, chan, 0), in si_build_fs_interp()
18 LLVMConstInt(ctx->ac.i32, attr_index, 0), prim_mask, i, j); in si_build_fs_interp()
20 return ac_build_fs_interp_mov(&ctx->ac, 0, /* P0 */ in si_build_fs_interp()
21 LLVMConstInt(ctx->ac.i32, chan, 0), in si_build_fs_interp()
22 LLVMConstInt(ctx->ac.i32, attr_index, 0), prim_mask); in si_build_fs_interp()
62 i = LLVMBuildExtractElement(ctx->ac.builder, interp_param, ctx->ac.i32_0, ""); in interp_fs_color()
63 j = LLVMBuildExtractElement(ctx->ac.builder, interp_param, ctx->ac.i32_1, ""); in interp_fs_color()
66 if (ctx->shader->key.ps.part.prolog.color_two_side) { in interp_fs_color()
76 is_face_positive = LLVMBuildFCmp(ctx->ac.builder, LLVMRealOLT, ctx->ac.f32_0, face, ""); in interp_fs_color()
[all …]
Dsi_shader_llvm.c4 * SPDX-License-Identifier: MIT
43 util_debug_message(diag->debug, SHADER_INFO, "LLVM diagnostic (%s): %s", severity_str, in si_diagnostic_handler()
47 diag->retval = 1; in si_diagnostic_handler()
56 struct ac_llvm_context *ac, struct util_debug_callback *debug, in si_compile_llvm() argument
59 unsigned count = p_atomic_inc_return(&sscreen->num_compilations); in si_compile_llvm()
65 ac_dump_module(ac->module); in si_compile_llvm()
69 if (sscreen->record_llvm_ir) { in si_compile_llvm()
70 char *ir = LLVMPrintModuleToString(ac->module); in si_compile_llvm()
71 binary->llvm_ir_string = strdup(ir); in si_compile_llvm()
76 struct ac_backend_optimizer *beo = compiler->beo; in si_compile_llvm()
[all …]
Dsi_shader_llvm_gs.c4 * SPDX-License-Identifier: MIT
18 return LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), in si_is_es_thread()
19 si_unpack_param(ctx, ctx->args->ac.merged_wave_info, 0, 8), ""); in si_is_es_thread()
25 return LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), in si_is_gs_thread()
26 si_unpack_param(ctx, ctx->args->ac.merged_wave_info, 8, 8), ""); in si_is_gs_thread()
31 if (ctx->screen->info.gfx_level < GFX9 || ctx->shader->is_monolithic) in si_llvm_es_build_end()
34 ac_build_endif(&ctx->ac, SI_MERGED_WRAP_IF_LABEL); in si_llvm_es_build_end()
36 LLVMValueRef ret = ctx->return_value; in si_llvm_es_build_end()
38 ret = si_insert_input_ptr(ctx, ret, ctx->args->other_const_and_shader_buffers, 0); in si_llvm_es_build_end()
39 ret = si_insert_input_ptr(ctx, ret, ctx->args->other_samplers_and_images, 1); in si_llvm_es_build_end()
[all …]
Dsi_shader.c4 * SPDX-License-Identifier: MIT
19 #include "util/mesa-sha1.h"
24 #include <llvm/Config/llvm-config.h> /* for LLVM_VERSION_MAJOR */
39 unsigned num_colors = !!(ps->info.ps_colors_read & 0x0f) + !!(ps->info.ps_colors_read & 0xf0); in si_get_ps_num_interp()
41 ps->info.num_ps_inputs + (ps->key.ps.part.prolog.color_two_side ? num_colors : 0); in si_get_ps_num_interp()
50 if (shader->selector->screen->info.gfx_level <= GFX8 || in si_is_multi_part_shader()
51 shader->selector->stage > MESA_SHADER_GEOMETRY) in si_is_multi_part_shader()
54 return shader->key.ge.as_ls || shader->key.ge.as_es || in si_is_multi_part_shader()
55 shader->selector->stage == MESA_SHADER_TESS_CTRL || in si_is_multi_part_shader()
56 shader->selector->stage == MESA_SHADER_GEOMETRY; in si_is_multi_part_shader()
[all …]
/external/liblc3/src/
Dbits.c9 * http://www.apache.org/licenses/LICENSE-2.0
23 /* ----------------------------------------------------------------------------
25 * -------------------------------------------------------------------------- */
32 * ac Arithmetic coder
33 * return 1 + log2(ac->range)
35 static int ac_get_range_bits(const struct lc3_bits_ac *ac) in ac_get_range_bits() argument
39 for (unsigned r = ac->range; r; r >>= 1, nbits++); in ac_get_range_bits()
46 * ac Arithmetic coder
49 static int ac_get_pending_bits(const struct lc3_bits_ac *ac) in ac_get_pending_bits() argument
51 return 26 - ac_get_range_bits(ac) + in ac_get_pending_bits()
[all …]
Dbits.h9 * http://www.apache.org/licenses/LICENSE-2.0
22 * - Arthmetic coder put bits while increasing memory addresses
25 * - Plain bits are puts starting the end of the buffer, with memeory
28 * .---------------------------------------------------.
30 * '---------------------------------------------------'
31 * |---------------------> - - - - - - - - - - - - - ->|
32 * |< - - - <-------------------|
36 * - The forward writing is protected against buffer overflow, it cannot
40 * - The backward writing is protected against overwrite of the arithmetic
44 * .---------------------------------------------------.
[all …]
/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dtcp_client_posix.cc9 // http://www.apache.org/licenses/LICENSE-2.0
141 async_connect* ac = static_cast<async_connect*>(acp); in tc_on_alarm() local
144 ac->addr_str.c_str(), grpc_core::StatusToString(error).c_str()); in tc_on_alarm()
146 gpr_mu_lock(&ac->mu); in tc_on_alarm()
147 if (ac->fd != nullptr) { in tc_on_alarm()
148 grpc_fd_shutdown(ac->fd, GRPC_ERROR_CREATE("connect() timed out")); in tc_on_alarm()
150 done = (--ac->refs == 0); in tc_on_alarm()
151 gpr_mu_unlock(&ac->mu); in tc_on_alarm()
153 gpr_mu_destroy(&ac->mu); in tc_on_alarm()
154 delete ac; in tc_on_alarm()
[all …]
Dtcp_client_windows.cc9 // http://www.apache.org/licenses/LICENSE-2.0
61 static void async_connect_unlock_and_cleanup(async_connect* ac, in async_connect_unlock_and_cleanup() argument
63 int done = (--ac->refs == 0); in async_connect_unlock_and_cleanup()
64 gpr_mu_unlock(&ac->mu); in async_connect_unlock_and_cleanup()
66 gpr_mu_destroy(&ac->mu); in async_connect_unlock_and_cleanup()
67 delete ac; in async_connect_unlock_and_cleanup()
73 async_connect* ac = (async_connect*)acp; in on_alarm() local
74 gpr_mu_lock(&ac->mu); in on_alarm()
75 grpc_winsocket* socket = ac->socket; in on_alarm()
76 ac->socket = NULL; in on_alarm()
[all …]
/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_client_posix.cc9 // http://www.apache.org/licenses/LICENSE-2.0
144 async_connect* ac = static_cast<async_connect*>(acp); in tc_on_alarm() local
147 ac->addr_str.c_str(), grpc_core::StatusToString(error).c_str()); in tc_on_alarm()
149 gpr_mu_lock(&ac->mu); in tc_on_alarm()
150 if (ac->fd != nullptr) { in tc_on_alarm()
151 grpc_fd_shutdown(ac->fd, GRPC_ERROR_CREATE("connect() timed out")); in tc_on_alarm()
153 done = (--ac->refs == 0); in tc_on_alarm()
154 gpr_mu_unlock(&ac->mu); in tc_on_alarm()
156 gpr_mu_destroy(&ac->mu); in tc_on_alarm()
157 delete ac; in tc_on_alarm()
[all …]
Dtcp_client_windows.cc9 // http://www.apache.org/licenses/LICENSE-2.0
61 static void async_connect_unlock_and_cleanup(async_connect* ac, in async_connect_unlock_and_cleanup() argument
63 int done = (--ac->refs == 0); in async_connect_unlock_and_cleanup()
64 gpr_mu_unlock(&ac->mu); in async_connect_unlock_and_cleanup()
66 gpr_mu_destroy(&ac->mu); in async_connect_unlock_and_cleanup()
67 delete ac; in async_connect_unlock_and_cleanup()
73 async_connect* ac = (async_connect*)acp; in on_alarm() local
74 gpr_mu_lock(&ac->mu); in on_alarm()
75 grpc_winsocket* socket = ac->socket; in on_alarm()
76 ac->socket = NULL; in on_alarm()
[all …]
/external/one-true-awk/testdir/
DT.int-expr1 echo T.int-expr: test interval expressions
3 awk=${awk-../a.out}
5 rm -f foo
12 printf("%s ~ /%s/ -> should be %d, is %d\n", $1, pattern, $2, check)
18 ac 1
22 ac 1
26 ac 1
30 ac 1
34 ac 1
38 ac 1
[all …]
/external/libwebsockets/minimal-examples/api-tests/api-test-fts/
Dcanned-1.txt1 API selftest: full-text search
2 AC be: 472 agg hits
3 AC but: 401 agg hits
4 AC by: 242 agg hits
5 AC been: 236 agg hits
6 AC basil: 158 agg hits
7 AC before: 75 agg hits
8 AC beauty: 55 agg hits
9 AC better: 54 agg hits
10 AC believe: 49 agg hits
[all …]
DREADME.md3 Demonstrates how to create indexes and perform full-text searches.
14 ---|---
15 -d <loglevel>|Debug verbosity in decimal, eg, -d15
16 -c / --createindex|Create an index file, instead of searching
17 -i / --index <file>|Use this file as the index
21 - create an index: `--createindex inputfile [inputfile...]`
24 $ ./lws-api-test-fts -c ./the-picture-of-dorian-gray.txt
25 [2018/10/15 07:14:15:1175] USER: LWS API selftest: full-text search
29 - perform search[es]: `searchterm [searchterm...]`
32 $ ./lws-api-test-fts b
[all …]
/external/skia/src/base/
DSkQuads.cpp4 * Use of this source code is governed by a BSD-style license that can be
26 solution[0] = -B / M; in solve_linear()
49 const double ac = a * c; in Discriminant() local
52 // ac being too close. in Discriminant()
53 const double roughDiscriminant = b2 - ac; in Discriminant()
55 // We would like the calculated discriminant to have a relative error of 2-bits or less. For in Discriminant()
56 // doubles, this means the relative error is <= E = 3*2^-53. This gives a relative error in Discriminant()
59 // |D - D~| / |D| <= E, in Discriminant()
61 // where D = B*B - AC, and D~ is the floating point approximation of D. in Discriminant()
65 // AC = A*C, in Discriminant()
[all …]
/external/aac/libFDK/src/
Dautocorr2nd.cpp1 /* -----------------------------------------------------------------------------
4 © Copyright 1995 - 2020 Fraunhofer-Gesellschaft zur Förderung der angewandten
13 AAC's HE-AAC and HE-AAC v2 versions are regarded as today's most efficient
14 general perceptual audio codecs. AAC-ELD is considered the best-performing
15 full-bandwidth communications codec by independent studies and is widely
29 Commercially-licensed AAC software libraries, including floating-point versions
58 must be replaced by the term "Third-Party Modified Version of the Fraunhofer FDK
65 Fraunhofer provides no warranty of patent non-infringement with respect to this
87 Attention: Audio and Multimedia Departments - FDK AAC LL
92 amm-info@iis.fraunhofer.de
[all …]
/external/angle/src/tests/gl_tests/
DAtomicCounterBufferTest.cpp3 // Use of this source code is governed by a BSD-style license that can be
125 " atomicCounterIncrement(acs[counter_id - 1]);\n" in TEST_P()
179 GLint nLoopIterationsUniformLocation = -1; in TEST_P()
181 EXPECT_NE(-1, nLoopIterationsUniformLocation); in TEST_P()
186 Vector3(-1.0f, 1.0f, 0.5f), Vector3(-1.0f, -1.0f, 0.5f), Vector3(1.0f, -1.0f, 0.5f)}; in TEST_P()
209 EXPECT_EQ(atomicBufferResult[n_ac - 1], expected_value); in TEST_P()
325 GLint nLoopIterationsUniformLocation = -1; in TEST_P()
327 EXPECT_NE(-1, nLoopIterationsUniformLocation); in TEST_P()
332 Vector3(-1.0f, 1.0f, 0.5f), Vector3(-1.0f, -1.0f, 0.5f), Vector3(1.0f, -1.0f, 0.5f)}; in TEST_P()
411 layout(binding = 0, offset = 8) uniform atomic_uint ac[3]; in TEST_P()
[all …]
/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h1 //===-- InstructionSimplify.h - Fold instrs into simpler forms --*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
12 // ("add i32 1, 1" -> "2") but can also handle non-constant operands, either
13 // returning a constant ("and i32 %x, 0" -> "0") or an already existing value
14 // ("and i32 %x, %x" -> "%x"). If the simplification is also an instruction
26 // require that all non-constant values be defined in the same function, and the
30 //===----------------------------------------------------------------------===//
49 /// SimplifyAddInst - Given operands for an Add, see if we can
55 AssumptionCache *AC = nullptr,
58 /// SimplifySubInst - Given operands for a Sub, see if we can
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp1 //===- NVPTXUtilities.cpp - Utility Functions -----------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
42 static AnnotationCache AC; in getAnnotationCache() local
43 return AC; in getAnnotationCache()
48 auto &AC = getAnnotationCache(); in clearAnnotationCache() local
49 std::lock_guard<sys::Mutex> Guard(AC.Lock); in clearAnnotationCache()
50 AC.Cache.erase(Mod); in clearAnnotationCache()
54 auto &AC = getAnnotationCache(); in cacheAnnotationFromMD() local
[all …]

12345678910>>...52