Home
last modified time | relevance | path

Searched refs:unsafe (Results 1 – 25 of 260) sorted by relevance

1234567891011

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DUnsafeUtil.java291 sun.misc.Unsafe unsafe = null; in getUnsafe() local
293 unsafe = in getUnsafe()
315 return unsafe; in getUnsafe()
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.objectFieldOffset(field); in objectFieldOffset()
554 return unsafe.getInt(target, offset); in getInt()
558 unsafe.putInt(target, offset, value); in putInt()
562 return unsafe.getLong(target, offset); in getLong()
[all …]
DMessageSchema.java405 final sun.misc.Unsafe unsafe = UNSAFE; in newSchemaForRawMessageInfo() local
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() local
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.getLong(message, offset)); in getSerializedSizeProto2()
1476 size += CodedOutputStream.computeInt32Size(number, unsafe.getInt(message, offset)); in getSerializedSizeProto2()
[all …]
/third_party/node/deps/npm/node_modules/ini/
Dini.js6 exports.unsafe = unsafe
82 section = unsafe(match[1])
92 var key = unsafe(match[2])
95 var value = match[3] ? unsafe(match[4]) : true
170 function unsafe (val, doUnesc) { function
DREADME.md94 ini.safe('"unsafe string"')
98 "\"unsafe string\""
100 ### unsafe(val)
/third_party/node/lib/internal/per_context/
Dprimordials.js299 const makeSafe = (unsafe, safe) => { argument
300 if (SymbolIterator in unsafe.prototype) {
301 const dummy = new unsafe();
304 ArrayPrototypeForEach(ReflectOwnKeys(unsafe.prototype), (key) => {
306 const desc = ReflectGetOwnPropertyDescriptor(unsafe.prototype, key);
323 copyProps(unsafe.prototype, safe.prototype);
325 copyProps(unsafe, safe);
/third_party/typescript_eslint/packages/eslint-plugin/docs/rules/
Dno-unsafe-member-access.md1 # Disallows member access on any typed variables (`no-unsafe-member-access`)
27 // Using an any to access a member is unsafe
54 - TSLint: [`no-unsafe-any`](https://palantir.github.io/tslint/rules/no-unsafe-any/)
Dno-unsafe-return.md1 # Disallows returning any from a function (`no-unsafe-return`)
9 …e function's declared/inferred return type to ensure you don't return an unsafe `any` in a generic…
89 - TSLint: [`no-unsafe-any`](https://palantir.github.io/tslint/rules/no-unsafe-any/)
Dno-unsafe-call.md1 # Disallows calling an any type value (`no-unsafe-call`)
48 - TSLint: [`no-unsafe-any`](https://palantir.github.io/tslint/rules/no-unsafe-any/)
Dstrict-boolean-expressions.md21 // nullable numbers are considered unsafe by default
27 // nullable strings are considered unsafe by default
33 // nullable booleans are considered unsafe by default
126 This is unsafe because nullable booleans can be either `false` or nullish.
133 This is unsafe because nullable strings can be either an empty string or nullish.
139 This is unsafe because nullable numbers can be either a falsy number or nullish.
145 This is unsafe for obvious reasons.
Dno-unsafe-assignment.md1 # Disallows assigning any to variables and properties (`no-unsafe-assignment`)
9 …s the assigned type to the variable's type to ensure you don't assign an unsafe `any` in a generic…
72 - TSLint: [`no-unsafe-any`](https://palantir.github.io/tslint/rules/no-unsafe-any/)
Dprefer-nullish-coalescing.md23 const nullish1 = emptyString ?? 'unsafe';
24 const logical1 = emptyString || 'unsafe';
27 // logical1 === 'unsafe'
/third_party/node/deps/npm/node_modules/npm-lifecycle/
Dindex.js249 var unsafe = opts.unsafePerm
250 var user = unsafe ? null : opts.user
251 var group = unsafe ? null : opts.group
258 opts.log.verbose('lifecycle', logid(pkg, stage), 'unsafe-perm in lifecycle', unsafe)
261 unsafe = true
264 if (unsafe) {
265 runCmd_(cmd, pkg, env, wd, opts, stage, unsafe, 0, 0, cb)
274 runCmd_(cmd, pkg, env, wd, opts, stage, unsafe, uid, gid, cb)
279 const getSpawnArgs = ({ cmd, wd, opts, uid, gid, unsafe, env }) => { property
286 if (!unsafe) {
[all …]
/third_party/PyYAML/lib/yaml/
Dconstructor.py525 def find_python_module(self, name, mark, unsafe=False): argument
529 if unsafe:
540 def find_python_name(self, name, mark, unsafe=False): argument
549 if unsafe:
580 args=None, kwds=None, newobj=False, unsafe=False): argument
586 if not (unsafe or isinstance(cls, type)):
595 def set_python_instance_state(self, instance, state, unsafe=False): argument
603 if not unsafe and state:
610 if not unsafe:
716 return super(UnsafeConstructor, self).find_python_module(name, mark, unsafe=True)
[all …]
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/
DCsvTableTest.java212 Column<String> unsafe = Column.ofString("unsafe"); in testUnsafeString() local
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() local
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/node/deps/npm/node_modules/safer-buffer/
DReadme.md46 $ cat example.unsafe.js
48 $ ./node-v6.13.0-linux-x64/bin/node example.unsafe.js
50 $ standard example.unsafe.js
52 …/home/chalker/repo/safer-buffer/example.unsafe.js:2:13: 'Buffer()' was deprecated since v6. Use 'B…
57 to avoid using unsafe API.
84 can bring unsafe Buffer API usage back to the codebase by adding new calls — and that could go
120 New commits, if tested, won't land new usage of unsafe Buffer API this way.
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
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()
/third_party/node/deps/npm/node_modules/buffer-from/
Dreadme.md69 - [buffer-alloc-unsafe](https://github.com/LinusU/buffer-alloc-unsafe) A ponyfill for `Buffer.alloc…
/third_party/node/tools/inspector_protocol/jinja2/
Dsandbox.py158 def unsafe(f): function
229 for typespec, unsafe in _mutable_spec:
231 return attr in unsafe
/third_party/jinja2/
Dsandbox.py181 def unsafe(f): function
253 for typespec, unsafe in _mutable_spec:
255 return attr in unsafe
/third_party/python/Lib/test/
Dtest_shlex.py330 unsafe = '"`$\\!' + unicode_sample
335 for u in unsafe:
338 for u in unsafe:
/third_party/skia/third_party/externals/jinja2/
Dsandbox.py181 def unsafe(f): function
253 for typespec, unsafe in _mutable_spec:
255 return attr in unsafe
/third_party/flatbuffers/go/
Dsizes.go54 return *(*string)(unsafe.Pointer(&b))
/third_party/ffmpeg/tests/filtergraphs/
Dscalenorm4 [a][b] concat=unsafe=1, scale=flags=+accurate_rnd+bitexact
/third_party/flutter/skia/third_party/externals/libwebp/swig/
Dlibwebp.go16 type _ unsafe.Pointer
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp.go16 type _ unsafe.Pointer

1234567891011