Home
last modified time | relevance | path

Searched refs:warn (Results 1 – 25 of 2002) sorted by relevance

12345678910>>...81

/external/libcups/systemv/
Dcupstestppd.c92 int warn);
95 int warn);
97 int warn);
99 int verbose, int warn);
101 int verbose, int warn);
102 static int check_sizes(ppd_file_t *ppd, int errors, int verbose, int warn);
104 int warn);
109 int verbose, int warn);
128 int warn; /* Which errors to just warn about */ in main() local
166 warn = WARN_NONE; in main()
[all …]
/external/bcc/libbpf-tools/
Duprobe_helpers.c18 #define warn(...) fprintf(stderr, __VA_ARGS__) macro
31 warn("snprintf /proc/PID/exe failed"); in get_pid_binary_path()
36 warn("No such pid %d\n", pid); in get_pid_binary_path()
40 warn("readlink truncation"); in get_pid_binary_path()
62 warn("snprintf /proc/PID/maps failed"); in get_pid_lib_path()
67 warn("No such pid %d\n", pid); in get_pid_lib_path()
91 warn("Cannot find library %s\n", lib); in get_pid_lib_path()
106 warn("snprintf which prog failed"); in which_program()
111 warn("which failed"); in which_program()
115 warn("fgets which failed"); in which_program()
[all …]
Dgethostlatency.c25 #define warn(...) fprintf(stderr, __VA_ARGS__) macro
62 warn("Invalid PID: %s\n", arg); in parse_arg()
70 warn("Invalid libc: %s\n", arg); in parse_arg()
114 warn("lost %llu events on CPU #%d\n", lost_cnt, cpu); in handle_lost_events()
156 warn("could not find libc.so\n"); in attach_uprobes()
162 warn("could not find getaddrinfo in %s\n", libc_path); in attach_uprobes()
168 warn("failed to attach getaddrinfo: %d\n", -errno); in attach_uprobes()
174 warn("failed to attach getaddrinfo: %d\n", -errno); in attach_uprobes()
180 warn("could not find gethostbyname in %s\n", libc_path); in attach_uprobes()
186 warn("failed to attach gethostbyname: %d\n", -errno); in attach_uprobes()
[all …]
Dsyscall_helpers.c12 #define warn(...) fprintf(stderr, __VA_ARGS__) macro
23 warn("strtol(%s): %s\n", buf, strerror(errno)); in parse_syscall()
26 warn("strtol(%s): no digits found\n", buf); in parse_syscall()
29 warn("strtol(%s): bad syscall number: %ld\n", buf, x); in parse_syscall()
33 warn("bad input: %s (expected <num>\t<name>)\n", buf); in parse_syscall()
52 warn("popen: ausyscall --dump: %s\n", strerror(errno)); in init_syscall_names()
58 warn("calloc: %s\n", strerror(errno)); in init_syscall_names()
80 warn("realloc: %s\n", strerror(errno)); in init_syscall_names()
88 warn("duplicate number: %d (stored: %s)", in init_syscall_names()
95 warn("strdup: %s\n", strerror(errno)); in init_syscall_names()
[all …]
Dfunclatency.c28 #define warn(...) fprintf(stderr, __VA_ARGS__) macro
93 warn("Invalid PID: %s\n", arg); in parse_arg()
100 warn("only set one of -m or -u\n"); in parse_arg()
107 warn("only set one of -m or -u\n"); in parse_arg()
116 warn("Invalid duration: %s\n", arg); in parse_arg()
125 warn("Invalid interval: %s\n", arg); in parse_arg()
141 warn("Too many function names: %s\n", arg); in parse_arg()
148 warn("Need a function to trace\n"); in parse_arg()
192 warn("failed to attach kprobe: %ld\n", err); in attach_kprobes()
200 warn("failed to attach kretprobe: %ld\n", err); in attach_kprobes()
[all …]
Dfiletop.c25 #define warn(...) fprintf(stderr, __VA_ARGS__) macro
81 warn("invalid PID: %s\n", arg); in parse_arg()
104 warn("invalid sort method: %s\n", arg); in parse_arg()
112 warn("invalid rows: %s\n", arg); in parse_arg()
130 warn("invalid interval\n"); in parse_arg()
136 warn("invalid count\n"); in parse_arg()
140 warn("unrecognized positional argument: %s\n", arg); in parse_arg()
215 warn("bpf_map_get_next_key failed: %s\n", strerror(errno)); in print_stat()
220 warn("bpf_map_lookup_elem failed: %s\n", strerror(errno)); in print_stat()
244 warn("bpf_map_get_next_key failed: %s\n", strerror(errno)); in print_stat()
[all …]
Dtcpconnect.c18 #define warn(...) fprintf(stderr, __VA_ARGS__) macro
49 warn("strtol: %s: %s\n", arg, strerror(errno)); in get_int()
71 warn("strtol: %s: %s\n", arg, strerror(errno)); in get_ints()
95 warn("strtoul: %s: %s\n", arg, strerror(errno)); in get_uint()
157 warn("invalid PID: %s\n", arg); in parse_arg()
164 warn("invalid UID: %s\n", arg); in parse_arg()
172 warn("invalid PORT_LIST: %s\n", arg); in parse_arg()
178 warn("not implemented: --cgroupmap"); in parse_arg()
181 warn("not implemented: --mntnsmap"); in parse_arg()
215 warn("dump_hash: %s", strerror(errno)); in print_count_ipv4()
[all …]
Dbindsnoop.c25 #define warn(...) fprintf(stderr, __VA_ARGS__) macro
77 warn("Invalid PID: %s\n", arg); in parse_arg()
84 warn("No ports specified\n"); in parse_arg()
92 warn("Invalid ports: %s\n", arg); in parse_arg()
167 warn("lost %llu events on CPU #%d\n", lost_cnt, cpu); in handle_lost_events()
192 warn("failed to open BPF object\n"); in main()
202 warn("failed to load BPF object: %d\n", err); in main()
218 warn("failed to attach BPF programs: %d\n", err); in main()
226 warn("failed to open perf buffer: %d\n", err); in main()
231 warn("can't set signal handler: %s\n", strerror(errno)); in main()
[all …]
Dklockstat.c32 #define warn(...) fprintf(stderr, __VA_ARGS__) macro
168 warn("Invalid PID: %s\n", arg); in parse_arg()
176 warn("Invalid TID: %s\n", arg); in parse_arg()
190 warn("Invalid NR_LOCKS: %s\n", arg); in parse_arg()
198 warn("Invalid NR_STACKS: %s\n", arg); in parse_arg()
204 warn("Bad sort string: %s\n", arg); in parse_arg()
212 warn("Invalid duration: %s\n", arg); in parse_arg()
221 warn("Invalid interval: %s\n", arg); in parse_arg()
295 warn("bad sort_acq %d\n", env.sort_acq); in sort_by_acq()
316 warn("bad sort_hld %d\n", env.sort_hld); in sort_by_hld()
[all …]
Dstatsnoop.c19 #define warn(...) fprintf(stderr, __VA_ARGS__) macro
60 warn("Invalid PID: %s\n", arg); in parse_arg()
120 warn("lost %llu events on CPU #%d\n", lost_cnt, cpu); in handle_lost_events()
143 warn("failed to open BPF object\n"); in main()
152 warn("failed to load BPF object: %d\n", err); in main()
158 warn("failed to attach BPF programs: %d\n", err); in main()
166 warn("failed to open perf buffer: %d\n", err); in main()
171 warn("can't set signal handler: %s\n", strerror(errno)); in main()
184 warn("error polling perf buffer: %s\n", strerror(-err)); in main()
Dsyscount.c27 #define warn(...) fprintf(stderr, __VA_ARGS__) macro
87 warn("strtol: %s: %s\n", arg, strerror(errno)); in get_int()
183 warn("localtime_r: %s", strerror(errno)); in print_timestamp()
204 warn("bpf_map_lookup_and_delete_batch: %s\n", in read_vals_batch()
248 warn("failed to get next key: %s\n", strerror(errno)); in read_vals()
259 warn("failed to lookup element: %s\n", strerror(errno)); in read_vals()
276 warn("failed to delete element: %s\n", strerror(errno)); in read_vals()
312 warn("invalid PID: %s\n", arg); in parse_arg()
319 warn("invalid INTERVAL: %s\n", arg); in parse_arg()
326 warn("invalid DURATION: %s\n", arg); in parse_arg()
[all …]
Dsolisten.c26 #define warn(...) fprintf(stderr, __VA_ARGS__) macro
64 warn("Invalid PID: %s\n", arg); in parse_arg()
130 warn("lost %llu events on CPU #%d\n", lost_cnt, cpu); in handle_lost_events()
153 warn("failed to open BPF object\n"); in main()
168 warn("failed to load BPF object: %d\n", err); in main()
174 warn("failed to attach BPF programs: %d\n", err); in main()
182 warn("failed to open perf buffer: %d\n", err); in main()
187 warn("can't set signal handler: %s\n", strerror(errno)); in main()
200 warn("error polling perf buffer: %s\n", strerror(-err)); in main()
Dbashreadline.c20 #define warn(...) fprintf(stderr, __VA_ARGS__) macro
89 warn("lost %llu events on CPU #%d\n", lost_cnt, cpu); in handle_lost_events()
164 warn("failed to find readline\n"); in main()
173 warn("failed to open and load BPF object\n"); in main()
179 warn("cound not find readline in %s\n", readline_so_path); in main()
187 warn("failed to attach readline: %d\n", err); in main()
195 warn("failed to open perf buffer: %d\n", err); in main()
200 warn("can't set signal handler: %s\n", strerror(errno)); in main()
209 warn("error polling perf buffer: %s\n", strerror(-err)); in main()
Dexitsnoop.c25 #define warn(...) fprintf(stderr, __VA_ARGS__) macro
69 warn("Invalid PID: %s\n", arg); in parse_arg()
145 warn("lost %llu events on CPU #%d\n", lost_cnt, cpu); in handle_lost_events()
168 warn("failed to open BPF object\n"); in main()
178 warn("failed to load BPF object: %d\n", err); in main()
184 warn("failed to attach BPF programs: %d\n", err); in main()
192 warn("failed to open perf buffer: %d\n", err); in main()
197 warn("can't set signal handler: %s\n", strerror(errno)); in main()
210 warn("error polling perf buffer: %s\n", strerror(-err)); in main()
/external/python/cpython3/Lib/unittest/test/
D_test_warnings.py18 warnings.warn('rw', RuntimeWarning)
38 warnings.warn('dw', DeprecationWarning)
39 warnings.warn('dw', DeprecationWarning)
40 warnings.warn('dw', DeprecationWarning)
43 warnings.warn('iw', ImportWarning)
44 warnings.warn('iw', ImportWarning)
45 warnings.warn('iw', ImportWarning)
49 warnings.warn('uw')
50 warnings.warn('uw')
51 warnings.warn('uw')
/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/
DSubstituteLogger.java201 public void warn(String msg) { in warn() method in SubstituteLogger
202 delegate().warn(msg); in warn()
205 public void warn(String format, Object arg) { in warn() method in SubstituteLogger
206 delegate().warn(format, arg); in warn()
209 public void warn(String format, Object arg1, Object arg2) { in warn() method in SubstituteLogger
210 delegate().warn(format, arg1, arg2); in warn()
213 public void warn(String format, Object... arguments) { in warn() method in SubstituteLogger
214 delegate().warn(format, arguments); in warn()
217 public void warn(String msg, Throwable t) { in warn() method in SubstituteLogger
218 delegate().warn(msg, t); in warn()
[all …]
DMarkerIgnoringBase.java118 public void warn(Marker marker, String msg) { in warn() method in MarkerIgnoringBase
119 warn(msg); in warn()
122 public void warn(Marker marker, String format, Object arg) { in warn() method in MarkerIgnoringBase
123 warn(format, arg); in warn()
126 public void warn(Marker marker, String format, Object arg1, Object arg2) { in warn() method in MarkerIgnoringBase
127 warn(format, arg1, arg2); in warn()
130 public void warn(Marker marker, String format, Object... arguments) { in warn() method in MarkerIgnoringBase
131 warn(format, arguments); in warn()
134 public void warn(Marker marker, String msg, Throwable t) { in warn() method in MarkerIgnoringBase
135 warn(msg, t); in warn()
/external/ltp/testcases/kernel/fs/ftest/
Dftest02.c241 #define warn(val,m1,m2) if ((val) < 0) dowarn(me,m1,m2) macro
260 warn(val, "rmdir", fname); in crfile()
263 warn(fd, "creating", fname); in crfile()
266 warn(val, "lseek", 0); in crfile()
269 warn(val, "write", 0); in crfile()
272 warn(val, "lseek", 0); in crfile()
275 warn(val, "read", 0); in crfile()
281 warn(val, "close", 0); in crfile()
326 warn(val, "mkdir", dir); in fussdir()
335 warn(val, "chdir", dir); in fussdir()
[all …]
Dftest06.c260 #define warn(val,m1,m2) if ((val) < 0) dowarn(me,m1,m2) macro
281 warn(val, "rmdir", fname); in crfile()
284 warn(fd, "creating", fname); in crfile()
287 warn(seekval, "lseek64", 0); in crfile()
290 warn(val, "write", 0); in crfile()
293 warn(seekval, "lseek64", 0); in crfile()
296 warn(val, "read", 0); in crfile()
302 warn(val, "close", 0); in crfile()
344 warn(val, "mkdir", dir); in fussdir()
353 warn(val, "chdir", dir); in fussdir()
[all …]
/external/rust/crates/x509-parser/src/
Dvalidate.rs71 fn validate<W, E>(&self, warn: W, err: E) -> bool in validate()
100 fn validate<W, E>(&self, mut warn: W, _err: E) -> bool in validate()
106 warn("a is greater than 10"); in validate()
115 let (res, warn, err) = v1.validate_to_vec(); in validate_warn()
117 assert!(warn.is_empty()); in validate_warn()
121 let (res, warn, err) = v20.validate_to_vec(); in validate_warn()
123 assert_eq!(warn, vec!["a is greater than 10".to_string()]); in validate_warn()
/external/clang/test/SemaObjC/
Dwarn-missing-super.m10 // Root class, shouldn't warn
13 // Root class, shouldn't warn
36 [super dealloc]; // Shouldn't warn
39 [super finalize]; // Shouldn't warn
44 // CHECK: warn-missing-super.m:24:1: warning: method possibly missing a [super dealloc] call
48 // CHECK-GC: warn-missing-super.m:24:1: warning: method possibly missing a [super dealloc] call
49 // CHECK-GC: warn-missing-super.m:26:1: warning: method possibly missing a [super finalize] call
53 // CHECK-GC-ONLY: warn-missing-super.m:26:1: warning: method possibly missing a [super finalize] ca…
57 // CHECK-ARC: warn-missing-super.m:36:10: error: ARC forbids explicit message send of 'dealloc'
/external/rust/crates/tracing/tests/
Dmacros.rs4 span, span_enabled, trace, trace_span, warn, warn_span, Level,
535 fn warn() { in warn() function
536 warn!(foo = ?3, bar.baz = %2, quux = false); in warn()
537 warn!(foo = 3, bar.baz = 2, quux = false); in warn()
538 warn!(foo = 3, bar.baz = 3,); in warn()
539 warn!("foo"); in warn()
540 warn!("foo: {}", 3); in warn()
541 warn!(foo = ?3, bar.baz = %2, quux = false, "hello world {:?}", 42); in warn()
542 warn!(foo = 3, bar.baz = 2, quux = false, "hello world {:?}", 42); in warn()
543 warn!(foo = 3, bar.baz = 3, "hello world {:?}", 42,); in warn()
[all …]
/external/testng/src/main/java/org/testng/internal/
DPropertyUtils.java23 …LOGGER.warn("Cannot set property " + name + " with value " + value + ". The target instance is nul… in setProperty()
29 …LOGGER.warn("Cannot set property " + name + " with value " + value + ". Property class could not b… in setProperty()
40 …LOGGER.warn("Cannot retrieve property class for " + propertyName + ". Target instance class is nul… in getPropertyType()
49 LOGGER.warn("Cannot retrieve property " + propertyName + ". Class is null"); in getPropertyDescriptor()
61 LOGGER.warn("Cannot retrieve property " + propertyName + ". Cause is: " + ie); in getPropertyDescriptor()
69 … LOGGER.warn("Cannot set property " + name + " with value " + value + ". Targe instance is null"); in setPropertyRealValue()
75 … LOGGER.warn("Cannot set property " + name + " with value " + value + ". Property does not exist"); in setPropertyRealValue()
83 LOGGER.warn("Cannot set property " + name + " with value " + value + ". Cause " + iae); in setPropertyRealValue()
/external/python/setuptools/pkg_resources/_vendor/packaging/
Dtags.py112 def _get_config_var(name: str, warn: bool = False) -> Union[int, str, None]:
114 if value is None and warn:
134 def _cpython_abis(py_version: PythonVersion, warn: bool = False) -> List[str]:
139 with_debug = _get_config_var("Py_DEBUG", warn)
148 with_pymalloc = _get_config_var("WITH_PYMALLOC", warn)
152 unicode_size = _get_config_var("Py_UNICODE_SIZE", warn)
175 warn: bool = False,
199 abis = _cpython_abis(python_version, warn)
238 warn: bool = False,
250 interp_version = interpreter_version(warn=warn)
[all …]
/external/python/setuptools/setuptools/_vendor/packaging/
Dtags.py112 def _get_config_var(name: str, warn: bool = False) -> Union[int, str, None]:
114 if value is None and warn:
134 def _cpython_abis(py_version: PythonVersion, warn: bool = False) -> List[str]:
139 with_debug = _get_config_var("Py_DEBUG", warn)
148 with_pymalloc = _get_config_var("WITH_PYMALLOC", warn)
152 unicode_size = _get_config_var("Py_UNICODE_SIZE", warn)
175 warn: bool = False,
199 abis = _cpython_abis(python_version, warn)
238 warn: bool = False,
250 interp_version = interpreter_version(warn=warn)
[all …]

12345678910>>...81