Home
last modified time | relevance | path

Searched refs:unsafe (Results 1 - 25 of 70) sorted by relevance

123

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DUnsafeUtil.java42 /** Utility class for working with unsafe operations. */
291 sun.misc.Unsafe unsafe = null; in getUnsafe()
293 unsafe = in getUnsafe()
315 return unsafe; in getUnsafe()
336 /** Indicates whether or not unsafe array operations are supported on this platform. */
539 sun.misc.Unsafe unsafe; field in UnsafeUtil.MemoryAccessor
541 MemoryAccessor(sun.misc.Unsafe unsafe) { in MemoryAccessor() argument
542 this.unsafe = unsafe; in MemoryAccessor()
546 return unsafe in objectFieldOffset()
618 JvmMemoryAccessor(sun.misc.Unsafe unsafe) JvmMemoryAccessor() argument
710 Android64MemoryAccessor(sun.misc.Unsafe unsafe) Android64MemoryAccessor() argument
830 Android32MemoryAccessor(sun.misc.Unsafe unsafe) Android32MemoryAccessor() argument
[all...]
H A DMessageSchema.java99 * Keep a direct reference to the unsafe object so we don't need to go through the UnsafeUtil
405 final sun.misc.Unsafe unsafe = UNSAFE; in newSchemaForRawMessageInfo()
492 fieldOffset = (int) unsafe.objectFieldOffset(oneofField); in newSchemaForRawMessageInfo()
504 presenceFieldOffset = (int) unsafe.objectFieldOffset(oneofCaseField); in newSchemaForRawMessageInfo()
527 fieldOffset = (int) unsafe.objectFieldOffset(field); in newSchemaForRawMessageInfo()
552 presenceFieldOffset = (int) unsafe.objectFieldOffset(hasBitsField); in newSchemaForRawMessageInfo()
1427 final sun.misc.Unsafe unsafe = UNSAFE; in getSerializedSizeProto2()
1443 currentPresenceField = unsafe.getInt(message, (long) presenceFieldOffset); in getSerializedSizeProto2()
1466 size += CodedOutputStream.computeInt64Size(number, unsafe.getLong(message, offset)); in getSerializedSizeProto2()
1471 size += CodedOutputStream.computeUInt64Size(number, unsafe in getSerializedSizeProto2()
[all...]
/kernel/linux/linux-5.10/arch/x86/boot/
H A Dvideo-mode.c31 void probe_cards(int unsafe) in probe_cards() argument
36 if (probed[unsafe]) in probe_cards()
39 probed[unsafe] = 1; in probe_cards()
42 if (card->unsafe == unsafe) { in probe_cards()
H A Dvideo.h76 int unsafe; /* Probing is unsafe, only do after "scan" */ member
H A Dvideo-bios.c123 .unsafe = 1,
/kernel/linux/linux-6.6/arch/x86/boot/
H A Dvideo-mode.c31 void probe_cards(int unsafe) in probe_cards() argument
36 if (probed[unsafe]) in probe_cards()
39 probed[unsafe] = 1; in probe_cards()
42 if (card->unsafe == unsafe) { in probe_cards()
H A Dvideo-bios.c123 .unsafe = 1,
/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/internal/
H A Dprimordials.js326 const makeSafe = (unsafe, safe) => {
327 if (SymbolIterator in unsafe.prototype) {
328 const dummy = new unsafe();
331 ArrayPrototypeForEach(ReflectOwnKeys(unsafe.prototype), (key) => {
333 const desc = ReflectGetOwnPropertyDescriptor(unsafe.prototype, key);
350 copyProps(unsafe.prototype, safe.prototype);
352 copyProps(unsafe, safe);
/third_party/PyYAML/lib/yaml/
H A Dconstructor.py525 def find_python_module(self, name, mark, unsafe=False):
529 if unsafe:
540 def find_python_name(self, name, mark, unsafe=False):
549 if unsafe:
580 args=None, kwds=None, newobj=False, unsafe=False):
586 if not (unsafe or isinstance(cls, type)):
595 def set_python_instance_state(self, instance, state, unsafe=False):
603 if not unsafe and state:
610 if not unsafe:
716 return super(UnsafeConstructor, self).find_python_module(name, mark, unsafe
[all...]
/kernel/linux/linux-5.10/drivers/ntb/test/
H A Dntb_pingpong.c91 static unsigned int unsafe; variable
92 module_param(unsafe, uint, 0644);
93 MODULE_PARM_DESC(unsafe, "Run even though ntb operations may be unsafe");
247 dev_dbg(&ntb->dev, "Doorbell is unsafe\n"); in pp_check_ntb()
248 if (!unsafe) in pp_check_ntb()
253 dev_dbg(&ntb->dev, "Scratchpad is unsafe\n"); in pp_check_ntb()
254 if (!unsafe) in pp_check_ntb()
/kernel/linux/linux-6.6/drivers/ntb/test/
H A Dntb_pingpong.c91 static unsigned int unsafe; variable
92 module_param(unsafe, uint, 0644);
93 MODULE_PARM_DESC(unsafe, "Run even though ntb operations may be unsafe");
247 dev_dbg(&ntb->dev, "Doorbell is unsafe\n"); in pp_check_ntb()
248 if (!unsafe) in pp_check_ntb()
253 dev_dbg(&ntb->dev, "Scratchpad is unsafe\n"); in pp_check_ntb()
254 if (!unsafe) in pp_check_ntb()
/third_party/node/deps/npm/node_modules/ini/lib/
H A Dini.js125 section = unsafe(match[1])
135 const keyRaw = unsafe(match[2])
147 const valueRaw = match[3] ? unsafe(match[4]) : true
228 const unsafe = (val, doUnesc) => {
277 unsafe,
/third_party/node/lib/internal/per_context/
H A Dprimordials.js371 const makeSafe = (unsafe, safe) => {
372 if (SymbolIterator in unsafe.prototype) {
373 const dummy = new unsafe();
376 ArrayPrototypeForEach(ReflectOwnKeys(unsafe.prototype), (key) => {
378 const desc = ReflectGetOwnPropertyDescriptor(unsafe.prototype, key);
395 copyProps(unsafe.prototype, safe.prototype);
397 copyProps(unsafe, safe);
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/
H A DCsvTableTest.java212 Column<String> unsafe = Column.ofString("unsafe"); in testUnsafeString()
213 CsvSchema<String> schema = CsvSchema.of(TEST_MARSHALLER, Schema.builder().add(unsafe).build()); in testUnsafeString()
215 CsvTable.builder(schema).put("key", unsafe, "Control chars Not \0 Allowed").build(); in testUnsafeString()
230 Column<Perverse> unsafe = Column.of(Perverse.class, "Unsafe", Perverse.UNSAFE_VALUE); in testPerverseEdgeCase()
231 CsvSchema<String> schema = CsvSchema.of(TEST_MARSHALLER, Schema.builder().add(unsafe).build()); in testPerverseEdgeCase()
233 CsvTable.builder(schema).put("key", unsafe, Perverse.UNSAFE_VALUE).build(); in testPerverseEdgeCase()
/kernel/linux/linux-5.10/security/apparmor/
H A Ddomain.c796 bool *unsafe) in handle_onexec()
810 bprm, buffer, cond, unsafe)); in handle_onexec()
816 cond, unsafe)); in handle_onexec()
822 buffer, cond, unsafe)); in handle_onexec()
829 cond, unsafe)); in handle_onexec()
860 bool unsafe = false; in apparmor_bprm_creds_for_exec() local
879 if ((bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) && !unconfined(label) && in apparmor_bprm_creds_for_exec()
893 bprm, buffer, &cond, &unsafe); in apparmor_bprm_creds_for_exec()
897 &cond, &unsafe)); in apparmor_bprm_creds_for_exec()
916 if ((bprm->unsafe in apparmor_bprm_creds_for_exec()
792 handle_onexec(struct aa_label *label, struct aa_label *onexec, bool stack, const struct linux_binprm *bprm, char *buffer, struct path_cond *cond, bool *unsafe) handle_onexec() argument
[all...]
/kernel/linux/linux-6.6/security/apparmor/
H A Ddomain.c812 bool *unsafe) in handle_onexec()
826 bprm, buffer, cond, unsafe)); in handle_onexec()
833 cond, unsafe)); in handle_onexec()
839 buffer, cond, unsafe)); in handle_onexec()
847 cond, unsafe)); in handle_onexec()
880 bool unsafe = false; in apparmor_bprm_creds_for_exec() local
902 if ((bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) && !unconfined(label) && in apparmor_bprm_creds_for_exec()
916 bprm, buffer, &cond, &unsafe); in apparmor_bprm_creds_for_exec()
921 &cond, &unsafe)); in apparmor_bprm_creds_for_exec()
940 if ((bprm->unsafe in apparmor_bprm_creds_for_exec()
807 handle_onexec(const struct cred *subj_cred, struct aa_label *label, struct aa_label *onexec, bool stack, const struct linux_binprm *bprm, char *buffer, struct path_cond *cond, bool *unsafe) handle_onexec() argument
[all...]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DCodedOutputStreamTest.java152 private final boolean unsafe; field in CodedOutputStreamTest.NioDirectCoder
154 NioDirectCoder(int size, boolean unsafe) { in NioDirectCoder() argument
155 this(size, 0, unsafe); in NioDirectCoder()
158 NioDirectCoder(int size, int initialPosition, boolean unsafe) { in NioDirectCoder() argument
159 this.unsafe = unsafe; in NioDirectCoder()
164 unsafe in NioDirectCoder()
187 return unsafe ? OutputType.NIO_DIRECT_SAFE : OutputType.NIO_DIRECT_UNSAFE; in getOutputType()
/kernel/linux/linux-6.6/tools/testing/selftests/
H A Dlib.mk75 rsync -aq --copy-unsafe-links $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES) $(OUTPUT); \
89 $(if $(INSTALL_LIST),rsync -a --copy-unsafe-links $(INSTALL_LIST) $(INSTALL_PATH)/)
/third_party/jinja2/
H A Dsandbox.py1 """A sandbox layer that ensures unsafe operations cannot be performed.
28 #: Unsafe method attributes. Function attributes are unsafe for methods too.
31 #: unsafe generator attributes.
34 #: unsafe attributes on coroutines
37 #: unsafe attributes on async generators
112 def unsafe(f: F) -> F: function
113 """Marks a function or method as unsafe.
117 @unsafe
181 for typespec, unsafe in _mutable_spec:
183 return attr in unsafe
[all...]
/third_party/node/deps/v8/third_party/jinja2/
H A Dsandbox.py2 """A sandbox layer that ensures unsafe operations cannot be performed.
24 #: attributes of function objects that are considered unsafe.
38 #: unsafe method attributes. function attributes are unsafe for methods too
41 #: unsafe generator attributes.
44 #: unsafe attributes on coroutines
47 #: unsafe attributes on async generators
181 def unsafe(f): function
182 """Marks a function or method as unsafe.
186 @unsafe
[all...]
/third_party/node/tools/inspector_protocol/jinja2/
H A Dsandbox.py30 #: attributes of function objects that are considered unsafe.
40 #: unsafe method attributes. function attributes are unsafe for methods too
43 #: unsafe generator attirbutes.
46 #: unsafe attributes on coroutines
49 #: unsafe attributes on async generators
158 def unsafe(f): function
159 """Marks a function or method as unsafe.
163 @unsafe
229 for typespec, unsafe i
[all...]
/third_party/skia/third_party/externals/jinja2/
H A Dsandbox.py2 """A sandbox layer that ensures unsafe operations cannot be performed.
24 #: attributes of function objects that are considered unsafe.
38 #: unsafe method attributes. function attributes are unsafe for methods too
41 #: unsafe generator attributes.
44 #: unsafe attributes on coroutines
47 #: unsafe attributes on async generators
181 def unsafe(f): function
182 """Marks a function or method as unsafe.
186 @unsafe
[all...]
/third_party/python/Lib/test/
H A Dtest_shlex.py330 unsafe = '"`$\\!' + unicode_sample
335 for u in unsafe:
338 for u in unsafe:
/third_party/skia/third_party/externals/libwebp/swig/
H A Dlibwebp.go14 import "unsafe"
16 type _ unsafe.Pointer
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
H A Dkeywords.h41 int unsafe; variable

Completed in 16 milliseconds

123