/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | UnsafeUtil.java | 42 /** 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 D | MessageSchema.java | 99 * 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...] |
/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/internal/ |
H A D | primordials.js | 326 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 D | constructor.py | 525 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...] |
/third_party/node/lib/internal/per_context/ |
H A D | primordials.js | 371 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/node/deps/npm/node_modules/ini/lib/ |
H A D | ini.js | 125 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/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/ |
H A D | CsvTableTest.java | 212 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()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | CodedOutputStreamTest.java | 152 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()
|
/third_party/jinja2/ |
H A D | sandbox.py | 1 """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 D | sandbox.py | 2 """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 D | sandbox.py | 30 #: 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 D | sandbox.py | 2 """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 D | test_shlex.py | 330 unsafe = '"`$\\!' + unicode_sample 335 for u in unsafe: 338 for u in unsafe:
|
H A D | test_uuid.py | 38 unsafe = -1 variable in BaseTestUUID.test_safe_uuid_enum.CheckedSafeUUID 452 is_safe=self.uuid.SafeUUID.unsafe) 498 self.uuid.SafeUUID.unsafe, 575 self.assertEqual(u.is_safe, self.uuid.SafeUUID.unsafe)
|
/third_party/skia/third_party/externals/libwebp/swig/ |
H A D | libwebp.go | 14 import "unsafe" 16 type _ unsafe.Pointer
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
H A D | keywords.h | 41 int unsafe; variable
|
/third_party/ffmpeg/libavfilter/ |
H A D | avf_concat.c | 44 unsigned unsafe; member 66 { "unsafe", "enable unsafe mode", 67 OFFSET(unsafe), 150 /* possible enhancement: unsafe mode, do not check */ in config_output() 165 if (!cat->unsafe) in config_output()
|
/third_party/python/Lib/unittest/ |
H A D | mock.py | 439 _spec_as_instance=False, _eat_self=None, unsafe=False, **kwargs 470 __dict__['_mock_unsafe'] = unsafe 1237 * `unsafe`: By default, accessing any attribute whose name starts with 1239 AttributeError. Passing `unsafe=True` will allow access to 1268 f"{typo!r} might be a typo; use unsafe=True if this is intended" 1279 spec_set, autospec, new_callable, kwargs, *, unsafe=False 1290 if not unsafe: 1620 new_callable=None, *, unsafe=False, **kwargs 1642 spec_set, autospec, new_callable, kwargs, unsafe=unsafe [all...] |
/third_party/skia/third_party/externals/brotli/go/cbrotli/ |
H A D | writer.go | 48 "unsafe" 113 output := (*[1 << 30]byte)(unsafe.Pointer(result.output_data))[:length:length]
|
/third_party/ltp/scripts/ |
H A D | checkbashisms.pl | 759 q<unsafe echo with backslash>, 775 q<unsafe echo with backslash>,
|
/third_party/python/Lib/unittest/test/testmock/ |
H A D | testmock.py | 1648 m = Mock(unsafe=True) 2262 with patch(f'{__name__}.Something.meth', unsafe=True, autospect=True): 2264 with patch.object(Foo, 'one', unsafe=True, autospect=True): pass 2265 with patch(f'{__name__}.Something.meth', unsafe=True, auto_spec=True): 2267 with patch.object(Foo, 'one', unsafe=True, auto_spec=True): pass 2268 with patch(f'{__name__}.Something.meth', unsafe=True, set_spec=True): 2270 with patch.object(Foo, 'one', unsafe=True, set_spec=True): pass 2271 m = create_autospec(Foo, set_spec=True, unsafe=True)
|
/third_party/icu/icu4c/source/i18n/ |
H A D | collationbuilder.cpp | 1676 USet *unsafe, in ucol_getUnsafeSet() 1682 uset_clear(unsafe); in ucol_getUnsafeSet() 1689 uset_applyPattern(unsafe, cccpattern, 24, USET_IGNORE_SPACE, status); in ucol_getUnsafeSet() 1692 // (trail surrogates should need to be unsafe only if the caller tests for UTF-16 code *units*, in ucol_getUnsafeSet() 1694 uset_addRange(unsafe, 0xd800, 0xdfff); in ucol_getUnsafeSet() 1703 // to get unsafe code points, we need to in ucol_getUnsafeSet() 1704 // break the strings apart and add them to the unsafe set in ucol_getUnsafeSet() 1712 uset_add(unsafe, c); in ucol_getUnsafeSet() 1720 return uset_size(unsafe); in ucol_getUnsafeSet() 1675 ucol_getUnsafeSet( const UCollator *coll, USet *unsafe, UErrorCode *status) ucol_getUnsafeSet() argument
|
H A D | rulebasedcollator.cpp | 1125 UBool unsafe = false; in doCompare() local 1130 unsafe = data->isUnsafeBackward(c, numeric); in doCompare() 1132 if(!unsafe && equalPrefixLength != rightLength) { in doCompare() 1136 unsafe = data->isUnsafeBackward(c, numeric); in doCompare() 1138 if(unsafe) { in doCompare()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | collationbuilder.cpp | 1697 USet *unsafe, in ucol_getUnsafeSet() 1703 uset_clear(unsafe); in ucol_getUnsafeSet() 1710 uset_applyPattern(unsafe, cccpattern, 24, USET_IGNORE_SPACE, status); in ucol_getUnsafeSet() 1713 // (trail surrogates should need to be unsafe only if the caller tests for UTF-16 code *units*, in ucol_getUnsafeSet() 1715 uset_addRange(unsafe, 0xd800, 0xdfff); in ucol_getUnsafeSet() 1724 // to get unsafe code points, we need to in ucol_getUnsafeSet() 1725 // break the strings apart and add them to the unsafe set in ucol_getUnsafeSet() 1733 uset_add(unsafe, c); in ucol_getUnsafeSet() 1741 return uset_size(unsafe); in ucol_getUnsafeSet() 1696 ucol_getUnsafeSet( const UCollator *coll, USet *unsafe, UErrorCode *status) ucol_getUnsafeSet() argument
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | collationbuilder.cpp | 1670 USet *unsafe, in ucol_getUnsafeSet() 1676 uset_clear(unsafe); in ucol_getUnsafeSet() 1683 uset_applyPattern(unsafe, cccpattern, 24, USET_IGNORE_SPACE, status); in ucol_getUnsafeSet() 1686 // (trail surrogates should need to be unsafe only if the caller tests for UTF-16 code *units*, in ucol_getUnsafeSet() 1688 uset_addRange(unsafe, 0xd800, 0xdfff); in ucol_getUnsafeSet() 1697 // to get unsafe code points, we need to in ucol_getUnsafeSet() 1698 // break the strings apart and add them to the unsafe set in ucol_getUnsafeSet() 1706 uset_add(unsafe, c); in ucol_getUnsafeSet() 1714 return uset_size(unsafe); in ucol_getUnsafeSet() 1669 ucol_getUnsafeSet( const UCollator *coll, USet *unsafe, UErrorCode *status) ucol_getUnsafeSet() argument
|