/third_party/node/deps/v8/src/compiler/ |
H A D | access-builder.cc | 5 #include "src/compiler/access-builder.h" 27 FieldAccess access = {kUntaggedBase, 0, MaybeHandle<Name>(), in ForExternalIntPtr() local 30 return access; in ForExternalIntPtr() 35 FieldAccess access = {kTaggedBase, HeapObject::kMapOffset, in ForMap() local 39 return access; in ForMap() 44 FieldAccess access = { in ForHeapNumberValue() local 48 return access; in ForHeapNumberValue() 53 FieldAccess access = { in ForBigIntBitfield() local 57 return access; in ForBigIntBitfield() 63 FieldAccess access in ForBigIntOptionalPadding() local 73 FieldAccess access = { ForBigIntLeastSignificantDigit64() local 82 FieldAccess access = {kTaggedBase, JSObject::kPropertiesOrHashOffset, ForJSObjectPropertiesOrHash() local 91 FieldAccess access = {kTaggedBase, JSObject::kPropertiesOrHashOffset, ForJSObjectPropertiesOrHashKnownPointer() local 100 FieldAccess access = {kTaggedBase, JSObject::kElementsOffset, ForJSObjectElements() local 111 FieldAccess access = {kTaggedBase, offset, ForJSObjectInObjectProperty() local 121 FieldAccess access = {kTaggedBase, offset, ForJSObjectOffset() local 130 FieldAccess access = {kTaggedBase, JSCollection::kTableOffset, ForJSCollectionTable() local 139 FieldAccess access = { ForJSCollectionIteratorTable() local 149 FieldAccess access = {kTaggedBase, ForJSCollectionIteratorIndex() local 161 FieldAccess access = { ForJSFunctionPrototypeOrInitialMap() local 171 FieldAccess access = {kTaggedBase, JSFunction::kContextOffset, ForJSFunctionContext() local 180 FieldAccess access = { ForJSFunctionSharedFunctionInfo() local 190 FieldAccess access = {kTaggedBase, JSFunction::kFeedbackCellOffset, ForJSFunctionFeedbackCell() local 199 FieldAccess access = {kTaggedBase, JSFunction::kCodeOffset, ForJSFunctionCode() local 208 FieldAccess access = { ForJSBoundFunctionBoundTargetFunction() local 218 FieldAccess access = {kTaggedBase, JSBoundFunction::kBoundThisOffset, ForJSBoundFunctionBoundThis() local 227 FieldAccess access = { ForJSBoundFunctionBoundArguments() local 237 FieldAccess access = {kTaggedBase, JSGeneratorObject::kContextOffset, ForJSGeneratorObjectContext() local 246 FieldAccess access = {kTaggedBase, ForJSGeneratorObjectFunction() local 258 FieldAccess access = {kTaggedBase, JSGeneratorObject::kReceiverOffset, ForJSGeneratorObjectReceiver() local 267 FieldAccess access = { ForJSGeneratorObjectContinuation() local 277 FieldAccess access = { ForJSGeneratorObjectInputOrDebugPos() local 287 FieldAccess access = { ForJSGeneratorObjectParametersAndRegisters() local 297 FieldAccess access = { ForJSGeneratorObjectResumeMode() local 307 FieldAccess access = { ForJSAsyncFunctionObjectPromise() local 317 FieldAccess access = { ForJSAsyncGeneratorObjectQueue() local 327 FieldAccess access = { ForJSAsyncGeneratorObjectIsAwaiting() local 338 FieldAccess access = {kTaggedBase, ForJSArrayLength() local 359 FieldAccess access = { ForJSArrayBufferBitField() local 368 FieldAccess access = {kTaggedBase, JSArrayBufferView::kBufferOffset, ForJSArrayBufferViewBuffer() local 377 FieldAccess access = {kTaggedBase, ForJSArrayBufferViewByteLength() local 389 FieldAccess access = {kTaggedBase, ForJSArrayBufferViewByteOffset() local 401 FieldAccess access = {kTaggedBase, ForJSTypedArrayLength() local 413 FieldAccess access = {kTaggedBase, JSTypedArray::kBasePointerOffset, ForJSTypedArrayBasePointer() local 422 FieldAccess access = { ForJSTypedArrayExternalPointer() local 443 FieldAccess access = { ForJSDataViewDataPointer() local 464 FieldAccess access = {kTaggedBase, ForJSDateValue() local 476 FieldAccess access = { ForJSDateField() local 486 FieldAccess access = {kTaggedBase, JSIteratorResult::kDoneOffset, ForJSIteratorResultDone() local 495 FieldAccess access = {kTaggedBase, JSIteratorResult::kValueOffset, ForJSIteratorResultValue() local 504 FieldAccess access = {kTaggedBase, JSRegExp::kDataOffset, ForJSRegExpData() local 513 FieldAccess access = {kTaggedBase, JSRegExp::kFlagsOffset, ForJSRegExpFlags() local 522 FieldAccess access = {kTaggedBase, JSRegExp::kLastIndexOffset, ForJSRegExpLastIndex() local 531 FieldAccess access = {kTaggedBase, JSRegExp::kSourceOffset, ForJSRegExpSource() local 540 FieldAccess access = {kTaggedBase, ForFixedArrayLength() local 552 FieldAccess access = {kTaggedBase, ForWeakFixedArrayLength() local 564 FieldAccess access = { ForSloppyArgumentsElementsContext() local 574 FieldAccess access = { ForSloppyArgumentsElementsArguments() local 584 FieldAccess access = { ForPropertyArrayLengthAndHash() local 594 FieldAccess access = { ForDescriptorArrayEnumCache() local 604 FieldAccess access = { ForMapBitField() local 613 FieldAccess access = { ForMapBitField2() local 622 FieldAccess access = { ForMapBitField3() local 631 FieldAccess access = {kTaggedBase, Map::kInstanceDescriptorsOffset, ForMapDescriptors() local 640 FieldAccess access = { ForMapInstanceType() local 649 FieldAccess access = {kTaggedBase, Map::kPrototypeOffset, ForMapPrototype() local 658 FieldAccess access = { ForMapNativeContext() local 668 FieldAccess access = { ForModuleRegularExports() local 678 FieldAccess access = { ForModuleRegularImports() local 688 FieldAccess access = {kTaggedBase, Name::kRawHashFieldOffset, ForNameRawHashField() local 697 FieldAccess access = {kTaggedBase, ForStringLength() local 709 FieldAccess access = {kTaggedBase, ConsString::kFirstOffset, ForConsStringFirst() local 718 FieldAccess access = {kTaggedBase, ConsString::kSecondOffset, ForConsStringSecond() local 727 FieldAccess access = {kTaggedBase, ThinString::kActualOffset, ForThinStringActual() local 736 FieldAccess access = {kTaggedBase, SlicedString::kOffsetOffset, ForSlicedStringOffset() local 745 FieldAccess access = {kTaggedBase, SlicedString::kParentOffset, ForSlicedStringParent() local 754 FieldAccess access = { ForExternalStringResourceData() local 773 ElementAccess access = {kTaggedBase, SeqOneByteString::kHeaderSize, ForSeqOneByteStringCharacter() local 781 ElementAccess access = {kTaggedBase, SeqTwoByteString::kHeaderSize, ForSeqTwoByteStringCharacter() local 789 FieldAccess access = { ForJSGlobalProxyNativeContext() local 799 FieldAccess access = { ForJSArrayIteratorIteratedObject() local 811 FieldAccess access = {kTaggedBase, ForJSArrayIteratorNextIndex() local 823 FieldAccess access = {kTaggedBase, ForJSArrayIteratorKind() local 835 FieldAccess access = {kTaggedBase, JSStringIterator::kStringOffset, ForJSStringIteratorString() local 844 FieldAccess access = {kTaggedBase, ForJSStringIteratorIndex() local 858 FieldAccess access = {kTaggedBase, offset, ForArgumentsLength() local 867 FieldAccess access = { ForArgumentsCallee() local 879 FieldAccess access = {kTaggedBase, offset, ForFixedArraySlot() local 889 FieldAccess access = {kTaggedBase, offset, ForFeedbackVectorSlot() local 899 FieldAccess access = {kTaggedBase, offset, ForWeakFixedArraySlot() local 907 FieldAccess access = {kTaggedBase, Cell::kValueOffset, ForCellValue() local 916 FieldAccess access = {kTaggedBase, ScopeInfo::kFlagsOffset, ForScopeInfoFlags() local 928 FieldAccess access = {kTaggedBase, offset, ForContextSlot() local 940 FieldAccess access = {kTaggedBase, offset, ForContextSlotKnownPointer() local 949 ElementAccess access = {kTaggedBase, FixedArray::kHeaderSize, Type::Any(), ForFixedArrayElement() local 956 ElementAccess const access = {kTaggedBase, WeakFixedArray::kHeaderSize, ForWeakFixedArrayElement() local 964 ElementAccess access = { ForSloppyArgumentsElementsMappedEntry() local 972 ElementAccess access = {kTaggedBase, FixedArray::kHeaderSize, Type::Any(), ForFixedArrayElement() local 1006 ElementAccess access = { ForStackArgument() local 1016 ElementAccess access = {kTaggedBase, FixedDoubleArray::kHeaderSize, ForFixedDoubleArrayElement() local 1024 FieldAccess access = {kTaggedBase, EnumCache::kKeysOffset, ForEnumCacheKeys() local 1033 FieldAccess access = {kTaggedBase, EnumCache::kIndicesOffset, ForEnumCacheIndices() local 1047 ElementAccess access = {taggedness, header_size, Type::Signed32(), ForTypedArrayElement() local 1053 ElementAccess access = {taggedness, header_size, Type::Unsigned32(), ForTypedArrayElement() local 1058 ElementAccess access = {taggedness, header_size, Type::Signed32(), ForTypedArrayElement() local 1063 ElementAccess access = {taggedness, header_size, Type::Unsigned32(), ForTypedArrayElement() local 1068 ElementAccess access = {taggedness, header_size, Type::Signed32(), ForTypedArrayElement() local 1073 ElementAccess access = {taggedness, header_size, Type::Unsigned32(), ForTypedArrayElement() local 1078 ElementAccess access = {taggedness, header_size, Type::Number(), ForTypedArrayElement() local 1083 ElementAccess access = {taggedness, header_size, Type::Number(), ForTypedArrayElement() local 1097 FieldAccess access = { ForHashTableBaseNumberOfElements() local 1110 FieldAccess access = {kTaggedBase, ForHashTableBaseNumberOfDeletedElement() local 1123 FieldAccess access = { ForHashTableBaseCapacity() local 1140 FieldAccess const access = { ForOrderedHashMapOrSetNextTable() local 1154 FieldAccess const access = {kTaggedBase, ForOrderedHashMapOrSetNumberOfBuckets() local 1170 FieldAccess const access = {kTaggedBase, ForOrderedHashMapOrSetNumberOfDeletedElements() local 1186 FieldAccess const access = {kTaggedBase, ForOrderedHashMapOrSetNumberOfElements() local 1198 ElementAccess const access = {kTaggedBase, ForOrderedHashMapEntryValue() local 1208 FieldAccess access = { ForDictionaryNextEnumerationIndex() local 1221 FieldAccess access = { ForDictionaryObjectHashIndex() local 1234 FieldAccess access = {kTaggedBase, ForFeedbackCellInterruptBudget() local 1246 FieldAccess access = {kTaggedBase, ForFeedbackVectorInvocationCount() local 1258 FieldAccess access = { ForFeedbackVectorFlags() local 1267 FieldAccess access = { ForFeedbackVectorClosureFeedbackCellArray() local [all...] |
/kernel/linux/linux-6.6/drivers/iommu/iommufd/ |
H A D | device.c | 687 * a valid cur_ioas (access->ioas). A caller passing in a valid new_ioas should 690 static int iommufd_access_change_ioas(struct iommufd_access *access, in iommufd_access_change_ioas() argument 693 u32 iopt_access_list_id = access->iopt_access_list_id; in iommufd_access_change_ioas() 694 struct iommufd_ioas *cur_ioas = access->ioas; in iommufd_access_change_ioas() 697 lockdep_assert_held(&access->ioas_lock); in iommufd_access_change_ioas() 700 if (cur_ioas != access->ioas_unpin) in iommufd_access_change_ioas() 708 * iommufd_access_unpin_pages() can continue using access->ioas_unpin. in iommufd_access_change_ioas() 710 access->ioas = NULL; in iommufd_access_change_ioas() 713 rc = iopt_add_access(&new_ioas->iopt, access); in iommufd_access_change_ioas() 715 access in iommufd_access_change_ioas() 737 iommufd_access_change_ioas_id(struct iommufd_access *access, u32 id) iommufd_access_change_ioas_id() argument 751 struct iommufd_access *access = iommufd_access_destroy_object() local 778 struct iommufd_access *access; iommufd_access_create() local 813 iommufd_access_destroy(struct iommufd_access *access) iommufd_access_destroy() argument 819 iommufd_access_detach(struct iommufd_access *access) iommufd_access_detach() argument 831 iommufd_access_attach(struct iommufd_access *access, u32 ioas_id) iommufd_access_attach() argument 847 iommufd_access_replace(struct iommufd_access *access, u32 ioas_id) iommufd_access_replace() argument 883 struct iommufd_access *access; iommufd_access_notify_unmap() local 909 iommufd_access_unpin_pages(struct iommufd_access *access, unsigned long iova, unsigned long length) iommufd_access_unpin_pages() argument 983 iommufd_access_pin_pages(struct iommufd_access *access, unsigned long iova, unsigned long length, struct page **out_pages, unsigned int flags) iommufd_access_pin_pages() argument 1072 iommufd_access_rw(struct iommufd_access *access, unsigned long iova, void *data, size_t length, unsigned int flags) iommufd_access_rw() argument [all...] |
/third_party/node/deps/v8/src/execution/ |
H A D | stack-guard.cc | 42 ExecutionAccess access(isolate_); in SetStackLimit() 57 ExecutionAccess access(isolate_); in AdjustStackLimitForSimulator() 68 ExecutionAccess access(isolate_); in EnableInterrupts() 69 if (has_pending_interrupts(access)) { in EnableInterrupts() 70 set_interrupt_limits(access); in EnableInterrupts() 75 ExecutionAccess access(isolate_); in DisableInterrupts() 76 reset_limits(access); in DisableInterrupts() 80 ExecutionAccess access(isolate_); in PushInterruptsScope() 99 if (has_pending_interrupts(access)) set_interrupt_limits(access); in PushInterruptsScope() [all...] |
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/InnerAPI/ |
H A D | parser_test.cpp | 83 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F() 97 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F() 111 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F() 127 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F() 144 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F() 160 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F() 176 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F() 192 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F() 207 if (access(HEVC_LIB_PATH.c_str(), F_OK) != 0) { in HWTEST_F() 222 if (access(HEVC_LIB_PAT in HWTEST_F() [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTextureUtil.cpp | 229 // It is never allowed to access combined depth-stencil format with getPixel(). 231 // access must be used. 240 // A few packed color formats have access type restrictions 250 * \brief Get access to subregion of pixel buffer 251 * \param access Parent access object 258 * \return Access object that targets given subregion of parent access object 260 ConstPixelBufferAccess getSubregion (const ConstPixelBufferAccess& access, int x, int y, int z, int width, int height, int depth) 262 DE_ASSERT(de::inBounds(x, 0, access.getWidth())); 263 DE_ASSERT(de::inRange(x+width, x+1, access [all...] |
H A D | tcuTextureUtil.hpp | 33 PixelBufferAccess getSubregion (const PixelBufferAccess& access, int x, int y, int z, int width, int height, int depth); 34 ConstPixelBufferAccess getSubregion (const ConstPixelBufferAccess& access, int x, int y, int z, int width, int height, int depth); 36 PixelBufferAccess getSubregion (const PixelBufferAccess& access, int x, int y, int width, int height); 37 ConstPixelBufferAccess getSubregion (const ConstPixelBufferAccess& access, int x, int y, int width, int height); 39 PixelBufferAccess flipYAccess (const PixelBufferAccess& access); 40 ConstPixelBufferAccess flipYAccess (const ConstPixelBufferAccess& access); 72 * \brief Texture access type 115 void clear (const PixelBufferAccess& access, const Vec4& color); 116 void clear (const PixelBufferAccess& access, const IVec4& color); 117 void clear (const PixelBufferAccess& access, cons [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opt_access.c | 26 /* This pass optimizes GL access qualifiers. So far it does three things: 197 if (var->data.access & ACCESS_CAN_REORDER) in process_variable() 200 unsigned access = var->data.access; in process_variable() local 204 if (!(access & ACCESS_NON_WRITEABLE)) { in process_variable() 206 access |= ACCESS_NON_WRITEABLE; in process_variable() 207 else if ((access & ACCESS_RESTRICT) && !_mesa_set_search(state->vars_written, var)) in process_variable() 208 access |= ACCESS_NON_WRITEABLE; in process_variable() 211 if (state->infer_non_readable && !(access & ACCESS_NON_READABLE)) { in process_variable() 213 access | in process_variable() 226 enum gl_access_qualifier access = nir_intrinsic_access(instr); update_access() local [all...] |
/kernel/linux/linux-6.6/sound/core/ |
H A D | control_led.c | 49 unsigned int access; member 81 static inline unsigned int access_to_group(unsigned int access) in access_to_group() argument 83 return ((access & SNDRV_CTL_ELEM_ACCESS_LED_MASK) >> in access_to_group() 92 static struct snd_ctl_led *snd_ctl_led_get_by_access(unsigned int access) in snd_ctl_led_get_by_access() argument 94 unsigned int group = access_to_group(access); in snd_ctl_led_get_by_access() 137 static void snd_ctl_led_set_state(struct snd_card *card, unsigned int access, in snd_ctl_led_set_state() argument 145 led = snd_ctl_led_get_by_access(access); in snd_ctl_led_set_state() 165 lctl->access = access; in snd_ctl_led_set_state() 199 unsigned int access) in snd_ctl_led_remove() 198 snd_ctl_led_remove(struct snd_kcontrol *kctl, unsigned int ioff, unsigned int access) snd_ctl_led_remove() argument 219 unsigned int access, access2; snd_ctl_led_notify() local 248 unsigned int ioff, access, new_access; snd_ctl_led_set_id() local [all...] |
/third_party/node/test/parallel/ |
H A D | test-fs-access.js | 4 // This tests that fs.access and fs.accessSync works as expected 12 common.skip('IBMi has a different access permission mechanism'); 35 // On non-Windows supported platforms, fs.access(readOnlyFile, W_OK, ...) 40 // non-superuser user so that the test that checks for write access to a 74 fs.access(__filename, common.mustCall(function(...args) { 77 fs.promises.access(__filename) 80 fs.access(__filename, fs.R_OK, common.mustCall(function(...args) { 83 fs.promises.access(__filename, fs.R_OK) 86 fs.access(readOnlyFile, fs.R_OK, common.mustCall(function(...args) { 89 fs.promises.access(readOnlyFil [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/sw/rxe/ |
H A D | rxe_mw.c | 51 struct rxe_mw *mw, struct rxe_mr *mr, int access) in rxe_check_bind_mw() 61 if (unlikely((access & IB_ZERO_BASED))) { in rxe_check_bind_mw() 94 if (unlikely(mr->access & IB_ZERO_BASED)) { in rxe_check_bind_mw() 100 if (unlikely(!(mr->access & IB_ACCESS_MW_BIND))) { in rxe_check_bind_mw() 102 "attempt to bind an MW to an MR without bind access\n"); in rxe_check_bind_mw() 107 if (unlikely((access & in rxe_check_bind_mw() 109 !(mr->access & IB_ACCESS_LOCAL_WRITE))) { in rxe_check_bind_mw() 111 "attempt to bind an Writable MW to an MR without local write access\n"); in rxe_check_bind_mw() 116 if (access & IB_ZERO_BASED) { in rxe_check_bind_mw() 136 struct rxe_mw *mw, struct rxe_mr *mr, int access) in rxe_do_bind_mw() 50 rxe_check_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe, struct rxe_mw *mw, struct rxe_mr *mr, int access) rxe_check_bind_mw() argument 135 rxe_do_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe, struct rxe_mw *mw, struct rxe_mr *mr, int access) rxe_do_bind_mw() argument 172 int access = wqe->wr.wr.mw.access; rxe_bind_mw() local 290 rxe_lookup_mw(struct rxe_qp *qp, int access, u32 rkey) rxe_lookup_mw() argument [all...] |
/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/ |
H A D | api_test.cpp | 108 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 121 if (access("/system/lib64/media/", 0)) { in HWTEST_F() 134 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 151 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 171 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 189 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 201 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 215 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 229 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 244 if (!access("/syste in HWTEST_F() [all...] |
H A D | state_test.cpp | 64 if (!access("/system/lib64/media/", 0)) { in SetUp() 81 if (!access("/system/lib64/media/", 0)) { in TearDown() 98 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 115 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 132 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 149 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 166 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 185 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 206 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 226 if (!access("/syste in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/test/unittest/reference_parser_test/ |
H A D | reference_parser_unit_test.cpp | 68 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 82 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 96 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 110 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 124 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 138 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 152 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 166 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 180 if (!access("/system/lib64/media/", 0)) { in HWTEST_F() 194 if (!access("/syste in HWTEST_F() [all...] |
/third_party/alsa-utils/axfer/test/ |
H A D | mapper-test.c | 39 static void test_demuxer(struct mapper_context *mapper, snd_pcm_access_t access, in test_demuxer() argument 54 err = mapper_context_pre_process(mapper, access, bytes_per_sample, in test_demuxer() 69 static int test_demux(struct mapper_trial *trial, snd_pcm_access_t access, in test_demux() argument 115 test_demuxer(&trial->mapper, access, bytes_per_sample, in test_demux() 130 static void test_muxer(struct mapper_context *mapper, snd_pcm_access_t access, in test_muxer() argument 145 err = mapper_context_pre_process(mapper, access, bytes_per_sample, in test_muxer() 160 static int test_mux(struct mapper_trial *trial, snd_pcm_access_t access, in test_mux() argument 205 test_muxer(&trial->mapper, access, bytes_per_sample, samples_per_frame, in test_mux() 220 static int test_mapper(struct mapper_trial *trial, snd_pcm_access_t access, in test_mapper() argument 253 err = test_demux(trial, access, sample_forma in test_mapper() 279 test_i_buf(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, unsigned int cntr_count) test_i_buf() argument 319 test_vector(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, unsigned int cntr_count) test_vector() argument 378 test_n_buf(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, unsigned int cntr_count) test_n_buf() argument 406 callback(struct test_generator *gen, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, void *frame_buffer, unsigned int frame_count) callback() argument 447 snd_pcm_access_t access; main() local [all...] |
H A D | generator.c | 48 static void *allocate_buf(snd_pcm_access_t access, in allocate_buf() argument 60 static void *allocate_vector(snd_pcm_access_t access, in allocate_vector() argument 88 static int fill_buf(int fd, void *frame_buffer, snd_pcm_access_t access, in fill_buf() argument 107 static int fill_vector(int fd, void *frame_buffer, snd_pcm_access_t access, in fill_vector() argument 149 snd_pcm_access_t access, in test_frame_count() 153 void *(*allocator)(snd_pcm_access_t access, in test_frame_count() 157 int (*fill)(int fd, void *frame_buffer, snd_pcm_access_t access, in test_frame_count() 165 if (access != SND_PCM_ACCESS_RW_NONINTERLEAVED) { in test_frame_count() 175 frame_buffer = allocator(access, sample_format, samples_per_frame, in test_frame_count() 180 err = fill(gen->fd, frame_buffer, access, sample_forma in test_frame_count() 148 test_frame_count(struct test_generator *gen, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame) test_frame_count() argument 199 test_samples_per_frame(struct test_generator *gen, snd_pcm_access_t access, snd_pcm_format_t sample_format) test_samples_per_frame() argument 216 test_sample_format(struct test_generator *gen, snd_pcm_access_t access) test_sample_format() argument [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluTexture.cpp | 96 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); in upload() local 97 gl.texImage1D(GL_TEXTURE_1D, levelNdx, m_format, access.getWidth(), 0 /* border */, transferFormat.format, transferFormat.dataType, access.getDataPtr()); in upload() 179 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); in upload() local 180 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload() 181 gl.texImage2D(GL_TEXTURE_2D, levelNdx, m_format, access.getWidth(), access.getHeight(), 0 /* border */, transferFormat.format, transferFormat.dataType, access in upload() 312 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); upload() local 400 tcu::ConstPixelBufferAccess access = m_refTexture.getLevelFace(levelNdx, (tcu::CubeFace)face); upload() local 519 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); upload() local 606 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); upload() local 728 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); upload() local 819 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); upload() local [all...] |
/kernel/linux/linux-5.10/security/ |
H A D | device_cgroup.c | 37 short access; member 117 walk->access |= ex->access; in dev_exception_add() 145 walk->access &= ~ex->access; in dev_exception_rm() 146 if (!walk->access) { in dev_exception_rm() 249 static void set_access(char *acc, short access) in set_access() argument 253 if (access & DEVCG_ACC_READ) in set_access() 255 if (access & DEVCG_ACC_WRITE) in set_access() 257 if (access in set_access() 326 match_exception(struct list_head *exceptions, short type, u32 major, u32 minor, short access) match_exception() argument 363 match_exception_partial(struct list_head *exceptions, short type, u32 major, u32 minor, short access) match_exception_partial() argument 832 devcgroup_legacy_check_permission(short type, u32 major, u32 minor, short access) devcgroup_legacy_check_permission() argument 860 devcgroup_check_permission(short type, u32 major, u32 minor, short access) devcgroup_check_permission() argument [all...] |
/kernel/linux/linux-6.6/security/ |
H A D | device_cgroup.c | 38 short access; member 118 walk->access |= ex->access; in dev_exception_add() 146 walk->access &= ~ex->access; in dev_exception_rm() 147 if (!walk->access) { in dev_exception_rm() 250 static void set_access(char *acc, short access) in set_access() argument 254 if (access & DEVCG_ACC_READ) in set_access() 256 if (access & DEVCG_ACC_WRITE) in set_access() 258 if (access in set_access() 327 match_exception(struct list_head *exceptions, short type, u32 major, u32 minor, short access) match_exception() argument 364 match_exception_partial(struct list_head *exceptions, short type, u32 major, u32 minor, short access) match_exception_partial() argument 832 devcgroup_legacy_check_permission(short type, u32 major, u32 minor, short access) devcgroup_legacy_check_permission() argument 860 devcgroup_check_permission(short type, u32 major, u32 minor, short access) devcgroup_check_permission() argument [all...] |
/kernel/linux/linux-5.10/kernel/kcsan/ |
H A D | kcsan-test.c | 36 /* Points to current test-case memory access "kernels". */ 139 void *addr; /* Address of access; unchecked if NULL. */ 140 size_t size; /* Size of access; unchecked if @addr is NULL. */ 142 } access[2]; member 149 const bool is_assert = (r->access[0].type | r->access[1].type) & KCSAN_ACCESS_ASSERT; in report_matches() 172 if (r->access[1].fn) { in report_matches() 177 scnprintf(tmp[0], sizeof(tmp[0]), "%pS", r->access[0].fn); in report_matches() 178 scnprintf(tmp[1], sizeof(tmp[1]), "%pS", r->access[1].fn); in report_matches() 181 cmp < 0 ? r->access[ in report_matches() [all...] |
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/sys_vpn_manager_test/ |
H A D | networkvpn_client_test.cpp | 62 NetManagerExtAccessToken access; in HWTEST_F() local 79 NetManagerExtAccessToken access; in HWTEST_F() local 98 NetManagerExtAccessToken access; in HWTEST_F() local 112 NetManagerExtAccessToken access; in HWTEST_F() local 119 NetManagerExtAccessToken access; in HWTEST_F() local 134 NetManagerExtAccessToken access; in HWTEST_F() local 154 NetManagerExtAccessToken access; in HWTEST_F() local 161 NetManagerExtAccessToken access; in HWTEST_F() local 168 NetManagerExtAccessToken access; in HWTEST_F() local 181 NetManagerExtAccessToken access; in HWTEST_F() local 189 NetManagerExtAccessToken access; HWTEST_F() local 197 NetManagerExtAccessToken access; HWTEST_F() local 204 NetManagerExtAccessToken access; HWTEST_F() local 212 NetManagerExtAccessToken access; HWTEST_F() local 220 NetManagerExtAccessToken access; HWTEST_F() local 228 NetManagerExtAccessToken access; HWTEST_F() local 236 NetManagerExtAccessToken access; HWTEST_F() local 244 NetManagerExtAccessToken access; HWTEST_F() local [all...] |
/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrMultisamplePixelBufferAccess.cpp | 21 * \brief Multisampled pixel buffer access 105 MultisamplePixelBufferAccess getSubregion (const MultisamplePixelBufferAccess& access, int x, int y, int width, int height) in getSubregion() argument 107 return MultisamplePixelBufferAccess::fromMultisampleAccess(tcu::getSubregion(access.raw(), 0, x, y, access.getNumSamples(), width, height)); in getSubregion() 110 MultisampleConstPixelBufferAccess getSubregion (const MultisampleConstPixelBufferAccess& access, int x, int y, int width, int height) in getSubregion() argument 112 return MultisampleConstPixelBufferAccess::fromMultisampleAccess(tcu::getSubregion(access.raw(), 0, x, y, access.getNumSamples(), width, height)); in getSubregion() 215 tcu::Vec4 resolveMultisamplePixel (const MultisampleConstPixelBufferAccess& access, int x, int y) in resolveMultisamplePixel() argument 218 for (int s = 0; s < access.getNumSamples(); s++) in resolveMultisamplePixel() 219 sum += access in resolveMultisamplePixel() 224 clear(const MultisamplePixelBufferAccess& access, const tcu::Vec4& color) clear() argument 229 clear(const MultisamplePixelBufferAccess& access, const tcu::IVec4& color) clear() argument 234 clearDepth(const MultisamplePixelBufferAccess& access, float depth) clearDepth() argument 239 clearStencil(const MultisamplePixelBufferAccess& access, int stencil) clearStencil() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | iommufd.h | 50 void iommufd_access_destroy(struct iommufd_access *access); 51 int iommufd_access_attach(struct iommufd_access *access, u32 ioas_id); 52 int iommufd_access_replace(struct iommufd_access *access, u32 ioas_id); 53 void iommufd_access_detach(struct iommufd_access *access); 63 int iommufd_access_pin_pages(struct iommufd_access *access, unsigned long iova, 66 void iommufd_access_unpin_pages(struct iommufd_access *access, 68 int iommufd_access_rw(struct iommufd_access *access, unsigned long iova, 83 static inline int iommufd_access_pin_pages(struct iommufd_access *access, in iommufd_access_pin_pages() argument 92 static inline void iommufd_access_unpin_pages(struct iommufd_access *access, in iommufd_access_unpin_pages() argument 98 static inline int iommufd_access_rw(struct iommufd_access *access, unsigne argument [all...] |
/test/xts/hats/kernel/syscalls/fileio/renameat/ |
H A D | RenameatApiTest.cpp | 51 if (access(TEST_VALID_PATH, F_OK) == 0) { in SetUp() 86 EXPECT_EQ(access(TEST_VALID_FILE, F_OK), -1); in HWTEST_F() 87 EXPECT_EQ(access(TEST_RENAME_FILE, F_OK), 0); in HWTEST_F() 92 EXPECT_EQ(access(TEST_VALID_PATH, F_OK), -1); in HWTEST_F() 93 EXPECT_EQ(access(TEST_RENAME_PATH, F_OK), 0); in HWTEST_F() 106 if (access(TEST_INVALID_FILE, F_OK) == 0) { in HWTEST_F() 129 EXPECT_EQ(access(TEST_VALID_FILE, F_OK), -1); in HWTEST_F() 130 EXPECT_EQ(access(TEST_RENAME_FILE, F_OK), 0); in HWTEST_F() 135 EXPECT_EQ(access(TEST_VALID_PATH, F_OK), -1); in HWTEST_F() 136 EXPECT_EQ(access(TEST_RENAME_PAT in HWTEST_F() [all...] |
/kernel/linux/linux-6.6/kernel/kcsan/ |
H A D | kcsan_test.c | 46 /* Points to current test-case memory access "kernels". */ 149 void *addr; /* Address of access; unchecked if NULL. */ 150 size_t size; /* Size of access; unchecked if @addr is NULL. */ 152 } access[2]; member 159 const bool is_assert = (r->access[0].type | r->access[1].type) & KCSAN_ACCESS_ASSERT; in __report_matches() 182 if (r->access[1].fn) { in __report_matches() 187 scnprintf(tmp[0], sizeof(tmp[0]), "%pS", r->access[0].fn); in __report_matches() 188 scnprintf(tmp[1], sizeof(tmp[1]), "%pS", r->access[1].fn); in __report_matches() 191 cmp < 0 ? r->access[ in __report_matches() [all...] |
/third_party/gn/src/base/win/ |
H A D | registry.cc | 34 // Mask to pull WOW64 access flags out of REGSAM access. 45 RegKey::RegKey(HKEY rootkey, const char16_t* subkey, REGSAM access) in RegKey() argument 48 if (access & (KEY_SET_VALUE | KEY_CREATE_SUB_KEY | KEY_CREATE_LINK)) in RegKey() 49 Create(rootkey, subkey, access); in RegKey() 51 Open(rootkey, subkey, access); in RegKey() 54 wow64access_ = access & kWow64AccessMask; in RegKey() 62 LONG RegKey::Create(HKEY rootkey, const char16_t* subkey, REGSAM access) { in Create() argument 64 return CreateWithDisposition(rootkey, subkey, &disposition_value, access); in Create() 70 REGSAM access) { in CreateWithDisposition() 67 CreateWithDisposition(HKEY rootkey, const char16_t* subkey, DWORD* disposition, REGSAM access) CreateWithDisposition() argument 85 CreateKey(const char16_t* name, REGSAM access) CreateKey() argument 109 Open(HKEY rootkey, const char16_t* subkey, REGSAM access) Open() argument 123 OpenKey(const char16_t* relative_key_name, REGSAM access) OpenKey() argument 390 RegDelRecurse(HKEY root_key, const std::u16string& name, REGSAM access) RegDelRecurse() argument [all...] |