Home
last modified time | relevance | path

Searched refs:safe (Results 1 – 25 of 753) sorted by relevance

12345678910>>...31

/external/python/cpython2/Lib/test/
Dtest_pprint.py58 for safe in (2, 2.0, 2j, "abc", [3], (2,2), {3: 3}, uni("yaddayadda"),
62 self.assertFalse(pprint.isrecursive(safe),
63 "expected not isrecursive for %r" % (safe,))
64 self.assertTrue(pprint.isreadable(safe),
65 "expected isreadable for %r" % (safe,))
67 self.assertFalse(pp.isrecursive(safe),
68 "expected not isrecursive for %r" % (safe,))
69 self.assertTrue(pp.isreadable(safe),
70 "expected isreadable for %r" % (safe,))
93 for safe in self.a, self.b, self.d, (self.d, self.d):
[all …]
/external/webrtc/webrtc/libjingle/xmllite/
Dxmlprinter.cc130 size_t safe = 0; in PrintQuotedValue() local
132 size_t unsafe = text.find_first_of("<>&\"", safe); in PrintQuotedValue()
135 *pout_ << text.substr(safe, unsafe - safe); in PrintQuotedValue()
144 safe = unsafe + 1; in PrintQuotedValue()
145 if (safe == text.length()) in PrintQuotedValue()
151 size_t safe = 0; in PrintBodyText() local
153 size_t unsafe = text.find_first_of("<>&", safe); in PrintBodyText()
156 *pout_ << text.substr(safe, unsafe - safe); in PrintBodyText()
164 safe = unsafe + 1; in PrintBodyText()
165 if (safe == text.length()) in PrintBodyText()
/external/clang/docs/
DSafeStack.rst14 the safe stack and the unsafe stack. The safe stack stores return addresses,
15 register spills, and local variables that are always accessed in a safe way,
18 on the safe stack.
36 used through multiple stack frames. Moving such objects away from the safe
56 changed to look for the live pointers on both safe and unsafe stacks.
64 ``__attribute__((no_sanitize("safe-stack")))`` below).
72 are always accessed in a safe way by separating them in a dedicated safe stack
73 region. The safe stack is automatically protected against stack-based buffer
75 is always accessed in a safe way. In the current implementation, the safe stack
77 randomization and information hiding: the safe stack is allocated at a random
[all …]
/external/clang/test/ARCMT/
Dcheck-api.m23 …[invok getReturnValue:&strong_id]; // expected-error {{NSInvocation's getReturnValue is not safe t…
24 …[invok getReturnValue:&weak_id]; // expected-error {{NSInvocation's getReturnValue is not safe to …
28 …[invok setReturnValue:&strong_id]; // expected-error {{NSInvocation's setReturnValue is not safe t…
29 …[invok setReturnValue:&weak_id]; // expected-error {{NSInvocation's setReturnValue is not safe to …
33 …rong_id atIndex:0]; // expected-error {{NSInvocation's getArgument is not safe to be used with an …
34 …weak_id atIndex:0]; // expected-error {{NSInvocation's getArgument is not safe to be used with an …
38 …rong_id atIndex:0]; // expected-error {{NSInvocation's setArgument is not safe to be used with an …
39 …weak_id atIndex:0]; // expected-error {{NSInvocation's setArgument is not safe to be used with an …
/external/libchrome/sandbox/linux/seccomp-bpf/
Dtrap.h30 uint16_t Add(TrapFnc fnc, const void* aux, bool safe) override;
44 TrapKey() : fnc(NULL), aux(NULL), safe(false) {} in TrapKey()
45 TrapKey(TrapFnc f, const void* a, bool s) : fnc(f), aux(a), safe(s) {} in TrapKey()
48 bool safe; member
Dtrap.cc224 if (!trap.safe) { in SigSys()
257 return std::tie(fnc, aux, safe) < std::tie(o.fnc, o.aux, o.safe); in operator <()
260 uint16_t Trap::Add(TrapFnc fnc, const void* aux, bool safe) { in Add() argument
261 if (!safe && !SandboxDebuggingAllowedByUser()) { in Add()
282 TrapKey key(fnc, aux, safe); in Add()
/external/llvm/test/CodeGen/X86/GC/
Derlang-gc.ll10 ; CHECK64-NEXT: .short 1 # safe point count
11 ; CHECK64-NEXT: .long .Ltmp0 # safe point address
18 ; CHECK32-NEXT: .short 1 # safe point count
19 ; CHECK32-NEXT: .long .Ltmp0 # safe point address
/external/llvm/test/Transforms/SafeStack/X86/
Dabi_ssp.ll1 ; RUN: opt -safe-stack -S -mtriple=i686-pc-linux-gnu < %s -o - | FileCheck --check-prefix=TLS --che…
2 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck --check-prefix=TLS --c…
3 ; RUN: opt -safe-stack -S -mtriple=i686-linux-android < %s -o - | FileCheck --check-prefix=TLS --ch…
4 ; RUN: opt -safe-stack -S -mtriple=x86_64-linux-android < %s -o - | FileCheck --check-prefix=TLS --…
Dabi.ll1 ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s --check-prefix=TLS
2 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck %s --check-prefix=TLS
3 ; RUN: opt -safe-stack -S -mtriple=i686-linux-android < %s -o - | FileCheck %s --check-prefix=DIREC…
4 ; RUN: opt -safe-stack -S -mtriple=x86_64-linux-android < %s -o - | FileCheck %s --check-prefix=DIR…
/external/ltp/testcases/lib/
Dtest_net.sh58 local safe=0
68 s) safe=1 ;;
78 [ "$safe" -eq 1 ] && \
99 [ "$safe" -eq 1 ] && \
468 local safe=
469 [ "$3" = "safe" ] && safe="-s"
474 if [ "$safe" ]; then
480 tst_rhost_run $safe -c "sysctl -qw $add_opt $name=$value"
/external/llvm/test/Transforms/SafeStack/
Darray.ll1 ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s
2 ; RUN: opt -safe-stack -safe-stack-usp-storage=single-thread -S -mtriple=i386-pc-linux-gnu < %s -o …
3 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck %s
4 ; RUN: opt -safe-stack -safe-stack-usp-storage=single-thread -S -mtriple=x86_64-pc-linux-gnu < %s -…
Dconstant-gep-call.ll1 ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s
2 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck %s
11 ; a safe stack protector.
Descape-call.ll1 ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s
2 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck %s
Dret.ll1 ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s
2 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck %s
Daddr-taken.ll1 ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s
2 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck %s
/external/markdown/markdown/
Dpostprocessors.py46 html, safe = self.markdown.htmlStash.rawHtmlBlocks[i]
47 if self.markdown.safeMode and not safe:
54 if safe or not self.markdown.safeMode:
/external/llvm/docs/CommandGuide/
Dbugpoint.rst62 **--safe-tool-args** *tool args*
64 Pass all arguments specified after **--safe-tool-args** to the "safe" execution
125 by compiling the program with the "safe" backend and running it.
134 **--safe-{llc,custom}**
137 generator as the "safe" code generator. This is a known-good code generator
143 be used as the "safe" backends.
148 **--safe-custom** options to execute the bitcode testcase. This can
173 **--safe-path** *path*
176 **--safe-{int,jit,llc,custom}**
/external/compiler-rt/test/safestack/
Dlit.cfg15 config.substitutions.append( ("%clang_nosafestack ", config.clang + " -O0 -fno-sanitize=safe-stack …
16 config.substitutions.append( ("%clang_safestack ", config.clang + " -O0 -fsanitize=safe-stack ") )
20 … '.join(config.lto_launch + [config.clang] + config.lto_flags + ['-flto -fsanitize=safe-stack '])))
/external/brotli/dec/
Ddecode.c371 static BROTLI_INLINE void PreloadSymbol(int safe, in PreloadSymbol() argument
376 if (safe) { in PreloadSymbol()
1045 int safe, BrotliDecoderState* s, int tree_type) { in DecodeBlockTypeAndLength() argument
1056 if (!safe) { in DecodeBlockTypeAndLength()
1120 int safe, BrotliDecoderState* s) { in DecodeLiteralBlockSwitchInternal() argument
1121 if (!DecodeBlockTypeAndLength(safe, s, 0)) { in DecodeLiteralBlockSwitchInternal()
1140 int safe, BrotliDecoderState* s) { in DecodeCommandBlockSwitchInternal() argument
1141 if (!DecodeBlockTypeAndLength(safe, s, 1)) { in DecodeCommandBlockSwitchInternal()
1159 int safe, BrotliDecoderState* s) { in DecodeDistanceBlockSwitchInternal() argument
1160 if (!DecodeBlockTypeAndLength(safe, s, 2)) { in DecodeDistanceBlockSwitchInternal()
[all …]
/external/swiftshader/third_party/LLVM/docs/CommandGuide/
Dbugpoint.pod60 =item B<--safe-tool-args> I<tool args>
62 Pass all arguments specified after B<--safe-tool-args> to the "safe" execution
120 by compiling the program with the "safe" backend and running it.
133 =item B<--safe-{llc,cbe,custom}>
136 generator as the "safe" code generator. This is a known-good code generator
142 cannot currently be used as the "safe" backends.
147 B<--safe-custom> options to execute the bitcode testcase. This can
165 =item B<--safe-path> I<path>
168 B<--safe-{int,jit,llc,cbe,custom}>
/external/safe-iop/
DREADME.version1 URL: https://code.google.com/p/safe-iop/downloads/detail?name=safe-iop-0.3.1.tgz&can=2&q=
/external/valgrind/auxprogs/
Dupdate-demangler53 cp ../gcc-$old_gcc_revision/include/safe-ctype.h .
60 cp ../gcc-$old_gcc_revision/libiberty/safe-ctype.c .
81 cp ../gcc-$new_gcc_revision/include/safe-ctype.h .
88 cp ../gcc-$new_gcc_revision/libiberty/safe-ctype.c .
/external/llvm/test/CodeGen/Mips/
Dmicromips-delay-slot-jr.ll39 …%safe = getelementptr inbounds [4 x %struct.barstruct], [4 x %struct.barstruct]* @bar_ary, i32 0, …
40 store float 1.420000e+02, float* %safe, align 4, !tbaa !1
41 ret float* %safe
/external/llvm/test/Transforms/InstCombine/
Drem.ll276 …nbounds ([5 x i16], [5 x i16]* @a, i64 0, i64 4), i16* @b), label %rem.is.safe, label %rem.is.unsa…
278 rem.is.safe:
279 ; CHECK: rem.is.safe:
305 br i1 %always_false, label %rem.is.safe, label %rem.is.unsafe
307 rem.is.safe:
311 ; CHECK: rem.is.safe:
334 …nbounds ([5 x i16], [5 x i16]* @a, i64 0, i64 4), i16* @b), label %rem.is.safe, label %rem.is.unsa…
336 rem.is.safe:
337 ; CHECK: rem.is.safe:
364 br i1 %always_false, label %rem.is.safe, label %rem.is.unsafe
[all …]
/external/python/cpython2/Lib/
Durllib.py188 fullurl = quote(fullurl, safe="%/:=&?~#+!$,;'@()*[]|")
740 proxyhost = quote(user, safe='') + ':' + quote(passwd, safe='') + '@' + proxyhost
757 proxyhost = quote(user, safe='') + ':' + quote(passwd, safe='') + '@' + proxyhost
770 host = quote(user, safe='') + ':' + quote(passwd, safe='') + '@' + host
783 host = quote(user, safe='') + ':' + quote(passwd, safe='') + '@' + host
1262 def quote(s, safe='/'): argument
1288 cachekey = (safe, always_safe)
1290 (quoter, safe) = _safe_quoters[cachekey]
1293 safe_map.update([(c, c) for c in safe])
1295 safe = always_safe + safe
[all …]

12345678910>>...31