Home
last modified time | relevance | path

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

12345678910>>...44

/external/clang/include/clang/StaticAnalyzer/Checkers/
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 …]
/external/skia/src/sksl/ir/
DSkSLSwizzle.cpp4 * Use of this source code is governed by a BSD-style license that can be
19 const int offset = base->fOffset; in Convert()
20 const Type& baseType = base->type(); in Convert()
25 SkASSERT(inComponents.count() >= 1 && inComponents.count() <= 4); in Convert()
61 // First, we need a vector expression that is the non-constant portion of the swizzle, packed: in Convert()
62 // scalar.xxx -> type3(scalar) in Convert()
63 // scalar.x0x0 -> type2(scalar) in Convert()
64 // vector.zyx -> vector.zyx in Convert()
65 // vector.x0y0 -> vector.xy in Convert()
69 if (maskComponents.count() == inComponents.count()) { in Convert()
[all …]
/external/llvm-project/clang/test/Analysis/
DCFContainers.mm1 // RUN: %clang_analyze_cc1 -triple x86_64-apple-darwin -analyzer-output=text\
2 // RUN: -analyzer-checker=osx.coreFoundation.containers.PointerSizedValues\
3 // RUN: -analyzer-checker=osx.coreFoundation.containers.OutOfBounds\
4 // RUN: -verify %s
102 void testContainers(int **xNoWarn, CFIndex count) {
105 …// expected-warning@-1 {{The second argument to 'CFArrayCreate' must be a C array of pointer-sized…
106 …// expected-note@-2 {{The second argument to 'CFArrayCreate' must be a C array of pointer-sized…
113 …// expected-warning@-1 {{The second argument to 'CFSetCreate' must be a C array of pointer-sized v…
114 …// expected-note@-2 {{The second argument to 'CFSetCreate' must be a C array of pointer-sized v…
115 CFArrayRef* pairs = new CFArrayRef[count];
[all …]
DNSContainers.m1-Wno-objc-literal-conversion -analyzer-checker=core,osx.cocoa.NonNilReturnValue,osx.cocoa.NilArg,o…
14 - (id)copyWithZone:(NSZone *)zone;
17 - (id)mutableCopyWithZone:(NSZone *)zone;
20 - (void)encodeWithCoder:(NSCoder *)aCoder;
27 - (id)init;
30 - (id)mutableCopy;
40 - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id [])buffer cou…
44 - (NSUInteger)count; method
45 - (id)objectAtIndex:(NSUInteger)index;
49 - (NSArray *)arrayByAddingObject:(id)anObject;
[all …]
/external/icu/icu4c/source/i18n/
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 defered to subsequent method calls in u_formatMessage()
92 //argument checking defered to subsequent method calls in u_vformatMessage()
111 //argument checking defered to subsequent method calls in u_formatMessageWithError()
133 //argument checking defered to subsequent method calls in u_vformatMessageWithError()
155 //argument checking defered to subsequent method calls in u_parseMessage()
[all …]
/external/protobuf/php/tests/
Dmap_field_test.php19 // Test integer argument.
21 $this->assertSame(MAX_INT32, $arr[MAX_INT32]);
23 $this->assertSame(MIN_INT32, $arr[MIN_INT32]);
24 $this->assertEquals(2, count($arr));
25 $this->assertTrue(isset($arr[MAX_INT32]));
26 $this->assertTrue(isset($arr[MIN_INT32]));
29 $this->assertEquals(0, count($arr));
31 // Test float argument.
34 $this->assertSame(1, $arr[1]);
35 $this->assertSame(2, $arr[2]);
[all …]
/external/python/cpython2/Lib/
Dpdb.doc13 you can use pdb's post-mortem facility to inspect the contents of the
62 Without argument, print the list of available commands. With
63 a command name as argument, print help about that command
80 With a filename:line number argument, set a break there. If
83 function. Without argument, list all breaks. Each breakpoint
87 The condition argument, if present, is a string which must
96 breakpoints. Without argument, clear all breaks (but first
104 (re-)enabled.
109 ignore bpnumber count
110 Sets the ignore count for the given breakpoint number. If
[all …]
/external/elfutils/backends/
Daarch64_retval.c61 return -1; in dwarf_bytesize_aux()
67 /* HFA (Homogeneous Floating-point Aggregate) is an aggregate type
68 whose members are all of the same floating-point type, which is
69 then base type of this HFA. Instead of being floating-point types
73 This function returns 0 if TYPEDIE is HFA, 1 if it is not, or -1 if
75 of the base type (e.g. 8 for IEEE double). *COUNT is set to the
80 /* Return 0 if MEMBDIE refers to a member with a floating-point or HFA
81 type, or 1 if it's not. Return -1 for errors. The meaning of the
95 return -1; in member_is_fp()
112 return -1; in member_is_fp()
[all …]
/external/python/cpython3/Doc/library/
Dpdb.rst3 :mod:`pdb` --- The Python Debugger
13 --------------
19 supports post-mortem debugging and can be called under program control.
26 The debugger is extensible -- it is actually defined as the class :class:`Pdb`.
45 Tab-completion via the :mod:`readline` module is available for commands and
52 python3 -m pdb myscript.py
54 When invoked as a script, pdb will automatically enter post-mortem debugging if
55 the program being debugged exits abnormally. After post-mortem debugging (or
61 :file:`pdb.py` now accepts a ``-c`` option that executes commands as if given
62 in a :file:`.pdbrc` file, see :ref:`debugger-commands`.
[all …]
/external/llvm-project/llvm/test/Other/
Dlint.ll1 ; RUN: opt -basic-aa -lint -disable-output < %s 2>&1 | FileCheck %s
2 ; RUN: opt -aa-pipeline=basic-aa -passes=lint -disable-output < %s 2>&1 | FileCheck %s
3 target datalayout = "e-p:64:64:64"
30 ; CHECK: All-ones pointer dereference
31 store i32 0, i32* inttoptr (i64 -1 to i32*)
51 ; CHECK: Shift count out of range
53 ; CHECK: Shift count out of range
55 ; CHECK: Shift count out of range
62 ; CHECK: Write to read-only memory
74 ; CHECK: Unusual: noalias argument aliases another argument
[all …]
/external/clang/test/Analysis/
DNSContainers.m1-Wno-objc-literal-conversion -analyze -analyzer-checker=core,osx.cocoa.NonNilReturnValue,osx.cocoa…
12 - (id)copyWithZone:(NSZone *)zone;
15 - (id)mutableCopyWithZone:(NSZone *)zone;
18 - (void)encodeWithCoder:(NSCoder *)aCoder;
25 - (id)init;
28 - (id)mutableCopy;
38 - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id [])buffer cou…
42 - (NSUInteger)count; method
43 - (id)objectAtIndex:(NSUInteger)index;
47 - (NSArray *)arrayByAddingObject:(id)anObject;
[all …]
DCFContainers.mm1-analyze -analyzer-checker=osx.coreFoundation.containers.PointerSizedValues,osx.coreFoundation.con…
99 void testContainers(int **xNoWarn, CFIndex count) {
101 …eof(x) / sizeof(x[0]), 0);// expected-warning {{The second argument to 'CFArrayCreate' must be a C…
107 … 3, &kCFTypeSetCallBacks); // expected-warning {{The second argument to 'CFSetCreate' must be a C …
108 CFArrayRef* pairs = new CFArrayRef[count];
109 …CFSetRef fSet = CFSetCreate(kCFAllocatorDefault, (const void**) pairs, count - 1, &kCFTypeSetCallB…
129 …lues, &keyCB, &valCB); //expected-warning {{The second argument to 'CFDictionaryCreate' must be a …
130 …alues, &keyCB, &valCB); // expected-warning {{The third argument to 'CFDictionaryCreate' must be a…
137 const void *s2 = CFArrayGetValueAtIndex(array, S-1); // no warning
138 …const void *s3 = CFArrayGetValueAtIndex(array, S); // expected-warning {{Index is out of bounds}}
[all …]
/external/ImageMagick/MagickWand/
Dmagick-cli.c25 % Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization %
51 #include "MagickWand/magick-wand-private.h"
53 #include "MagickWand/wandcli-private.h"
55 #include "MagickWand/magick-cli.h"
56 #include "MagickWand/script-token.h"
57 #include "MagickCore/utility-private.h"
58 #include "MagickCore/exception-private.h"
62 0 - no debug lines
63 3 - show option details (better to use -debug Command now)
64 5 - image counts (after option runs)
[all …]
/external/igt-gpu-tools/tools/
Ddpcd_reg.c48 size_t count; member
65 { .offset = 0, .count = 15 },
67 { .offset = 0x70, .count = 2 },
69 { .offset = 0x80, .count = 16 },
71 { .offset = 0x100, .count = 11 },
73 { .offset = 0x200, .count = 8 },
79 { .offset = 0x701, .count = 4 },
81 { .offset = 0x720, .count = 16},
83 { .offset = 0x732, .count = 2 },
85 { .offset = 0x2008, .count = 1 },
[all …]
/external/llvm/test/Other/
Dlint.ll1 ; RUN: opt -basicaa -lint -disable-output < %s 2>&1 | FileCheck %s
2 target datalayout = "e-p:64:64:64"
27 ; CHECK: All-ones pointer dereference
28 store i32 0, i32* inttoptr (i64 -1 to i32*)
48 ; CHECK: Shift count out of range
50 ; CHECK: Shift count out of range
52 ; CHECK: Shift count out of range
59 ; CHECK: Write to read-only memory
71 ; CHECK: Unusual: noalias argument aliases another argument
73 ; CHECK: Call argument count mismatches callee argument count
[all …]
/external/llvm-project/clang/test/Sema/
Dwarn-type-safety.cpp1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
16 …init __attribute__(( type_tag_for_datatype(zzz,int) )) = f(100); // expected-error {{'type_tag_for…
18 //===--- Tests ------------------------------------------------------------===//
24 void f1(void *buf, int count, MPI_Datatype datatype)
25 …__attribute__(( pointer_with_type_tag(mpi,5,6) )); // expected-error {{attribute parameter 2 is ou…
27 void f2(void *buf, int count, MPI_Datatype datatype)
28 …__attribute__(( pointer_with_type_tag(mpi,2,5) )); // expected-error {{attribute parameter 3 is ou…
30 void f3(void *buf, int count, MPI_Datatype datatype)
31 …pointer_with_type_tag(mpi,1,5) )); // expected-error {{attribute is invalid for the implicit this
33 void f4(void *buf, int count, MPI_Datatype datatype)
[all …]
/external/clang/test/Sema/
Dwarn-type-safety.cpp1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
16 …init __attribute__(( type_tag_for_datatype(zzz,int) )) = f(100); // expected-error {{'type_tag_for…
18 //===--- Tests ------------------------------------------------------------===//
24 void f1(void *buf, int count, MPI_Datatype datatype)
25 …__attribute__(( pointer_with_type_tag(mpi,5,6) )); // expected-error {{attribute parameter 2 is ou…
27 void f2(void *buf, int count, MPI_Datatype datatype)
28 …__attribute__(( pointer_with_type_tag(mpi,2,5) )); // expected-error {{attribute parameter 3 is ou…
30 void f3(void *buf, int count, MPI_Datatype datatype)
31 …pointer_with_type_tag(mpi,1,5) )); // expected-error {{attribute is invalid for the implicit this
33 void f4(void *buf, int count, MPI_Datatype datatype)
[all …]
/external/python/cpython2/Doc/library/
Dpdb.rst3 :mod:`pdb` --- The Python Debugger
11 --------------
19 supports post-mortem debugging and can be called under program control.
26 The debugger is extensible --- it is actually defined as the class :class:`Pdb`.
47 python -m pdb myscript.py
49 When invoked as a script, pdb will automatically enter post-mortem debugging if
50 the program being debugged exits abnormally. After post-mortem debugging (or
56 Restarting post-mortem behavior added.
81 -> print spam
96 explanation of the :keyword:`exec` statement or the :func:`eval` built-in
[all …]
/external/python/cpython3/Objects/clinic/
Dbytesobject.c.h6 "split($self, /, sep=None, maxsplit=-1)\n"
7 "--\n"
17 " -1 (the default value) means no limit.");
32 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_split()
34 Py_ssize_t maxsplit = -1; in bytes_split()
45 if (!--noptargs) { in bytes_split()
51 "integer argument expected, got float" ); in bytes_split()
55 Py_ssize_t ival = -1; in bytes_split()
61 if (ival == -1 && PyErr_Occurred()) { in bytes_split()
75 "--\n"
[all …]
/external/googletest/docs/reference/
Dmatchers.md3 A **matcher** matches a *single* argument. You can use it inside `ON_CALL()` or
7 | :----------------------------------- | :------------------------------------ |
17 Built-in matchers (where `argument` is the function argument, e.g.
25 :-------------------------- | :-----------------------------------------------
26 `_` | `argument` can be any value of the correct type.
27 `A<type>()` or `An<type>()` | `argument` can be any value of type `type`.
32 | :--------------------- | :-------------------------------------------------- |
33 | `Eq(value)` or `value` | `argument == value` |
34 | `Ge(value)` | `argument >= value` |
35 | `Gt(value)` | `argument > value` |
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DMacroParenthesesCheck.cpp1 //===--- MacroParenthesesCheck.cpp - clang-tidy----------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
26 replacementList(MacroNameTok, MD->getMacroInfo()); in MacroDefined()
27 argument(MacroNameTok, MD->getMacroInfo()); in MacroDefined()
35 void argument(const Token &MacroNameTok, const MacroInfo *MI);
42 /// Is argument surrounded properly with parentheses/braces/squares/commas?
48 /// Is argument surrounded properly with parentheses/braces/squares/commas?
78 if (Tok == MI->tokens_end()) in possibleVarDecl()
87 if (!Tok->isOneOf(tok::identifier, tok::raw_identifier, tok::coloncolon)) in possibleVarDecl()
[all …]
/external/icu/icu4c/source/i18n/unicode/
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 …]
/external/icu/libicu/cts_headers/unicode/
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 …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
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 …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
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 …]

12345678910>>...44