Home
last modified time | relevance | path

Searched full:literal (Results 1 – 25 of 11631) sorted by relevance

12345678910>>...466

/aosp_15_r20/external/cronet/third_party/libxml/fuzz/seed_corpus/
H A Dc26d0a6661eac07a37052737917a1a2b7d4d1681191 by the <literal>xmlns</literal> attribute)</para></listitem>
244 <literal>http://www.example.com/doc.xml</literal> is as
261 <listitem><para><literal>foo</literal> as the local
271 <listitem><para><literal>http://www.example.com/doc.xml</literal> as the base
278 <listitem><para>maps the prefix <literal>xml</literal> to the
280 <literal>http://www.w3.org/XML/1998/namespace</literal>
281 (the <literal>xml</literal> prefix is implicitly declared
304 <listitem><para><literal>http://www.example.com/n1</literal> as the
307 <listitem><para><literal>bar1</literal> as the local
317 <listitem><para><literal>http://www.example.com/doc.xml</literal> as the base
[all …]
/aosp_15_r20/external/e2fsprogs/ext2ed/doc/
H A Dext2ed-design.sgml246 I started immediately with constructing a simple <Literal remap="tt">hex editor</Literal> - It would
248 filesystem with a simple <Literal remap="tt">offset</Literal> method, and just show a
249 <Literal remap="tt"> hex dump</Literal> of the contents at this point. Programming this was trivial…
263 main include file - <Literal remap="tt">/usr/include/linux/ext2&lowbar;fs.h</Literal>. Among its co…
269 I wanted a <Literal remap="tt">quick</Literal> way to get going. I didn't have the patience to learn
276 So after the <Literal remap="tt">hex editor</Literal>, EXT2ED progressed into a tool which has some
277 elements of a compiler. I programmed EXT2ED to <Literal remap="tt">dynamically read the kernel
278 ext2 main include file in run time</Literal>, and process the information. The goal
279 was to <Literal remap="tt">imply a structure-definition on the current offset at the
280 filesystem</Literal>. EXT2ED would then display the structure as a list of its
[all …]
H A Dext2fs-overview.sgml23 <Literal remap="tt">ext2 filesystem editor project (EXT2ED)</Literal>.
108 The <Literal remap="tt">Second Extended File System (Ext2fs)</Literal> is very popular among Linux
137 A <Literal remap="tt">filesystem</Literal> consists of two word - <Literal remap="tt">file</Literal
141 Everyone knows the meaning of the word <Literal remap="tt">file</Literal> - A bunch of data put
148 This is where the <Literal remap="tt">system</Literal> comes in - Instead of just throwing the data
149 to the device, we generalize and construct a <Literal remap="tt">system</Literal> which will
157 Normally, by <Literal remap="tt">mounting</Literal> filesystems, we just use the nice and logical
177 <Literal remap="tt">Minix</Literal> filesystem. Today, Linux has the ability to support several
196 into small units called <Literal remap="tt">blocks</Literal>. A block is the smallest unit which
197 can be allocated. Each block in the filesystem can be <Literal remap="tt">allocated</Literal> or
[all …]
H A Duser-guide.sgml56 with the material presented in the <Literal remap="tt">ext2 filesystem overview</Literal> as well.
61 will also read the article <Literal remap="tt">The EXT2ED design and implementation</Literal>, as it
83 Two basic concepts in EXT2ED are <Literal remap="tt">commands</Literal> and <Literal remap="tt">typ…
88 filesystem, like a <Literal remap="tt">super-block</Literal> or a <Literal remap="tt">directory</Li…
93 Your interaction with EXT2ED is done through <Literal remap="tt">commands</Literal> which EXT2ED
138 Running EXT2ED is as simple as typing <Literal remap="tt">ext2ed</Literal> from the shell prompt.
143 When first run, EXT2ED parses its configuration file, <Literal remap="tt">ext2ed.conf</Literal>.
149 on the screen, with the command prompt <Literal remap="tt">ext2ed&#62;</Literal> displayed.
208 command prompt <Literal remap="tt">ext2ed&#62;</Literal> and allows you to type a command. Feedback
220 Pressing <Literal remap="tt">enter</Literal> at the command window, without entering a command,
[all …]
/aosp_15_r20/external/libxml2/test/relaxng/
H A Dspec_0.xml191 by the <literal>xmlns</literal> attribute)</para></listitem>
244 <literal>http://www.example.com/doc.xml</literal> is as
261 <listitem><para><literal>foo</literal> as the local
271 <listitem><para><literal>http://www.example.com/doc.xml</literal> as the base
278 <listitem><para>maps the prefix <literal>xml</literal> to the
280 <literal>http://www.w3.org/XML/1998/namespace</literal>
281 (the <literal>xml</literal> prefix is implicitly declared
304 <listitem><para><literal>http://www.example.com/n1</literal> as the
307 <listitem><para><literal>bar1</literal> as the local
317 <listitem><para><literal>http://www.example.com/doc.xml</literal> as the base
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/
H A Dliteral_util.h16 // Utilities for dealing with Literal protobufs.
39 #include "tensorflow/compiler/xla/literal.h"
57 // Returns a literal scalar representing the first element.
58 static Literal GetFirstScalarLiteral(const LiteralSlice& literal);
59 // Returns a literal scalar representing the element at `multi_index`.
60 static Literal GetScalarLiteral(const LiteralBase& literal,
62 // Sets the value of the element at `multi_index` with a scalar literal.
63 static void SetScalarLiteral(MutableLiteralBase& literal,
67 // Creates a new literal of a given rank. To minimize ambiguity (for users
75 // literal's linear representation in memory.
[all …]
H A Dliteral_util.cc43 // Return a literal with all arrays of type FromNativeT converted to type
44 // ToNativeT in the given literal.
46 Literal ConvertType(LiteralSlice literal) { in ConvertType() argument
48 Shape result_shape(literal.shape()); in ConvertType()
57 Literal result(result_shape); in ConvertType()
59 // Then copy over the data from 'literal' converting FromNativeT values to in ConvertType()
62 literal.shape(), in ConvertType()
67 auto src = literal.data<FromNativeT>(shape_index); in ConvertType()
73 TF_CHECK_OK(result.CopyFrom(literal, in ConvertType()
86 Literal CreateScalarImpl(F&& value_provider, Args... args) { in CreateScalarImpl()
[all …]
H A Dliteral.h52 // Forward declare Literal and LiteralSlice class to be used by the creation
54 class Literal; variable
67 // Returns the shape of the literal.
73 // Returns a Span of the array for this literal for the given NativeT
74 // (e.g., float). CHECKs if the subshape of the literal at the given
81 // array at the given shape index. CHECKs if the subshape of the literal at
86 // Returns this literal's data as a string. This literal must be a rank-1 U8
90 // Returns a string representation of the literal value. The Shape of the
91 // literal is a prefix of the literal value in the string.
101 // Returns a string representation of the literal value which does *not*
[all …]
H A Dliteral_test.cc16 #include "tensorflow/compiler/xla/literal.h"
93 Literal literal_r4_2x2x3x3_dim0major_;
94 Literal literal_r4_2x2x3x3_dim0minor_;
141 const auto literal = LiteralUtil::CreateR2({{1, 2}, {3, 4}, {5, 6}}); in TEST_F() local
147 EXPECT_EQ(expected, literal.ToString()); in TEST_F()
151 auto literal = LiteralUtil::CreateR2({{1, 2}, {3, 4}, {5, 6}}); in TEST_F() local
152 literal.SetDynamicSize(0, {}, 2); in TEST_F()
157 EXPECT_EQ(expected, literal.ToString()); in TEST_F()
170 const auto literal = in TEST_F() local
186 EXPECT_EQ(expected, literal.ToString()); in TEST_F()
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/tests/
H A Dtransfer_manager_test.cc21 #include "tensorflow/compiler/xla/literal.h"
72 Literal literal = LiteralUtil::CreateR0<uint32_t>(42); in XLA_TEST_F() local
73 const Shape& shape = literal.shape(); in XLA_TEST_F()
76 // Round trip literal through device. in XLA_TEST_F()
77 ASSERT_IS_OK(transfer_manager_->TransferLiteralToDevice(stream_, literal, in XLA_TEST_F()
80 Literal result, in XLA_TEST_F()
87 Literal literal = in XLA_TEST_F() local
89 const Shape& shape = literal.shape(); in XLA_TEST_F()
92 // Round trip literal through device. in XLA_TEST_F()
93 ASSERT_IS_OK(transfer_manager_->TransferLiteralToDevice(stream_, literal, in XLA_TEST_F()
[all …]
H A Dtest_utils.cc35 void PopulateWithRandomFloatingPointData(Literal* literal, in PopulateWithRandomFloatingPointData() argument
38 for (FloatT& value : literal->data<FloatT>()) { in PopulateWithRandomFloatingPointData()
43 // Populates a floating point literal with random floating points sampled from a
47 void PopulateWithRandomFullRangeFloatingPointData(Literal* literal, in PopulateWithRandomFullRangeFloatingPointData() argument
71 for (FloatT& value : literal->data<FloatT>()) { in PopulateWithRandomFullRangeFloatingPointData()
86 void PopulateWithIntNext(Literal* literal);
89 void PopulateWithIntNext<half>(Literal* literal) { in PopulateWithIntNext() argument
92 for (half& value : literal->data<half>()) { in PopulateWithIntNext()
103 void PopulateWithIntNext<bfloat16>(Literal* literal) { in PopulateWithIntNext() argument
107 for (bfloat16& value : literal->data<bfloat16>()) { in PopulateWithIntNext()
[all …]
H A Dclient_library_test_base.h33 #include "tensorflow/compiler/xla/literal.h"
90 // TODO(b/25566808): Add helper that populates a literal from a testdata file.
98 StatusOr<Literal> ExecuteAndTransfer(
102 StatusOr<Literal> ExecuteAndTransfer(
110 StatusOr<Literal> ExecuteAndTransferReference(
181 // literal. shape_with_layout indicates the result layout to request when
183 void ComputeAndCompareLiteral(XlaBuilder* builder, const Literal& expected,
186 void ComputeAndCompareLiteral(XlaBuilder* builder, const Literal& expected,
191 // Build and run the computation and return the result as a literal.
194 StatusOr<Literal> ComputeAndTransfer(
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/litrs/src/
Dtests.rs1 use crate::Literal;
6 assert_err!(Literal, "", Empty, None); in empty()
11 assert_err_single!(Literal::parse("."), InvalidLiteral, None); in invalid_literals()
12 assert_err_single!(Literal::parse("+"), InvalidLiteral, None); in invalid_literals()
13 assert_err_single!(Literal::parse("-"), InvalidLiteral, None); in invalid_literals()
14 assert_err_single!(Literal::parse("e"), InvalidLiteral, None); in invalid_literals()
15 assert_err_single!(Literal::parse("e8"), InvalidLiteral, None); in invalid_literals()
16 assert_err_single!(Literal::parse("f32"), InvalidLiteral, None); in invalid_literals()
17 assert_err_single!(Literal::parse("foo"), InvalidLiteral, None); in invalid_literals()
18 assert_err_single!(Literal::parse("inf"), InvalidLiteral, None); in invalid_literals()
[all …]
Dlib.rs1 //! Parsing and inspecting Rust literal tokens.
14 //! The main types of this library are [`Literal`], representing any kind of
15 //! literal, and `*Lit`, like [`StringLit`] or [`FloatLit`], representing a
16 //! specific kind of literal.
18 //! There are different ways to obtain such a literal type:
21 //! ParseError>`. For example: [`Literal::parse`] and
24 //! - **`From<proc_macro::Literal> for Literal`**: turns a `Literal` value from
25 //! the `proc_macro` crate into a `Literal` from this crate.
27 //! - **`TryFrom<proc_macro::Literal> for *Lit`**: tries to turn a
28 //! `proc_macro::Literal` into a specific literal type of this crate. If
[all …]
Dimpls.rs3 use crate::{Literal, err::{InvalidToken, TokenKind}};
30 // ===== `From<*Lit> for Literal`
35 impl<B: crate::Buffer> From<$ty> for Literal<B> {
37 Literal::$variant(src)
54 // ===== `From<pm::Literal> for Literal`
60 impl From<$($prefix)* Literal> for Literal<String> {
61 fn from(src: $($prefix)* Literal) -> Self {
63 // the Rust grammar, so if we have a valid Rust literal, we should always be
66 .expect("bug: failed to parse output of `Literal::to_string`")
76 // ===== `TryFrom<pm::TokenTree> for Literal`
[all …]
Derr.rs31 TokenTree::from(proc_macro::Literal::string(&msg)).into(), in to_compile_error()
56 TokenTree::from(proc_macro2::Literal::string(&msg)).into(), in to_compile_error2()
74 TokenKind::Literal => "a literal", in fmt()
75 TokenKind::BoolLit => "a bool literal (`true` or `false`)", in fmt()
76 TokenKind::ByteLit => "a byte literal (e.g. `b'r')", in fmt()
77 TokenKind::ByteStringLit => r#"a byte string literal (e.g. `b"fox"`)"#, in fmt()
78 TokenKind::CharLit => "a character literal (e.g. `'P'`)", in fmt()
79 TokenKind::FloatLit => "a float literal (e.g. `3.14`)", in fmt()
80 TokenKind::IntegerLit => "an integer literal (e.g. `27`)", in fmt()
81 TokenKind::StringLit => r#"a string literal (e.g. "Ferris")"#, in fmt()
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/proc-macro2-1.0.80/tests/
H A Dtest.rs10 use proc_macro2::{Ident, Literal, Punct, Spacing, Span, TokenStream, TokenTree};
53 #[should_panic(expected = "Ident cannot be a number; use Literal instead")]
103 fn assert(literal: Literal, expected: &str) { in literal_string() argument
104 assert_eq!(literal.to_string(), expected.trim()); in literal_string()
107 assert(Literal::string(""), r#" "" "#); in literal_string()
108 assert(Literal::string("aA"), r#" "aA" "#); in literal_string()
109 assert(Literal::string("\t"), r#" "\t" "#); in literal_string()
110 assert(Literal::string("❤"), r#" "❤" "#); in literal_string()
111 assert(Literal::string("'"), r#" "'" "#); in literal_string()
112 assert(Literal::string("\""), r#" "\"" "#); in literal_string()
[all …]
/aosp_15_r20/external/harfbuzz_ng/docs/
H A Dusermanual-opentype-features.xml41 <emphasis>shaper</emphasis> to use (<literal>ot</literal> for
42 OpenType fonts, <literal>aat</literal> for Apple Advanced
51 categorization by code point. If a font has an AAT <literal>morx</literal> table,
54 <literal>kerx</literal> table, then it is used for positioning; if not, but
56 table is found, but there is a <literal>kern</literal> table, then HarfBuzz will
57 use the <literal>kern</literal> table. If there is no <literal>kerx</literal>, no GPOS, and no
58 <literal>kern</literal>, HarfBuzz will fall back to positioning marks itself.
80 <literal>HB_BUFFER_CONTENT_TYPE_GLYPHS</literal>, indicating
142 on every text run. They include <literal>abvm</literal>,
143 <literal>blwm</literal>, <literal>ccmp</literal>,
[all …]
H A Dusermanual-clusters.xml51 <literal>ccmp</literal> feature). Operations like these alter
179 <literal>cluster_level</literal> of the
215 setting its <literal>cluster_level</literal> to
216 <literal>HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES</literal>.
237 setting its <literal>cluster_level</literal> to
238 <literal>HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS</literal>.
256 setting its <literal>cluster_level</literal> to
257 <literal>HB_BUFFER_CLUSTER_LEVEL_CHARACTERS</literal>.
376 Now if, for example, <literal>B</literal> and <literal>C</literal>
388 cluster values of <literal>B</literal> and
[all …]
/aosp_15_r20/external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/engine/lexicon/
H A DLiteralTest.java24 assertThat(Literal.isBooleanLiteral("True")).isFalse(); in booleanDetected()
25 assertThat(Literal.isBooleanLiteral("true")).isTrue(); in booleanDetected()
30 assertThat(Literal.isNullLiteral("NULL")).isFalse(); in nullLDetected()
31 assertThat(Literal.isNullLiteral("null")).isTrue(); in nullLDetected()
32 assertThat(Literal.isNullLiteral("null_asdf")).isFalse(); in nullLDetected()
33 assertThat(Literal.isNullLiteral("1null")).isFalse(); in nullLDetected()
38 assertThat(Literal.isIntegerLiteral("a123")).isFalse(); in integerDetected()
39 assertThat(Literal.isIntegerLiteral("123")).isTrue(); in integerDetected()
40 assertThat(Literal.isIntegerLiteral("-123")).isTrue(); in integerDetected()
41 assertThat(Literal.isIntegerLiteral("123L")).isFalse(); in integerDetected()
[all …]
/aosp_15_r20/external/jemalloc_new/doc/
H A Djemalloc.xml.in479 documentation). For example, <literal>abort:true,narenas:1</literal> sets
695 <literal>rw</literal>, <literal>r-</literal>, <literal>-w</literal>, or
696 <literal>--</literal>, and required build configuration flags follow, if
697 any. A name element encoded as <literal>&lt;i&gt;</literal> or
698 <literal>&lt;j&gt;</literal> indicates an integer component, where the
702 <literal>&lt;i&gt;</literal> equal to
705 <literal>&lt;i&gt;</literal> equal to
725 <literal>r-</literal>
734 <literal>rw</literal>
746 <literal>rw</literal>
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/regex-syntax-0.8.3/src/hir/
H A Dliteral.rs2 Provides literal extraction from `Hir` expressions.
5 [`Seq`] of [`Literal`]s.
7 The purpose of literal extraction is generally to provide avenues for
14 With that said, literal optimizations are generally a black art because even
20 effective literal optimizations:
24 and thus the overhead of using literal optimizations in the first place might
28 haystack, for example, is probably a bad literal optimization because it's
34 skipping the literal optimization and just use the regex engine.
37 any kind of literal optimization be a net slower result. This is why it
39 literal optimizations to be dynamically disabled if they are determined to be
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/compiler/tf2xla/
H A Dxla_op_kernel.cc140 xla::Literal* constant_literal, in ConstantInput()
167 int index, xla::Literal* dynamism_literal) { in ResolveInputDynamism()
173 absl::string_view name, xla::Literal* dynamism_literal) { in ResolveInputDynamism()
179 xla::Literal* constant_literal, in ConstantInput()
187 xla::Literal* constant_literal, xla::ValueInferenceMode mode) { in ConstantInputReshaped()
202 // Converts an int32 or int64 scalar literal to an int64.
203 static Status LiteralToInt64Scalar(const xla::LiteralSlice& literal, in LiteralToInt64Scalar() argument
205 if (literal.shape().rank() != 0) { in LiteralToInt64Scalar()
208 if (literal.shape().element_type() == xla::S32) { in LiteralToInt64Scalar()
209 *out = literal.Get<int32>({}); in LiteralToInt64Scalar()
[all …]
/aosp_15_r20/external/python/mako/test/templates/
Dinternationalization.html94 <tt class="docutils literal"><span class="pre">????</span></tt> characters or have written some Pyt…
95 such as <tt class="docutils literal"><span class="pre">UnicodeDecodeError:</span> <span class="pre"…
105 unwanted <tt class="docutils literal"><span class="pre">?</span></tt> characters and <tt class="doc…
126 character is assigned a <em>code point</em>. For example the word <tt class="docutils literal"><spa…
127 from code points <tt class="docutils literal"><span class="pre">U+0048</span> <span class="pre">U+0…
180 <tt class="docutils literal"><span class="pre">unicode</span></tt> type. Under the hood, Python rep…
182 …he <tt class="docutils literal"><span class="pre">unicode()</span></tt> constructor has the signat…
187 <pre class="literal-block">
199 <p>The <tt class="docutils literal"><span class="pre">errors</span></tt> argument specifies what to…
200 ascii. Legal values for this argument are <tt class="docutils literal"><span class="pre">'strict'</…
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/client/
H A Dvalue_inference.cc27 #include "tensorflow/compiler/xla/literal.h"
44 Literal CreatePredLiteral(bool pred, const Shape& reference_shape) { in CreatePredLiteral()
46 std::vector<Literal> sub_literals; in CreatePredLiteral()
52 return Literal::MoveIntoTuple(absl::MakeSpan(sub_literals)); in CreatePredLiteral()
58 Literal literal = LiteralUtil::CreateR0(pred); in CreatePredLiteral() local
59 Literal literal_broadcast = in CreatePredLiteral()
60 literal.Broadcast(ShapeUtil::ChangeElementType(reference_shape, PRED), {}) in CreatePredLiteral()
65 Literal CreateS64Literal(int64_t value, const Shape& reference_shape) { in CreateS64Literal()
67 std::vector<Literal> sub_literals; in CreateS64Literal()
73 return Literal::MoveIntoTuple(absl::MakeSpan(sub_literals)); in CreateS64Literal()
[all …]

12345678910>>...466