Home
last modified time | relevance | path

Searched +full:argument +full:- +full:count (Results 1 – 25 of 1372) sorted by relevance

12345678910>>...55

/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/1/libcore/ojluni/src/main/java/java/lang/
DAbstractStringBuilder.java19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
53 * <p>Unless otherwise noted, passing a {@code null} argument to a constructor
75 * The count is the number of characters used.
77 int count; field in AbstractStringBuilder
82 * This no-arg constructor is necessary for serialization of subclasses.
113 int count1 = this.count; in compareTo()
114 int count2 = another.count; in compareTo()
125 * Returns the length (character count).
131 // We don't want to inline this method to be able to perform String-related
135 return count; in length()
[all …]
/aosp_15_r20/libcore/ojluni/src/main/java/java/lang/
H A DAbstractStringBuilder.java19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
53 * <p>Unless otherwise noted, passing a {@code null} argument to a constructor
75 * The count is the number of characters used.
77 int count; field in AbstractStringBuilder
82 * This no-arg constructor is necessary for serialization of subclasses.
113 int count1 = this.count; in compareTo()
114 int count2 = another.count; in compareTo()
125 * Returns the length (character count).
131 // We don't want to inline this method to be able to perform String-related
135 return count; in length()
[all …]
H A DString.java20 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
95 * <p> Unless otherwise noted, passing a {@code null} argument to a constructor
99 * <p>A {@code String} represents a string in the UTF-16 format
112 * finer-grain, locale-sensitive String comparison.
137 // BEGIN Android-changed: The character data is managed by the runtime.
141 - References to value[i] are replaced by charAt(i).
142 - References to value.length are replaced by calls to length().
143 - Sometimes the result of length() is assigned to a local variable to avoid repeated calls.
144 - We skip several attempts at optimization where the values field was assigned to a local
148 If STRING_COMPRESSION_ENABLED, count stores the length shifted one bit to the left with the
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/lang/
DAbstractStringBuilder.java19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
53 * <p>Unless otherwise noted, passing a {@code null} argument to a constructor
75 * The count is the number of characters used.
77 int count; field in AbstractStringBuilder
82 * This no-arg constructor is necessary for serialization of subclasses.
113 int count1 = this.count; in compareTo()
114 int count2 = another.count; in compareTo()
125 * Returns the length (character count).
131 // We don't want to inline this method to be able to perform String-related
135 return count; in length()
[all …]
DString.java20 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
95 * <p> Unless otherwise noted, passing a {@code null} argument to a constructor
99 * <p>A {@code String} represents a string in the UTF-16 format
112 * finer-grain, locale-sensitive String comparison.
137 // BEGIN Android-changed: The character data is managed by the runtime.
141 - References to value[i] are replaced by charAt(i).
142 - References to value.length are replaced by calls to length().
143 - Sometimes the result of length() is assigned to a local variable to avoid repeated calls.
144 - We skip several attempts at optimization where the values field was assigned to a local
148 If STRING_COMPRESSION_ENABLED, count stores the length shifted one bit to the left with the
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/src/fmt/
H A Drt.rs17 pub precision: Count,
18 pub width: Count,
28 precision: Count, in new() argument
29 width: Count, in new() argument
30 ) -> Self { in new()
44 /// Used by [width](https://doc.rust-lang.org/std/fmt/#width)
45 /// and [precision](https://doc.rust-lang.org/std/fmt/#precision) specifiers.
48 pub enum Count { enum
71 // INVARIANT: `formatter` has type `fn(&T, _) -> _` for some `T`, and `value`
74 formatter: unsafe fn(NonNull<()>, &mut Formatter<'_>) -> Result,
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/src/fmt/
H A Drt.rs17 pub precision: Count,
18 pub width: Count,
28 precision: Count, in new() argument
29 width: Count, in new() argument
30 ) -> Self { in new()
44 /// Used by [width](https://doc.rust-lang.org/std/fmt/#width)
45 /// and [precision](https://doc.rust-lang.org/std/fmt/#precision) specifiers.
48 pub enum Count { enum
71 // INVARIANT: `formatter` has type `fn(&T, _) -> _` for some `T`, and `value`
74 formatter: unsafe fn(NonNull<()>, &mut Formatter<'_>) -> Result,
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/src/fmt/
H A Drt.rs17 pub precision: Count,
18 pub width: Count,
28 precision: Count, in new() argument
29 width: Count, in new() argument
30 ) -> Self { in new()
44 /// Used by [width](https://doc.rust-lang.org/std/fmt/#width)
45 /// and [precision](https://doc.rust-lang.org/std/fmt/#precision) specifiers.
48 pub enum Count { enum
71 // INVARIANT: `formatter` has type `fn(&T, _) -> _` for some `T`, and `value`
74 formatter: unsafe fn(NonNull<()>, &mut Formatter<'_>) -> Result,
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/src/fmt/
H A Drt.rs16 pub precision: Count,
17 pub width: Count,
27 precision: Count, in new() argument
28 width: Count, in new() argument
29 ) -> Self { in new()
43 /// Used by [width](https://doc.rust-lang.org/std/fmt/#width)
44 /// and [precision](https://doc.rust-lang.org/std/fmt/#precision) specifiers.
47 pub enum Count { enum
71 formatter: fn(&Opaque, &mut Formatter<'_>) -> Result,
72 …cast_stub: fn(fn(&Opaque, &mut Formatter<'_>) -> Result, &Opaque, f: &mut Formatter<'_>) -> Result,
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/src/fmt/
H A Drt.rs16 pub precision: Count,
17 pub width: Count,
27 precision: Count, in new() argument
28 width: Count, in new() argument
29 ) -> Self { in new()
43 /// Used by [width](https://doc.rust-lang.org/std/fmt/#width)
44 /// and [precision](https://doc.rust-lang.org/std/fmt/#precision) specifiers.
47 pub enum Count { enum
71 formatter: fn(&Opaque, &mut Formatter<'_>) -> Result,
72 …cast_stub: fn(fn(&Opaque, &mut Formatter<'_>) -> Result, &Opaque, f: &mut Formatter<'_>) -> Result,
[all …]
/aosp_15_r20/external/clang/include/clang/StaticAnalyzer/Checkers/
H A DObjCRetainCount.h1 //==-- ObjCRetainCount.h - Retain count summaries for Cocoa -------*- C++ -*--//
8 //===----------------------------------------------------------------------===//
10 // This file defines the core data structures for retain count "summaries"
11 // for Objective-C and Core Foundation APIs. These summaries are used
13 // function and method calls. This drives a path-sensitive typestate
17 //===----------------------------------------------------------------------===//
32 /// An ArgEffect summarizes the retain count behavior on an argument or receiver
38 /// The argument is treated as if an -autorelease message had been sent to
42 /// The argument is treated as if an -dealloc message had been sent to
46 /// The argument has its reference count decreased by 1. This is as
[all …]
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dschema_info.cpp10 index != std::nullopt, "Schema has no argument named ", name); in addArgumentValue()
23 // NOLINTNEXTLINE(bugprone-unchecked-optional-access) in addArgumentValues()
41 [&name](const c10::Argument& arg) { return arg.name() == name; }); in hasInputArgumentNamed()
53 bool SchemaInfo::is_mutable(const c10::SchemaArgument& argument) { in is_mutable() argument
55 argument.index < schema_.getCorrectList(argument.type).size(), in is_mutable()
62 const auto& correct_map = (argument.type == c10::SchemaArgType::input) in is_mutable()
67 // argument causing its alias status to change. in is_mutable()
69 correct_map[argument.index].begin(), in is_mutable()
70 correct_map[argument.index].end(), in is_mutable()
76 return this->schema_ == training_op.first; in is_mutable()
[all …]
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/invoker/shard/
DShardHelperTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
124 * Tests that when --shard-count is given to local sharding we create shard-count number of
131 // shard-count is the number of shards we are requesting in testSplitWithShardCount()
132 setter.setOptionValue("shard-count", "3"); in testSplitWithShardCount()
137 // num-shards is a {@link StubTest} option that specify how many tests can stubtest split in testSplitWithShardCount()
139 setter.setOptionValue("num-shards", "5"); in testSplitWithShardCount()
149 public boolean matches(IConfiguration argument) { in testSplitWithShardCount()
150 assertEquals(1, argument.getTests().size()); in testSplitWithShardCount()
156 /** Tests that when --shard-count is not provided we create one shard per IRemoteTest. */
165 setter.setOptionValue("num-shards", "5"); in testSplit_noShardCount()
[all …]
/aosp_15_r20/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DUTF16.java6 * Copyright (C) 1996-2016, International Business Machines Corporation and
20 * Code that uses strings alone rarely need modification. By design, UTF-16 does not allow overlap,
22 * Substringing is safe if the start and end are both on UTF-32 boundaries. In normal code, the
24 * searching. If not, the nearest UTF-32 boundaries can be determined using <code>bounds()</code>.
37 * // iteration forwards: Changes for UTF-32
45 * for (int i = s.length() - 1; i &gt;= 0; --i) {
50 * // iteration backwards: Changes for UTF-32
52 * for (int i = s.length() - 1; i &gt; 0; i -= UTF16.getCharCount(ch)) {
62 * <code>offset16</code> and <code>offset32</code> are used to distinguish offsets to UTF-16
63 * boundaries vs offsets to UTF-32 boundaries. <code>int char32</code> is used to contain UTF-32
[all …]
/aosp_15_r20/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/text/
H A DUTF16.java5 * Copyright (C) 1996-2016, International Business Machines Corporation and
19 * Code that uses strings alone rarely need modification. By design, UTF-16 does not allow overlap,
21 * Substringing is safe if the start and end are both on UTF-32 boundaries. In normal code, the
23 * searching. If not, the nearest UTF-32 boundaries can be determined using <code>bounds()</code>.
36 * // iteration forwards: Changes for UTF-32
44 * for (int i = s.length() - 1; i &gt;= 0; --i) {
49 * // iteration backwards: Changes for UTF-32
51 * for (int i = s.length() - 1; i &gt; 0; i -= UTF16.getCharCount(ch)) {
61 * <code>offset16</code> and <code>offset32</code> are used to distinguish offsets to UTF-16
62 * boundaries vs offsets to UTF-32 boundaries. <code>int char32</code> is used to contain UTF-32
[all …]
/aosp_15_r20/external/icu/icu4c/source/i18n/
H A Dumsg.cpp6 * Copyright (C) 1999-2012, International Business Machines
11 * encoding: UTF-8
46 int32_t& count);
53 int32_t& count) { in getArgTypeList() argument
54 return m.getArgTypeList(count); in getArgTypeList()
71 //argument checking deferred to subsequent method calls in u_formatMessage()
92 //argument checking deferred to subsequent method calls in u_vformatMessage()
111 //argument checking deferred to subsequent method calls in u_formatMessageWithError()
133 //argument checking deferred to subsequent method calls in u_vformatMessageWithError()
155 //argument checking deferred to subsequent method calls in u_parseMessage()
[all …]
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/
H A Dumsg.cpp6 * Copyright (C) 1999-2012, International Business Machines
11 * encoding: UTF-8
46 int32_t& count);
53 int32_t& count) { in getArgTypeList() argument
54 return m.getArgTypeList(count); in getArgTypeList()
71 //argument checking deferred to subsequent method calls in u_formatMessage()
92 //argument checking deferred to subsequent method calls in u_vformatMessage()
111 //argument checking deferred to subsequent method calls in u_formatMessageWithError()
133 //argument checking deferred to subsequent method calls in u_vformatMessageWithError()
155 //argument checking deferred to subsequent method calls in u_parseMessage()
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/4/libcore/ojluni/src/main/java/java/lang/
DString.java20 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
95 * <p> Unless otherwise noted, passing a {@code null} argument to a constructor
99 * <p>A {@code String} represents a string in the UTF-16 format
112 * finer-grain, locale-sensitive String comparison.
137 // BEGIN Android-changed: The character data is managed by the runtime.
141 - References to value[i] are replaced by charAt(i).
142 - References to value.length are replaced by calls to length().
143 - Sometimes the result of length() is assigned to a local variable to avoid repeated calls.
144 - We skip several attempts at optimization where the values field was assigned to a local
148 If STRING_COMPRESSION_ENABLED, count stores the length shifted one bit to the left with the
[all …]
/aosp_15_r20/external/icu/icu4c/source/i18n/unicode/
H A Dmsgfmt.h4 * Copyright (C) 2007-2013, International Business Machines Corporation and
28 * \brief C++ API: Formats messages in a language-neutral way.
65 * itself doesn't implement locale-specific behavior. Any locale-specific
69 * <p>Arguments can be named (using identifiers) or numbered (using small ASCII-digit integers).
70 * Some of the API methods work only with argument numbers and throw an exception
73 * <p>An argument might not specify any format type. In this case,
77 * <p>An argument might specify a "simple" type for which the specified
80 * <p>An argument might have a "complex" type with nested MessageFormat sub-patterns.
81 * During formatting, one of these sub-messages is selected according to the argument value
85 * a top-level argument, overriding the default formatting and parsing behavior
[all …]
/aosp_15_r20/prebuilts/runtime/mainline/i18n/test-exports/common_os/include/external/icu/icu4c/source/i18n/unicode/
H A Dmsgfmt.h4 * Copyright (C) 2007-2013, International Business Machines Corporation and
28 * \brief C++ API: Formats messages in a language-neutral way.
65 * itself doesn't implement locale-specific behavior. Any locale-specific
69 * <p>Arguments can be named (using identifiers) or numbered (using small ASCII-digit integers).
70 * Some of the API methods work only with argument numbers and throw an exception
73 * <p>An argument might not specify any format type. In this case,
77 * <p>An argument might specify a "simple" type for which the specified
80 * <p>An argument might have a "complex" type with nested MessageFormat sub-patterns.
81 * During formatting, one of these sub-messages is selected according to the argument value
85 * a top-level argument, overriding the default formatting and parsing behavior
[all …]
/aosp_15_r20/external/icu/libicu/cts_headers/unicode/
H A Dmsgfmt.h4 * Copyright (C) 2007-2013, International Business Machines Corporation and
28 * \brief C++ API: Formats messages in a language-neutral way.
65 * itself doesn't implement locale-specific behavior. Any locale-specific
69 * <p>Arguments can be named (using identifiers) or numbered (using small ASCII-digit integers).
70 * Some of the API methods work only with argument numbers and throw an exception
73 * <p>An argument might not specify any format type. In this case,
77 * <p>An argument might specify a "simple" type for which the specified
80 * <p>An argument might have a "complex" type with nested MessageFormat sub-patterns.
81 * During formatting, one of these sub-messages is selected according to the argument value
85 * a top-level argument, overriding the default formatting and parsing behavior
[all …]
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/unicode/
H A Dmsgfmt.h4 * Copyright (C) 2007-2013, International Business Machines Corporation and
28 * \brief C++ API: Formats messages in a language-neutral way.
65 * itself doesn't implement locale-specific behavior. Any locale-specific
69 * <p>Arguments can be named (using identifiers) or numbered (using small ASCII-digit integers).
70 * Some of the API methods work only with argument numbers and throw an exception
73 * <p>An argument might not specify any format type. In this case,
77 * <p>An argument might specify a "simple" type for which the specified
80 * <p>An argument might have a "complex" type with nested MessageFormat sub-patterns.
81 * During formatting, one of these sub-messages is selected according to the argument value
85 * a top-level argument, overriding the default formatting and parsing behavior
[all …]
/aosp_15_r20/external/cronet/third_party/protobuf/php/tests/
H A DMapFieldTest.php20 // Test integer argument.
22 $this->assertSame(MAX_INT32, $arr[MAX_INT32]);
24 $this->assertSame(MIN_INT32, $arr[MIN_INT32]);
25 $this->assertEquals(2, count($arr));
26 $this->assertTrue(isset($arr[MAX_INT32]));
27 $this->assertTrue(isset($arr[MIN_INT32]));
30 $this->assertEquals(0, count($arr));
32 // Test float argument.
35 $this->assertSame(1, $arr[1]);
36 $this->assertSame(2, $arr[2]);
[all …]
/aosp_15_r20/external/protobuf/php/tests/
H A DMapFieldTest.php20 // Test integer argument.
22 $this->assertSame(MAX_INT32, $arr[MAX_INT32]);
24 $this->assertSame(MIN_INT32, $arr[MIN_INT32]);
25 $this->assertEquals(2, count($arr));
26 $this->assertTrue(isset($arr[MAX_INT32]));
27 $this->assertTrue(isset($arr[MIN_INT32]));
30 $this->assertEquals(0, count($arr));
32 // Test float argument.
35 $this->assertSame(1, $arr[1]);
36 $this->assertSame(2, $arr[2]);
[all …]
/aosp_15_r20/external/libcups/cups/
H A Dcupspm.md1 ---
4 copyright: Copyright © 2007-2022 by Apple Inc. All Rights Reserved.
30 - Do not use undocumented or deprecated APIs,
31 - Do not rely on pre-configured printers,
32 - Do not assume that printers support specific features or formats, and
33 - Do not rely on implementation details (PPDs, etc.)
38 copies, two-sided on A4 media, and staple each copy") and have the printing
78 if (dest->instance)
79 printf("%s/%s\n", dest->name, dest->instance);
81 puts(dest->name);
[all …]

12345678910>>...55