Home
last modified time | relevance | path

Searched +full:base +full:- +full:db (Results 1 – 25 of 474) sorted by relevance

12345678910>>...19

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_descriptors.c67 VKSCR(GetDescriptorSetLayoutSupport)(screen->dev, &dcslci, &supp); in descriptor_layout_create()
73 VkResult result = VKSCR(CreateDescriptorSetLayout)(screen->dev, &dcslci, 0, &dsl); in descriptor_layout_create()
84 hash = XXH32(&k->num_bindings, sizeof(unsigned), hash); in hash_descriptor_layout()
86 for (unsigned i = 0; i < k->num_bindings; i++) in hash_descriptor_layout()
87 hash = XXH32(&k->bindings[i], offsetof(VkDescriptorSetLayoutBinding, stageFlags), hash); in hash_descriptor_layout()
97 return a_k->num_bindings == b_k->num_bindings && in equals_descriptor_layout()
98 …(!a_k->num_bindings || !memcmp(a_k->bindings, b_k->bindings, a_k->num_bindings * sizeof(VkDescript… in equals_descriptor_layout()
112 k->num_bindings = num_bindings; in create_layout()
114 k->bindings = (void *)(k + 1); in create_layout()
115 memcpy(k->bindings, bindings, bindings_size); in create_layout()
[all …]
Dzink_context.c17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
72 if (ctx->track_renderpasses) { in update_tc_info()
73 const struct tc_renderpass_info *info = threaded_context_get_renderpass_info(ctx->tc); in update_tc_info()
74 ctx->rp_changed |= ctx->dynamic_fb.tc_info.data != info->data; in update_tc_info()
75 ctx->dynamic_fb.tc_info.data = info->data; in update_tc_info()
77 struct tc_renderpass_info info = ctx->dynamic_fb.tc_info; in update_tc_info()
78 bool zsbuf_used = !ctx->zsbuf_unused; in update_tc_info()
80 ctx->dynamic_fb.tc_info.data32[0] = 0; in update_tc_info()
81 if (ctx->clears_enabled & PIPE_CLEAR_DEPTHSTENCIL) in update_tc_info()
82 ctx->dynamic_fb.tc_info.zsbuf_clear_partial = true; in update_tc_info()
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-assists/src/
Dtests.rs2 #[cfg(not(feature = "in-rust-tree"))]
50 pub(crate) fn with_single_file(text: &str) -> (RootDatabase, FileId) { in with_single_file()
110 let (db, file_id, selection) = RootDatabase::with_range_or_offset(before); in check_doc_test()
111 let before = db.file_text(file_id).to_string(); in check_doc_test()
114 let assist = assists(&db, &TEST_CONFIG, AssistResolveStrategy::All, frange) in check_doc_test()
121 assists(&db, &TEST_CONFIG, AssistResolveStrategy::None, frange) in check_doc_test()
163 let (mut db, file_with_caret_id, range_or_offset) = RootDatabase::with_range_or_offset(before); in check_with_config()
164 db.enable_proc_attr_macros(); in check_with_config()
165 let text_without_caret = db.file_text(file_with_caret_id).to_string(); in check_with_config()
169 let sema = Semantics::new(&db); in check_with_config()
[all …]
/third_party/elfutils/tests/
Drun-debuginfod-extraction-passive.sh3 # Copyright (C) 2019-2021 Red Hat, Inc.
19 . $srcdir/debuginfod-subr.sh
22 set -x
25 # This variable is essential and ensures no time-race for claiming ports occurs
26 # set base to a unique multiple of 100 not used in any other 'run-debuginfod-*' test
27 base=11000
30 DB=${PWD}/.debuginfod.sqlite
31 tempfiles $DB
34 cp -rvp ${abs_srcdir}/debuginfod-tars Z
37 …{abs_builddir}/../debuginfod/debuginfod $VERBOSE -d $DB -Z .tar.xz -Z .tar.bz2=bzcat -p $PORT1 -t0…
[all …]
Drun-debuginfod-regex.sh3 # Copyright (C) 2019-2021 Red Hat, Inc.
19 . $srcdir/debuginfod-subr.sh
22 set -x
27 DB=${PWD}/.debuginfod_tmp.sqlite
28 tempfiles $DB
31 # This variable is essential and ensures no time-race for claiming ports occurs
32 # set base to a unique multiple of 100 not used in any other 'run-debuginfod-*' test
33 base=9400
36 $VERBOSE -F -p $PORT1 -t0 -g0 -d ${DB} F > vlog$PORT1 2>&1 &
45 # Compile a simple program, strip its debuginfo and save the build-id.
[all …]
Drun-debuginfod-IXr.sh3 # Copyright (C) 2019-2023 Red Hat, Inc.
19 . $srcdir/debuginfod-subr.sh
22 set -x
26 # This variable is essential and ensures no time-race for claiming ports occurs
27 # set base to a unique multiple of 100 not used in any other 'run-debuginfod-*' test
28 base=10100
31 DB=${PWD}/.debuginfod_tmp.sqlite
32 tempfiles $DB
35 cp -rvp ${abs_srcdir}/debuginfod-rpms R
38 rm -vrf R/debuginfod-rpms/fedora31
[all …]
Drun-debuginfod-duplicate-urls.sh3 # Copyright (C) 2019-2021 Red Hat, Inc.
19 . $srcdir/debuginfod-subr.sh
22 set -x
24 # This variable is essential and ensures no time-race for claiming ports occurs
25 # set base to a unique multiple of 100 not used in any other 'run-debuginfod-*' test
26 base=8600
29 DB=${PWD}/.debuginfod_tmp.sqlite
30 tempfiles $DB
34 $VERBOSE -F -p $PORT1 -t0 -g0 -d ${DB} F > vlog$PORT1 2>&1 &
43 rm -rf $DEBUGINFOD_CACHE_PATH # clean it from previous tests
[all …]
Drun-debuginfod-percent-escape.sh3 # Copyright (C) 2019-2021 Red Hat, Inc.
19 . $srcdir/debuginfod-subr.sh # includes set -e
21 set -x
23 # This variable is essential and ensures no time-race for claiming ports occurs
24 # set base to a unique multiple of 100 not used in any other 'run-debuginfod-*' test
25 base=10000
27 DB=${PWD}/.debuginfod_tmp.sqlite
28 tempfiles $DB
31 -F -R -d $DB -p $PORT1 -t0 -g0 -v R ${PWD}/F > vlog$PORT1 2>&1 &
40 # Build a non-stripped binary
[all …]
Drun-debuginfod-extraction.sh3 # Copyright (C) 2019-2021 Red Hat, Inc.
19 . $srcdir/debuginfod-subr.sh
22 set -x
26 # This variable is essential and ensures no time-race for claiming ports occurs
27 # set base to a unique multiple of 100 not used in any other 'run-debuginfod-*' test
28 base=8700
31 DB=${PWD}/.debuginfod_tmp.sqlite
32 tempfiles $DB
35 …}/../debuginfod/debuginfod $VERBOSE -d $DB -F -R -Z .tar.xz -Z .tar.bz2=bzcat -p $PORT1 --scan-che…
43 ps -q $PID1 -e -L -o '%p %c %a' | grep groom
[all …]
Drun-debuginfod-fd-prefetch-caches.sh3 # Copyright (C) 2019-2021 Red Hat, Inc.
19 . $srcdir/debuginfod-subr.sh
22 set -x
27 cp -rvp ${abs_srcdir}/debuginfod-tars Z
28 cp -rvp ${abs_srcdir}/debuginfod-rpms R
30 rm -vrf R/debuginfod-rpms/fedora31
38 # This variable is essential and ensures no time-race for claiming ports occurs
39 # set base to a unique multiple of 100 not used in any other 'run-debuginfod-*' test
40 base=8800
43 DB=${PWD}/.debuginfod_tmp.sqlite
[all …]
Drun-debuginfod-sizetime.sh3 # Copyright (C) 2019-2021 Red Hat, Inc.
19 . $srcdir/debuginfod-subr.sh
21 set -x
23 # This variable is essential and ensures no time-race for claiming ports occurs
24 # set base to a unique multiple of 100 not used in any other 'run-debuginfod-*' test
25 base=9600
28 DB=${PWD}/.debuginfod_tmp.sqlite
29 tempfiles $DB
35 gcc -Wl,--build-id -g -o prog ${PWD}/foobar///./../prog.c
36 testrun ${abs_top_builddir}/src/strip -g -f prog.debug ${PWD}/prog
[all …]
Drun-debuginfod-archive-test.sh3 # Copyright (C) 2019-2021 Red Hat, Inc.
19 . $srcdir/debuginfod-subr.sh
22 set -x
27 # This variable is essential and ensures no time-race for claiming ports occurs
28 # set base to a unique multiple of 100 not used in any other 'run-debuginfod-*' test
29 base=8300
31 DB=${PWD}/.debuginfod_tmp.sqlite
32 tempfiles $DB
35 …ATH=$ldpath ${abs_builddir}/../debuginfod/debuginfod $VERBOSE -R -p $PORT1 -d $DB -t0 -g0 -v R > v…
48 ps -q $PID1 -e -L -o '%p %c %a' | grep groom
[all …]
Drun-debuginfod-negative-cache.sh3 # Copyright (C) 2019-2021 Red Hat, Inc.
19 . $srcdir/debuginfod-subr.sh
22 set -x
24 DB=${PWD}/.debuginfod_tmp.sqlite
25 tempfiles $DB
27 # This variable is essential and ensures no time-race for claiming ports occurs
28 # set base to a unique multiple of 100 not used in any other 'run-debuginfod-*' test
29 base=8000
31 …TH=$ldpath DEBUGINFOD_URLS= ${abs_builddir}/../debuginfod/debuginfod $VERBOSE -F -p $PORT1 -d $DB \
32 -t0 -g0 -v ${PWD} > vlog$PORT1 2>&1 &
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/nameres/
Dmod_resolution.rs8 use crate::{db::DefDatabase, HirFileId};
25 pub(super) fn root() -> ModDir { in root()
33 ) -> Option<ModDir> { in descend_into_definition()
51 fn child(&self, dir_path: DirPath, root_non_dir_owner: bool) -> Option<ModDir> { in child()
63 db: &dyn DefDatabase, in resolve_declaration()
67 ) -> Result<(FileId, bool, ModDir), Box<[String]>> { in resolve_declaration()
69 let orig_file_id = file_id.original_file(db.upcast()); in resolve_declaration()
76 None if file_id.is_include_macro(db.upcast()) => { in resolve_declaration()
77 candidate_files.push(format!("{}.rs", name.display(db.upcast()))); in resolve_declaration()
78 candidate_files.push(format!("{}/mod.rs", name.display(db.upcast()))); in resolve_declaration()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Demangle/
DItaniumDemangle.cpp1 //===- ItaniumDemangle.cpp ------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
32 unknown_error = -4,
33 invalid_args = -3,
40 static const char *parse_type(const char *first, const char *last, C &db);
42 static const char *parse_encoding(const char *first, const char *last, C &db);
44 static const char *parse_name(const char *first, const char *last, C &db,
47 static const char *parse_expression(const char *first, const char *last, C &db);
50 C &db);
53 C &db);
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-ssr/src/
Dlib.rs45 // Available via the command `rust-analyzer.ssr`.
60 // | VS Code | **rust-analyzer: Structural Search Replace**
116 pub struct MatchFinder<'db> {
118 sema: Semantics<'db, ide_db::RootDatabase>,
120 resolution_scope: resolving::ResolutionScope<'db>,
124 impl<'db> MatchFinder<'db> {
128 db: &'db ide_db::RootDatabase, in in_context()
131 ) -> Result<MatchFinder<'db>, SsrError> { in in_context() argument
133 let sema = Semantics::new(db); in in_context()
139 /// Constructs an instance using the start of the first file in `db` as the lookup context.
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/mir/lower/
Das_place.rs18 ) -> Result<Option<(Place, BasicBlockId)>> { in lower_expr_to_some_place_without_adjust()
32 ) -> Result<Option<(Place, BasicBlockId)>> { in lower_expr_to_some_place_with_adjust()
50 ) -> Result<Option<(Place, BasicBlockId)>> { in lower_expr_as_place_with_adjust()
109 ) -> Result<Option<(Place, BasicBlockId)>> { in lower_expr_as_place()
121 ) -> Result<Option<(Place, BasicBlockId)>> { in lower_expr_as_place_without_adjust()
130 let resolver = resolver_for_expr(self.db.upcast(), self.owner, expr_id); in lower_expr_as_place_without_adjust()
131 let Some(pr) = resolver.resolve_path_in_value_ns_fully(self.db.upcast(), p) else { in lower_expr_as_place_without_adjust()
159 if let Some(lang_item) = lang_attr(self.db.upcast(), id.0) { in lower_expr_as_place_without_adjust()
183 .db in lower_expr_as_place_without_adjust()
210 Expr::Index { base, index } => { in lower_expr_as_place_without_adjust()
[all …]
/third_party/libinput/src/
Devdev-tablet-pad-leds.c29 #include "evdev-tablet-pad.h"
36 struct libinput_tablet_pad_mode_group base; member
48 /* /sys/devices/..../input1235/input1235::wacom-led_0.1/brightness */
62 button->button_index = button_index; in pad_mode_toggle_button_new()
71 list_remove(&button->link); in pad_mode_toggle_button_destroy()
83 list_for_each(led, &group->led_list, link) { in pad_led_group_get_mode()
84 rc = lseek(led->brightness_fd, 0, SEEK_SET); in pad_led_group_get_mode()
85 if (rc == -1) in pad_led_group_get_mode()
86 return -errno; in pad_led_group_get_mode()
88 rc = read(led->brightness_fd, buf, sizeof(buf) - 1); in pad_led_group_get_mode()
[all …]
Devdev-tablet-pad.c25 #include "evdev-tablet-pad.h"
26 #include "util-input-event.h"
36 #define pad_set_status(pad_,s_) (pad_)->status |= (s_)
37 #define pad_unset_status(pad_,s_) (pad_)->status &= ~(s_)
38 #define pad_has_status(pad_,s_) (!!((pad_)->status & (s_)))
44 struct button_state *state = &pad->button_state; in pad_get_buttons_pressed()
45 struct button_state *prev_state = &pad->prev_button_state; in pad_get_buttons_pressed()
48 for (i = 0; i < sizeof(buttons->bits); i++) in pad_get_buttons_pressed()
49 buttons->bits[i] = state->bits[i] & ~(prev_state->bits[i]); in pad_get_buttons_pressed()
56 struct button_state *state = &pad->button_state; in pad_get_buttons_released()
[all …]
/third_party/pulseaudio/src/pulsecore/
Ddatabase.h41 /* Database implementation; returns non-empty database filename extension string */
45 * path. The file name is constructed by using fn as the base and then adding
58 * For a read-only database, set for_write to false. */
64 void pa_database_close(pa_database *db);
66 pa_datum* pa_database_get(pa_database *db, const pa_datum *key, pa_datum* data);
68 int pa_database_set(pa_database *db, const pa_datum *key, const pa_datum* data, bool overwrite);
69 int pa_database_unset(pa_database *db, const pa_datum *key);
71 int pa_database_clear(pa_database *db);
73 signed pa_database_size(pa_database *db);
75 pa_datum* pa_database_first(pa_database *db, pa_datum *key, pa_datum *data /* may be NULL */);
[all …]
/third_party/python/Lib/
Dmimetypes.py5 guess_type(url, strict=True) -- guess the MIME type and encoding of a URL.
7 guess_extension(type, strict=True) -- guess the extension for a given MIME type.
13 knownfiles -- list of files to parse
14 inited -- flag set when init() has been called
15 suffix_map -- dictionary mapping suffixes to suffixes
16 encodings_map -- dictionary mapping suffixes to encodings
17 types_map -- dictionary mapping suffixes to types
21 init([files]) -- parse a list of files, default knownfiles (on Windows, the
23 read_mime_types(file) -- parse one file, return a dictionary or None
65 """MIME-types datastore.
[all …]
/third_party/alsa-lib/src/topology/
Dctl.c2 Copyright(c) 2014-2015 Intel Corporation
32 /* place the multi-bit values on top - like read_write - for save */
69 hdr->access |= ctl_access[j].value; in parse_access_values()
116 if (hdr->access == 0) in tplg_save_access()
119 access = hdr->access; in tplg_save_access()
133 access = hdr->access; in tplg_save_access()
150 struct snd_soc_tplg_mixer_control *mixer_ctrl = elem->mixer_ctrl; in copy_tlv()
151 struct snd_soc_tplg_ctl_tlv *tlv = ref->tlv; in copy_tlv()
153 tplg_dbg("TLV '%s' used by '%s", ref->id, elem->id); in copy_tlv()
156 mixer_ctrl->hdr.tlv = *tlv; in copy_tlv()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_video.c38 if (dec->cmds) in nouveau_vpe_init()
40 ret = BO_MAP(dec->screen, dec->cmd_bo, NOUVEAU_BO_RDWR, dec->client); in nouveau_vpe_init()
42 debug_printf("Mapping cmd bo: %s\n", strerror(-ret)); in nouveau_vpe_init()
45 ret = BO_MAP(dec->screen, dec->data_bo, NOUVEAU_BO_RDWR, dec->client); in nouveau_vpe_init()
47 debug_printf("Mapping data bo: %s\n", strerror(-ret)); in nouveau_vpe_init()
50 dec->cmds = dec->cmd_bo->map; in nouveau_vpe_init()
51 dec->data = dec->data_bo->map; in nouveau_vpe_init()
57 struct nouveau_pushbuf *push = dec->push; in nouveau_vpe_synch()
59 if (dec->fence_map) { in nouveau_vpe_synch()
61 PUSH_DATA (push, ++dec->fence_seq); in nouveau_vpe_synch()
[all …]
/third_party/skia/m133/src/opts/
DSkRasterPipeline_opts.h4 * Use of this source code is governed by a BSD-style license that can be
12 #include "include/private/base/SkMalloc.h"
13 #include "include/private/base/SkSpan_impl.h"
14 #include "include/private/base/SkTemplates.h"
16 #include "src/base/SkUtils.h" // unaligned_{load,store}
65 return (T*)fStage->ctx;
113 // requires 2 Newton-Raphson refinement steps because its estimate has 8 bit precision, and for
136 SI F nmad(F f, F m, F a) { return a-f*m; } in nmad()
138 SI I32 abs_ (I32 v) { return v < 0 ? -v : v; } in abs_()
249 return roundtrip - if_then_else(roundtrip > v, F() + 1, F());
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/
DCargo.toml3 exclude = ["crates/proc-macro-test/imp"]
7 rust-version = "1.66"
9 license = "MIT OR Apache-2.0"
10 authors = ["rust-analyzer team"]
19 rowan.opt-level = 3
20 rustc-hash.opt-level = 3
21 smol_str.opt-level = 3
22 text-size.opt-level = 3
24 miniz_oxide.opt-level = 3
31 [patch.'crates-io']
[all …]

12345678910>>...19