/external/chromium_org/sandbox/linux/seccomp-bpf/ |
H A D | errorcode.cc | 35 ErrorCode::ErrorCode(Trap::TrapFnc fnc, const void* aux, bool safe) argument 39 safe_(safe), 40 err_(SECCOMP_RET_TRAP + Trap::MakeTrap(fnc, aux, safe)) {
|
H A D | trap.h | 30 // responsibility to ensure that this happens in a thread-safe fashion. 42 // async-signal safe: 55 static uint16_t MakeTrap(TrapFnc fnc, const void* aux, bool safe); 67 // Returns true if a safe trap handler is associated with a 73 TrapKey() : fnc(NULL), aux(NULL), safe(false) {} 74 TrapKey(TrapFnc f, const void* a, bool s) : fnc(f), aux(a), safe(s) {} 77 bool safe; member in struct:sandbox::Trap::TrapKey 104 uint16_t MakeTrapImpl(TrapFnc fnc, const void* aux, bool safe);
|
H A D | errorcode.h | 132 bool safe() const { return safe_; } function in class:sandbox::ErrorCode 155 ErrorCode(Trap::TrapFnc fnc, const void* aux, bool safe);
|
H A D | trap.cc | 108 // Note: This class is not thread safe. It is the caller's responsibility 175 // safe and can lead to bugs. We should eventually implement a different 176 // logging and reporting mechanism that is safe to be called from 211 if (!trap.safe) { 249 return safe < o.safe; 253 uint16_t Trap::MakeTrap(TrapFnc fnc, const void* aux, bool safe) { argument 254 return GetInstance()->MakeTrapImpl(fnc, aux, safe); 257 uint16_t Trap::MakeTrapImpl(TrapFnc fnc, const void* aux, bool safe) { argument 258 if (!safe [all...] |
/external/openssl/apps/ |
H A D | prime.c | 67 int safe=0; local 90 else if(!strcmp(*argv,"-safe")) 91 safe=1; 133 BN_generate_prime_ex(bn,bits,safe,NULL,NULL,NULL);
|
/external/openssl/crypto/asn1/ |
H A D | asn_pack.c | 89 unsigned char *safe, *p; local 95 if (!(safe = OPENSSL_malloc (safelen))) { 99 p = safe; 103 if (buf) *buf = safe; 104 return safe;
|
/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
H A D | xmlprinter.cc | 147 size_t safe = 0; local 149 size_t unsafe = text.find_first_of("<>&\"", safe); 152 *pout_ << text.substr(safe, unsafe - safe); 161 safe = unsafe + 1; 162 if (safe == text.length()) 168 size_t safe = 0; local 170 size_t unsafe = text.find_first_of("<>&", safe); 173 *pout_ << text.substr(safe, unsafe - safe); [all...] |
/external/chromium_org/third_party/webrtc/libjingle/xmllite/ |
H A D | xmlprinter.cc | 130 size_t safe = 0; local 132 size_t unsafe = text.find_first_of("<>&\"", safe); 135 *pout_ << text.substr(safe, unsafe - safe); 144 safe = unsafe + 1; 145 if (safe == text.length()) 151 size_t safe = 0; local 153 size_t unsafe = text.find_first_of("<>&", safe); 156 *pout_ << text.substr(safe, unsafe - safe); [all...] |
/external/openssl/crypto/bn/ |
H A D | bn_depr.c | 68 BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, argument 84 if(!BN_generate_prime_ex(rnd, bits, safe, add, rem, &cb))
|
H A D | bn_prime.c | 159 int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, argument 181 if (safe) 197 if (!safe) 205 /* for "safe prime" generation, 223 /* We have a safe prime test pass */
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | content_providers.py | 177 def safe(name, action, callback): function in function:ContentProviders.Refresh 192 future = safe(path, 197 return Future(callback=lambda: safe(path, 'resolving', future.Get))
|
/external/chromium_org/ash/system/chromeos/power/ |
H A D | tray_power_unittest.cc | 190 PowerSupplyProperties safe = DefaultPowerSupplyProperties(); local 191 safe.set_battery_time_to_empty_sec(TrayPower::kNoWarningMinutes * 60 - 29); 192 EXPECT_FALSE(UpdateNotificationState(safe));
|
/external/chromium_org/content/browser/android/java/ |
H A D | gin_java_bound_object.cc | 175 jboolean safe = env->CallBooleanMethod(java_method.obj(), local 183 if (!safe)
|
/external/openfst/src/include/fst/ |
H A D | expanded-fst.h | 43 virtual ExpandedFst<A> *Copy(bool safe = false) const = 0; 143 ImplToExpandedFst(const ImplToExpandedFst<I, F> &fst, bool safe) argument 144 : ImplToFst<I, F>(fst, safe) {}
|
H A D | mutable-fst.h | 85 virtual MutableFst<A> *Copy(bool safe = false) const = 0; 271 // since it is then safe to update all (shallow) copies 355 ImplToMutableFst(const ImplToMutableFst<I, F> &fst, bool safe) argument 356 : ImplToExpandedFst<I, F>(fst, safe) {}
|
H A D | fst.h | 191 // (1) The copying is constant time if safe = false or if safe = true 194 // (2) If safe = true, the copy is thread-safe in that the original 203 virtual Fst<A> *Copy(bool safe = false) const = 0; 889 ImplToFst(const ImplToFst<I, F> &fst, bool safe) { argument 890 if (safe) {
|
/external/chromium_org/gpu/command_buffer/common/ |
H A D | gles2_cmd_utils.h | 55 bool safe = sum64 == static_cast<int64_t>(sum32); local 56 *dst = safe ? sum32 : 0; 57 return safe;
|
/external/chromium_org/third_party/boringssl/src/crypto/bn/ |
H A D | prime.c | 168 int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add, argument 180 } else if (bits == 2 && safe) { 181 /* The smallest safe prime (7) is three bits. */ 203 if (safe) { 219 if (!safe) { 227 /* for "safe prime" generation, check that (p-1)/2 is prime. Since a prime 251 /* We have a safe prime test pass */
|
/external/qemu/distrib/sdl-1.2.15/src/events/ |
H A D | SDL_events.c | 55 int safe; member in struct:__anon29406 67 while ( ! SDL_EventLock.safe ) { 121 SDL_EventLock.safe = 1; 130 safe flag will be set, meaning that the other thread can go 131 about it's business. The safe flag is reset before the V, 133 it's not safe to interfere with the event thread. 136 SDL_EventLock.safe = 0; 168 SDL_EventLock.safe = 0;
|
/external/chromium_org/chrome/browser/safe_browsing/ |
H A D | safe_browsing_test.cc | 6 // http://code.google.com/p/google-safe-browsing/ to test the safebrowsing 9 // http://code.google.com/p/google-safe-browsing/wiki/ProtocolTesting 219 void set_is_checked_url_safe(bool safe) { argument 221 is_checked_url_safe_ = safe; 331 // True if last verified URL is not a phishing URL and thus it is safe.
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | Game.java | 530 public void setSafeMode(boolean safe) { argument 531 mSurfaceView.setSafeMode(safe);
|
/external/bison/lib/ |
H A D | hash.c | 860 transfer_entries (Hash_table *dst, Hash_table *src, bool safe) argument 905 if (safe) 1011 and safe is better than failure. */
|
/external/chromium_org/sync/syncable/ |
H A D | directory.cc | 501 bool safe = entry->ref(IS_DEL) && !entry->is_dirty() && local 505 if (safe) { 525 return safe;
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
H A D | sctputil.c | 2492 int safe, int rtt_from_sack) 2504 if (safe == sctp_align_unsafe_makecopy) { 2507 } else if (safe == sctp_align_safe_nocopy) { 2488 sctp_calculate_rto(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_nets *net, struct timeval *told, int safe, int rtt_from_sack) argument
|
/external/valgrind/main/VEX/priv/ |
H A D | guest_ppc_toIR.c | 1773 IRExpr* safe; local 1775 safe = binop(Iop_And32, bit, mkU32(1)); 1781 putCR0(n, unop(Iop_32to8, safe)); 1793 binop(Iop_Shl32, safe, mkU8(toUChar(off))) 6131 /* Insert a memory fence, just to be on the safe side. */
|