| /third_party/jerryscript/tests/jerry/es2015/ |
| H A D | proxy_own_keys.js | 27 var target = {}; 28 var handler = { ownKeys (target) { 32 var proxy = new Proxy(target, handler); 69 var target = { prop1: "prop1", prop2: "prop2"}; 70 target[symB] = "s3"; 72 ownKeys: function(target) { 77 var proxy = new Proxy(target, handler); 84 handler.ownKeys = function(target) {return Object.getOwnPropertyNames(target);}; 92 var target [all...] |
| H A D | proxy_define_own_property.js | 19 var target = function () {}; function 20 var handler = { defineProperty (target) { 26 var proxy = new Proxy(target, handler); 35 defineProperty: function(target, name, desc) { 36 g_target = target; 42 var target = {}; 43 var proxy = new Proxy(target, handler); 48 assert(target === g_target); 52 defineProperty: function(target, name, desc) { 53 Object.defineProperty(target, nam [all...] |
| H A D | proxy_set_prototoype_of.js | 19 var target = {}; 20 var handler = { setPrototypeOf (target) { 24 var proxy = new Proxy(target, handler); 36 var target = { 41 setPrototypeOf(target, targetrProto) { 42 target.foo = true; 47 var proxy = new Proxy(target, handler); 50 assert(target.foo === true); 73 var target = {}; 77 var proxy = new Proxy(target, handle [all...] |
| /third_party/mesa3d/src/mesa/main/ |
| H A D | arbprogram.c | 49 flush_vertices_for_program_constants(struct gl_context *ctx, GLenum target) in flush_vertices_for_program_constants() argument 53 if (target == GL_FRAGMENT_PROGRAM_ARB) { in flush_vertices_for_program_constants() 66 lookup_or_create_program(GLuint id, GLenum target, const char* caller) in lookup_or_create_program() argument 73 if (target == GL_VERTEX_PROGRAM_ARB) in lookup_or_create_program() 84 newProg = ctx->Driver.NewProgram(ctx, _mesa_program_enum_to_shader_stage(target), in lookup_or_create_program() 92 else if (newProg->Target != target) { in lookup_or_create_program() 94 "%s(target mismatch)", caller); in lookup_or_create_program() 107 _mesa_BindProgramARB(GLenum target, GLuint id) in _mesa_BindProgramARB() argument 112 /* Error-check target and get curProg */ in _mesa_BindProgramARB() 113 if (target in _mesa_BindProgramARB() 274 get_current_program(struct gl_context* ctx, GLenum target, const char* caller) get_current_program() argument 292 get_local_param_pointer(struct gl_context *ctx, const char *func, struct gl_program* prog, GLenum target, GLuint index, unsigned count, GLfloat **param) get_local_param_pointer() argument 333 get_env_param_pointer(struct gl_context *ctx, const char *func, GLenum target, GLuint index, GLfloat **param) get_env_param_pointer() argument 360 set_program_string(struct gl_program *prog, GLenum target, GLenum format, GLsizei len, const GLvoid *string) set_program_string() argument 467 _mesa_ProgramStringARB(GLenum target, GLenum format, GLsizei len, const GLvoid *string) _mesa_ProgramStringARB() argument 485 _mesa_NamedProgramStringEXT(GLuint program, GLenum target, GLenum format, GLsizei len, const GLvoid *string) _mesa_NamedProgramStringEXT() argument 502 _mesa_ProgramEnvParameter4dARB(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) _mesa_ProgramEnvParameter4dARB() argument 515 _mesa_ProgramEnvParameter4dvARB(GLenum target, GLuint index, const GLdouble *params) _mesa_ProgramEnvParameter4dvARB() argument 529 _mesa_ProgramEnvParameter4fARB(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) _mesa_ProgramEnvParameter4fARB() argument 551 _mesa_ProgramEnvParameter4fvARB(GLenum target, GLuint index, const GLfloat *params) _mesa_ProgramEnvParameter4fvARB() argument 568 _mesa_ProgramEnvParameters4fvEXT(GLenum target, GLuint index, GLsizei count, const GLfloat *params) _mesa_ProgramEnvParameters4fvEXT() argument 606 _mesa_GetProgramEnvParameterdvARB(GLenum target, GLuint index, GLdouble *params) _mesa_GetProgramEnvParameterdvARB() argument 620 _mesa_GetProgramEnvParameterfvARB(GLenum target, GLuint index, GLfloat *params) _mesa_GetProgramEnvParameterfvARB() argument 635 _mesa_ProgramLocalParameter4fARB(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) _mesa_ProgramLocalParameter4fARB() argument 655 _mesa_NamedProgramLocalParameter4fEXT(GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) _mesa_NamedProgramLocalParameter4fEXT() argument 681 _mesa_ProgramLocalParameter4fvARB(GLenum target, GLuint index, const GLfloat *params) _mesa_ProgramLocalParameter4fvARB() argument 690 _mesa_NamedProgramLocalParameter4fvEXT(GLuint program, GLenum target, GLuint index, const GLfloat *params) _mesa_NamedProgramLocalParameter4fvEXT() argument 717 _mesa_ProgramLocalParameters4fvEXT(GLenum target, GLuint index, GLsizei count, const GLfloat *params) _mesa_ProgramLocalParameters4fvEXT() argument 732 _mesa_NamedProgramLocalParameters4fvEXT(GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params) _mesa_NamedProgramLocalParameters4fvEXT() argument 748 _mesa_ProgramLocalParameter4dARB(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) _mesa_ProgramLocalParameter4dARB() argument 758 _mesa_NamedProgramLocalParameter4dEXT(GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) _mesa_NamedProgramLocalParameter4dEXT() argument 768 _mesa_ProgramLocalParameter4dvARB(GLenum target, GLuint index, const GLdouble *params) _mesa_ProgramLocalParameter4dvARB() argument 778 _mesa_NamedProgramLocalParameter4dvEXT(GLuint program, GLenum target, GLuint index, const GLdouble *params) _mesa_NamedProgramLocalParameter4dvEXT() argument 788 _mesa_GetProgramLocalParameterfvARB(GLenum target, GLuint index, GLfloat *params) _mesa_GetProgramLocalParameterfvARB() argument 806 _mesa_GetNamedProgramLocalParameterfvEXT(GLuint program, GLenum target, GLuint index, GLfloat *params) _mesa_GetNamedProgramLocalParameterfvEXT() argument 825 _mesa_GetProgramLocalParameterdvARB(GLenum target, GLuint index, GLdouble *params) _mesa_GetProgramLocalParameterdvARB() argument 843 _mesa_GetNamedProgramLocalParameterdvEXT(GLuint program, GLenum target, GLuint index, GLdouble *params) _mesa_GetNamedProgramLocalParameterdvEXT() argument 862 get_program_iv(struct gl_program *prog, GLenum target, GLenum pname, GLint *params) get_program_iv() argument 1033 _mesa_GetProgramivARB(GLenum target, GLenum pname, GLint *params) _mesa_GetProgramivARB() argument 1045 _mesa_GetNamedProgramivEXT(GLuint program, GLenum target, GLenum pname, GLint *params) _mesa_GetNamedProgramivEXT() argument 1063 _mesa_GetProgramStringARB(GLenum target, GLenum pname, GLvoid *string) _mesa_GetProgramStringARB() argument 1095 _mesa_GetNamedProgramStringEXT(GLuint program, GLenum target, GLenum pname, GLvoid *string) _mesa_GetNamedProgramStringEXT() argument [all...] |
| /third_party/vk-gl-cts/external/openglcts/modules/gl/ |
| H A D | gl4cSparseTextureTests.cpp | 54 * @param target Target for which texture is binded 61 bool SparseTextureUtils::verifyQueryError(std::stringstream& log, const char* funcName, GLint target, GLint pname, in verifyQueryError() argument 67 << ", target: " << target << ", pname: " << pname << ", expected: " << expectedError in verifyQueryError() 98 /** Get minimal depth value for target 100 * @param target Texture target 104 GLint SparseTextureUtils::getTargetDepth(GLint target) in getTargetDepth() argument 108 if (target == GL_TEXTURE_3D || target in getTargetDepth() 130 getTexturePageSizes(const glw::Functions& gl, glw::GLint target, glw::GLint format, glw::GLint& pageSizeX, glw::GLint& pageSizeY, glw::GLint& pageSizeZ) getTexturePageSizes() argument 152 getTextureLevelSize(GLint target, TextureState& state, GLint level, GLint& width, GLint& height, GLint& depth) getTextureLevelSize() argument 178 Bind(const Functions& gl, GLuint id, GLenum target) Bind() argument 225 Storage(const Functions& gl, GLenum target, GLsizei levels, GLenum internal_format, GLuint width, GLuint height, GLuint depth) Storage() argument 265 GetData(const glw::Functions& gl, glw::GLint level, glw::GLenum target, glw::GLenum format, glw::GLenum type, glw::GLvoid* out_data) GetData() argument 286 SubImage(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLint x, glw::GLint y, glw::GLint z, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLenum format, glw::GLenum type, const glw::GLvoid* pixels) SubImage() argument 372 const GLint& target = *iter; iterate() local 397 const GLint& target = *iter; iterate() local 429 testTextureSparseARB(const Functions& gl, GLint target, GLint expectedError) testTextureSparseARB() argument 439 mLog << "Testing TEXTURE_SPARSE_ARB for target: " << target << " - "; testTextureSparseARB() local 559 testVirtualPageSizeIndexARB(const Functions& gl, GLint target, GLint expectedError) testVirtualPageSizeIndexARB() argument 570 mLog << "Testing VIRTUAL_PAGE_SIZE_INDEX_ARB for target: " << target << " - "; testVirtualPageSizeIndexARB() local 689 testNumSparseLevelsARB(const Functions& gl, GLint target) testNumSparseLevelsARB() argument 699 mLog << "Testing NUM_SPARSE_LEVELS_ARB for target: " << target << " - "; testNumSparseLevelsARB() local 734 checkGetTexParameter(const Functions& gl, GLint target, GLint pname, GLint expected) checkGetTexParameter() argument 743 mLog << "Testing GetTexParameter for target: " << target << " - "; checkGetTexParameter() local 876 const GLint& target = *iter; iterate() local 1090 const GLint& target = *iter; iterate() local 1117 const GLint& target = *iter; iterate() local 1151 positiveTesting(const Functions& gl, GLint target, GLint format) positiveTesting() argument 1201 verifyTexParameterErrors(const Functions& gl, GLint target, GLint format) verifyTexParameterErrors() argument 1304 verifyTexStorageVirtualPageSizeIndexError(const Functions& gl, GLint target, GLint format) verifyTexStorageVirtualPageSizeIndexError() argument 1363 verifyTexStorageFullArrayCubeMipmapsError(const Functions& gl, GLint target, GLint format) verifyTexStorageFullArrayCubeMipmapsError() argument 1439 verifyTexStorageInvalidValueErrors(const Functions& gl, GLint target, GLint format) verifyTexStorageInvalidValueErrors() argument 1707 const GLint& target = *iter; iterate() local 1771 texPageCommitment(const glw::Functions& gl, glw::GLint target, glw::GLint format, glw::GLuint& texture, GLint level, GLint xOffset, GLint yOffset, GLint zOffset, GLint width, GLint height, GLint depth, GLboolean commit) texPageCommitment() argument 1789 caseAllowed(GLint target, GLint format) caseAllowed() argument 1805 prepareTexture(const Functions& gl, GLint target, GLint format, GLuint& texture) prepareTexture() argument 1841 sparseAllocateTexture(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint levels) sparseAllocateTexture() argument 1870 allocateTexture(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint levels) allocateTexture() argument 1898 writeDataToTexture(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level) writeDataToTexture() argument 1944 verifyTextureData(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level) verifyTextureData() argument 2063 commitTexturePage(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level) commitTexturePage() argument 2102 isInPageSizesRange(GLint target, GLint level) isInPageSizesRange() argument 2129 isPageSizesMultiplication(GLint target, GLint level) isPageSizesMultiplication() argument 2157 verifyInvalidOperationErrors(const Functions& gl, GLint target, GLint format, GLuint& texture) verifyInvalidOperationErrors() argument 2278 verifyInvalidValueErrors(const Functions& gl, GLint target, GLint format, GLuint& texture) verifyInvalidValueErrors() argument 2365 const GLint& target = *iter; iterate() local 2422 texPageCommitment(const glw::Functions& gl, glw::GLint target, glw::GLint format, glw::GLuint& texture, GLint level, GLint xOffset, GLint yOffset, GLint zOffset, GLint width, GLint height, GLint depth, GLboolean commit) texPageCommitment() argument [all...] |
| /kernel/linux/linux-5.10/drivers/acpi/numa/ |
| H A D | hmat.c | 95 struct memory_target *target; in find_mem_target() local 97 list_for_each_entry(target, &targets, node) in find_mem_target() 98 if (target->memory_pxm == mem_pxm) in find_mem_target() 99 return target; in find_mem_target() 126 struct memory_target *target; in alloc_memory_target() local 128 target = find_mem_target(mem_pxm); in alloc_memory_target() 129 if (!target) { in alloc_memory_target() 130 target = kzalloc(sizeof(*target), GFP_KERNEL); in alloc_memory_target() 131 if (!target) in alloc_memory_target() 226 hmat_update_target_access(struct memory_target *target, u8 type, u32 value, int access) hmat_update_target_access() argument 298 struct memory_target *target; hmat_parse_locality() local 361 struct memory_target *target; hmat_parse_cache() local 424 struct memory_target *target = NULL; hmat_parse_proximity_domain() local 494 hmat_initiator_perf(struct memory_target *target, struct memory_initiator *initiator, struct acpi_hmat_locality *hmat_loc) hmat_initiator_perf() argument 586 hmat_register_target_initiators(struct memory_target *target) hmat_register_target_initiators() argument 693 hmat_register_target_cache(struct memory_target *target) hmat_register_target_cache() argument 702 hmat_register_target_perf(struct memory_target *target, int access) hmat_register_target_perf() argument 708 hmat_register_target_devices(struct memory_target *target) hmat_register_target_devices() argument 726 hmat_register_target(struct memory_target *target) hmat_register_target() argument 759 struct memory_target *target; hmat_register_targets() local 768 struct memory_target *target; hmat_callback() local 791 struct memory_target *target, *tnext; hmat_free_structures() local [all...] |
| /kernel/linux/linux-6.6/drivers/acpi/numa/ |
| H A D | hmat.c | 94 struct memory_target *target; in find_mem_target() local 96 list_for_each_entry(target, &targets, node) in find_mem_target() 97 if (target->memory_pxm == mem_pxm) in find_mem_target() 98 return target; in find_mem_target() 125 struct memory_target *target; in alloc_memory_target() local 127 target = find_mem_target(mem_pxm); in alloc_memory_target() 128 if (!target) { in alloc_memory_target() 129 target = kzalloc(sizeof(*target), GFP_KERNEL); in alloc_memory_target() 130 if (!target) in alloc_memory_target() 225 hmat_update_target_access(struct memory_target *target, u8 type, u32 value, int access) hmat_update_target_access() argument 297 struct memory_target *target; hmat_parse_locality() local 360 struct memory_target *target; hmat_parse_cache() local 423 struct memory_target *target = NULL; hmat_parse_proximity_domain() local 493 hmat_initiator_perf(struct memory_target *target, struct memory_initiator *initiator, struct acpi_hmat_locality *hmat_loc) hmat_initiator_perf() argument 585 hmat_register_target_initiators(struct memory_target *target) hmat_register_target_initiators() argument 692 hmat_register_target_cache(struct memory_target *target) hmat_register_target_cache() argument 701 hmat_register_target_perf(struct memory_target *target, int access) hmat_register_target_perf() argument 707 hmat_register_target_devices(struct memory_target *target) hmat_register_target_devices() argument 725 hmat_register_target(struct memory_target *target) hmat_register_target() argument 758 struct memory_target *target; hmat_register_targets() local 767 struct memory_target *target; hmat_callback() local 785 struct memory_target *target, *tnext; hmat_free_structures() local [all...] |
| /kernel/linux/linux-5.10/drivers/net/ethernet/mscc/ |
| H A D | ocelot_io.c | 15 u16 target = reg >> TARGET_OFFSET; in __ocelot_read_ix() local 18 WARN_ON(!target); in __ocelot_read_ix() 20 regmap_read(ocelot->targets[target], in __ocelot_read_ix() 21 ocelot->map[target][reg & REG_MASK] + offset, &val); in __ocelot_read_ix() 28 u16 target = reg >> TARGET_OFFSET; in __ocelot_write_ix() local 30 WARN_ON(!target); in __ocelot_write_ix() 32 regmap_write(ocelot->targets[target], in __ocelot_write_ix() 33 ocelot->map[target][reg & REG_MASK] + offset, val); in __ocelot_write_ix() 40 u16 target = reg >> TARGET_OFFSET; in __ocelot_rmw_ix() local 42 WARN_ON(!target); in __ocelot_rmw_ix() 53 u16 target = reg >> TARGET_OFFSET; ocelot_port_readl() local 66 u16 target = reg >> TARGET_OFFSET; ocelot_port_writel() local 82 __ocelot_target_read_ix(struct ocelot *ocelot, enum ocelot_target target, u32 reg, u32 offset) __ocelot_target_read_ix() argument 92 __ocelot_target_write_ix(struct ocelot *ocelot, enum ocelot_target target, u32 val, u32 reg, u32 offset) __ocelot_target_write_ix() argument 103 u16 target; ocelot_regfields_init() local [all...] |
| /kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/ |
| H A D | ptrace-vsx.c | 21 int fpr_get(struct task_struct *target, const struct user_regset *regset, in fpr_get() argument 27 flush_fp_to_thread(target); in fpr_get() 31 buf[i] = target->thread.TS_FPR(i); in fpr_get() 32 buf[32] = target->thread.fp_state.fpscr; in fpr_get() 49 int fpr_set(struct task_struct *target, const struct user_regset *regset, in fpr_set() argument 56 flush_fp_to_thread(target); in fpr_set() 59 buf[i] = target->thread.TS_FPR(i); in fpr_set() 60 buf[32] = target->thread.fp_state.fpscr; in fpr_set() 68 target->thread.TS_FPR(i) = buf[i]; in fpr_set() 69 target in fpr_set() 79 vsr_active(struct task_struct *target, const struct user_regset *regset) vsr_active() argument 97 vsr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) vsr_get() argument 126 vsr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) vsr_set() argument [all...] |
| /kernel/linux/linux-6.6/arch/powerpc/kernel/ptrace/ |
| H A D | ptrace-vsx.c | 21 int fpr_get(struct task_struct *target, const struct user_regset *regset, in fpr_get() argument 27 flush_fp_to_thread(target); in fpr_get() 31 buf[i] = target->thread.TS_FPR(i); in fpr_get() 32 buf[32] = target->thread.fp_state.fpscr; in fpr_get() 49 int fpr_set(struct task_struct *target, const struct user_regset *regset, in fpr_set() argument 56 flush_fp_to_thread(target); in fpr_set() 59 buf[i] = target->thread.TS_FPR(i); in fpr_set() 60 buf[32] = target->thread.fp_state.fpscr; in fpr_set() 68 target->thread.TS_FPR(i) = buf[i]; in fpr_set() 69 target in fpr_set() 79 vsr_active(struct task_struct *target, const struct user_regset *regset) vsr_active() argument 97 vsr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) vsr_get() argument 126 vsr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) vsr_set() argument [all...] |
| /third_party/gn/src/gn/ |
| H A D | substitution_writer_unittest.cc | 13 #include "gn/target.h" 113 Target target(setup.settings(), Label(SourceDir("//foo/bar/"), "baz")); in TEST() 114 target.set_output_type(Target::STATIC_LIBRARY); in TEST() 115 target.SetToolchain(setup.toolchain()); in TEST() 116 ASSERT_TRUE(target.OnResolved(&err)); in TEST() 121 &target, setup.settings(), SourceFile(str), what, \ in TEST() 128 &target, setup.settings(), SourceFile(str), what, \ in TEST() 194 Target target(setup.settings(), Label(SourceDir("//foo/bar/"), "baz")); in TEST() 195 target.set_output_type(Target::STATIC_LIBRARY); in TEST() 196 target in TEST() [all...] |
| H A D | json_project_writer_unittest.cc | 8 #include "gn/target.h" 20 Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); in TEST_F() 21 target.set_output_type(Target::ACTION); in TEST_F() 23 target.sources().push_back(SourceFile("//foo/source1.txt")); in TEST_F() 24 target.config_values().inputs().push_back(SourceFile("//foo/input1.txt")); in TEST_F() 25 target.action_values().set_script(SourceFile("//foo/script.py")); in TEST_F() 27 target.SetToolchain(setup.toolchain()); in TEST_F() 28 ASSERT_TRUE(target.OnResolved(&err)); in TEST_F() 32 target.action_values().args() = in TEST_F() 34 target in TEST_F() [all...] |
| H A D | ninja_rust_binary_target_writer_unittest.cc | 11 #include "gn/target.h" 23 Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); in TEST_F() 24 target.set_output_type(Target::SOURCE_SET); in TEST_F() 25 target.visibility().SetPublic(); in TEST_F() 26 target.sources().push_back(SourceFile("//foo/input1.rs")); in TEST_F() 27 target.sources().push_back(SourceFile("//foo/main.rs")); in TEST_F() 28 target.source_types_used().Set(SourceFile::SOURCE_RS); in TEST_F() 29 target.SetToolchain(setup.toolchain()); in TEST_F() 30 ASSERT_FALSE(target.OnResolved(&err)); in TEST_F() 37 Target target(setu in TEST_F() [all...] |
| H A D | swift_values.cc | 13 #include "gn/target.h" 21 bool SwiftValues::OnTargetResolved(Target* target, Err* err) { in OnTargetResolved() argument 22 if (!target->builds_swift_module()) in OnTargetResolved() 25 return target->swift_values().FillModuleOutputFile(target, err); in OnTargetResolved() 28 const Tool* SwiftValues::GetTool(const Target* target) const { in GetTool() 29 DCHECK(target->builds_swift_module()); in GetTool() 30 return target->toolchain()->GetToolForSourceType(SourceFile::SOURCE_SWIFT); in GetTool() 33 void SwiftValues::GetOutputs(const Target* target, in GetOutputs() argument 35 const Tool* tool = GetTool(target); in GetOutputs() 52 GetOutputsAsSourceFiles( const Target* target, std::vector<SourceFile>* result) const GetOutputsAsSourceFiles() argument 66 FillModuleOutputFile(Target* target, Err* err) FillModuleOutputFile() argument [all...] |
| /third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
| H A D | lp_jit.c | 70 gallivm->target, texture_type, in create_jit_texture_type() 73 gallivm->target, texture_type, in create_jit_texture_type() 76 gallivm->target, texture_type, in create_jit_texture_type() 79 gallivm->target, texture_type, in create_jit_texture_type() 82 gallivm->target, texture_type, in create_jit_texture_type() 85 gallivm->target, texture_type, in create_jit_texture_type() 88 gallivm->target, texture_type, in create_jit_texture_type() 91 gallivm->target, texture_type, in create_jit_texture_type() 94 gallivm->target, texture_type, in create_jit_texture_type() 97 gallivm->target, texture_typ in create_jit_texture_type() [all...] |
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tc_opts.c | 111 static void test_tc_opts_before_target(int target) in test_tc_opts_before_target() argument 139 assert_mprog_count(target, 0); in test_tc_opts_before_target() 141 err = bpf_prog_attach_opts(fd1, loopback, target, &opta); in test_tc_opts_before_target() 145 assert_mprog_count(target, 1); in test_tc_opts_before_target() 147 err = bpf_prog_attach_opts(fd2, loopback, target, &opta); in test_tc_opts_before_target() 151 assert_mprog_count(target, 2); in test_tc_opts_before_target() 158 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_opts_before_target() 181 err = bpf_prog_attach_opts(fd3, loopback, target, &opta); in test_tc_opts_before_target() 188 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_opts_before_target() 204 err = bpf_prog_attach_opts(fd4, loopback, target, in test_tc_opts_before_target() 263 test_tc_opts_after_target(int target) test_tc_opts_after_target() argument 454 test_tc_opts_revision_target(int target) test_tc_opts_revision_target() argument 563 test_tc_chain_classic(int target, bool chain_tc_old) test_tc_chain_classic() argument 666 test_tc_opts_replace_target(int target) test_tc_opts_replace_target() argument 873 test_tc_opts_invalid_target(int target) test_tc_opts_invalid_target() argument 1026 test_tc_opts_prepend_target(int target) test_tc_opts_prepend_target() argument 1166 test_tc_opts_append_target(int target) test_tc_opts_append_target() argument 1306 test_tc_opts_dev_cleanup_target(int target) test_tc_opts_dev_cleanup_target() argument 1396 test_tc_opts_mixed_target(int target) test_tc_opts_mixed_target() argument 1572 test_tc_opts_demixed_target(int target) test_tc_opts_demixed_target() argument 1651 test_tc_opts_detach_target(int target) test_tc_opts_detach_target() argument 1822 test_tc_opts_detach_before_target(int target) test_tc_opts_detach_before_target() argument 2029 test_tc_opts_detach_after_target(int target) test_tc_opts_detach_after_target() argument 2245 test_tc_opts_delete_empty(int target, bool chain_tc_old) test_tc_opts_delete_empty() argument 2276 test_tc_chain_mixed(int target) test_tc_chain_mixed() argument 2405 test_tc_opts_max_target(int target, int flags, bool relative) test_tc_opts_max_target() argument 2461 test_tc_opts_query_target(int target) test_tc_opts_query_target() argument 2628 test_tc_opts_query_attach_target(int target) test_tc_opts_query_attach_target() argument [all...] |
| /kernel/linux/linux-6.6/drivers/net/ethernet/mscc/ |
| H A D | ocelot_io.c | 16 enum ocelot_target target; in __ocelot_bulk_read_ix() local 19 ocelot_reg_to_target_addr(ocelot, reg, &target, &addr); in __ocelot_bulk_read_ix() 20 WARN_ON(!target); in __ocelot_bulk_read_ix() 22 return regmap_bulk_read(ocelot->targets[target], addr + offset, in __ocelot_bulk_read_ix() 29 enum ocelot_target target; in __ocelot_read_ix() local 32 ocelot_reg_to_target_addr(ocelot, reg, &target, &addr); in __ocelot_read_ix() 33 WARN_ON(!target); in __ocelot_read_ix() 35 regmap_read(ocelot->targets[target], addr + offset, &val); in __ocelot_read_ix() 43 enum ocelot_target target; in __ocelot_write_ix() local 46 ocelot_reg_to_target_addr(ocelot, reg, &target, in __ocelot_write_ix() 56 enum ocelot_target target; __ocelot_rmw_ix() local 69 u16 target = reg >> TARGET_OFFSET; ocelot_port_readl() local 82 u16 target = reg >> TARGET_OFFSET; ocelot_port_writel() local 99 __ocelot_target_read_ix(struct ocelot *ocelot, enum ocelot_target target, u32 reg, u32 offset) __ocelot_target_read_ix() argument 109 __ocelot_target_write_ix(struct ocelot *ocelot, enum ocelot_target target, u32 val, u32 reg, u32 offset) __ocelot_target_write_ix() argument 120 u16 target; ocelot_regfields_init() local [all...] |
| /third_party/node/src/ |
| H A D | node_config.cc | 26 static void Initialize(Local<Object> target, in Initialize() argument 34 READONLY_TRUE_PROPERTY(target, "isDebugBuild"); in Initialize() 36 READONLY_FALSE_PROPERTY(target, "isDebugBuild"); in Initialize() 40 READONLY_TRUE_PROPERTY(target, "hasOpenSSL"); in Initialize() 42 READONLY_FALSE_PROPERTY(target, "hasOpenSSL"); in Initialize() 45 READONLY_TRUE_PROPERTY(target, "fipsMode"); in Initialize() 49 READONLY_TRUE_PROPERTY(target, "hasIntl"); in Initialize() 52 READONLY_TRUE_PROPERTY(target, "hasSmallICU"); in Initialize() 56 READONLY_TRUE_PROPERTY(target, "hasTracing"); in Initialize() 60 READONLY_TRUE_PROPERTY(target, "hasNodeOption in Initialize() [all...] |
| /kernel/linux/linux-5.10/drivers/infiniband/ulp/srp/ |
| H A D | ib_srp.c | 95 "Enable workarounds for Topspin/Cisco SRP target bugs if != 0"); 142 "Number of RDMA channels to use for communication with an SRP target. Using more than one channel improves performance if the HCA supports multiple completion vectors. The default value is the minimum of four times the number of online CPU sockets and the number of completion vectors supported by the HCA."); 216 static int srp_target_is_topspin(struct srp_target_port *target) in srp_target_is_topspin() argument 222 (!memcmp(&target->ioc_guid, topspin_oui, sizeof topspin_oui) || in srp_target_is_topspin() 223 !memcmp(&target->ioc_guid, cisco_oui, sizeof cisco_oui)); in srp_target_is_topspin() 275 static int srp_init_ib_qp(struct srp_target_port *target, in srp_init_ib_qp() argument 285 ret = ib_find_cached_pkey(target->srp_host->srp_dev->dev, in srp_init_ib_qp() 286 target->srp_host->port, in srp_init_ib_qp() 287 be16_to_cpu(target->ib_cm.pkey), in srp_init_ib_qp() 295 attr->port_num = target in srp_init_ib_qp() 310 struct srp_target_port *target = ch->target; srp_new_ib_cm_id() local 336 struct srp_target_port *target = ch->target; srp_new_rdma_cm_id() local 380 struct srp_target_port *target = ch->target; srp_new_cm_id() local 502 srp_alloc_fr_pool(struct srp_target_port *target) srp_alloc_fr_pool() argument 530 struct srp_target_port *target = ch->target; srp_create_ch_ib() local 641 srp_free_ch_ib(struct srp_target_port *target, struct srp_rdma_ch *ch) srp_free_ch_ib() argument 705 struct srp_target_port *target = ch->target; srp_path_rec_completion() local 718 struct srp_target_port *target = ch->target; srp_ib_lookup_path() local 757 struct srp_target_port *target = ch->target; srp_rdma_lookup_path() local 777 struct srp_target_port *target = ch->target; srp_lookup_path() local 803 struct srp_target_port *target = ch->target; srp_send_req() local 925 srp_queue_remove_work(struct srp_target_port *target) srp_queue_remove_work() argument 942 srp_disconnect_target(struct srp_target_port *target) srp_disconnect_target() argument 970 struct srp_target_port *target = host_to_target(shost); srp_exit_cmd_priv() local 988 struct srp_target_port *target = host_to_target(shost); srp_init_cmd_priv() local 1035 srp_remove_target(struct srp_target_port *target) srp_remove_target() argument 1067 struct srp_target_port *target = srp_remove_work() local 1077 struct srp_target_port *target = rport->lld_data; srp_rport_delete() local 1086 srp_connected_ch(struct srp_target_port *target) srp_connected_ch() argument 1099 struct srp_target_port *target = ch->target; srp_connect_ch() local 1178 struct srp_target_port *target = ch->target; srp_unmap_data() local 1282 struct srp_target_port *target = context->srp_target; srp_terminate_cmd() local 1294 struct srp_target_port *target = rport->lld_data; srp_terminate_io() local 1332 struct srp_target_port *target = rport->lld_data; srp_rport_reconnect() local 1424 struct srp_target_port *target = ch->target; srp_map_finish_fr() local 1530 struct srp_target_port *target = ch->target; srp_map_sg_dma() local 1553 struct srp_target_port *target = ch->target; srp_map_idb() local 1622 struct srp_target_port *target = ch->target; srp_map_data() local 1836 struct srp_target_port *target = ch->target; __srp_get_tx_iu() local 1890 struct srp_target_port *target = ch->target; srp_post_send() local 1914 struct srp_target_port *target = ch->target; srp_post_recv() local 1934 struct srp_target_port *target = ch->target; srp_process_rsp() local 1994 struct srp_target_port *target = ch->target; srp_response_common() local 2043 struct srp_target_port *target = ch->target; srp_process_aer_req() local 2062 struct srp_target_port *target = ch->target; srp_recv_done() local 2127 struct srp_target_port *target; srp_tl_err_work() local 2138 struct srp_target_port *target = ch->target; srp_handle_qp_err() local 2152 struct srp_target_port *target = host_to_target(shost); srp_queuecommand() local 2253 struct srp_target_port *target = ch->target; srp_alloc_iu_bufs() local 2332 struct srp_target_port *target = ch->target; srp_cm_rep_handler() local 2424 struct srp_target_port *target = ch->target; srp_ib_cm_rej_handler() local 2510 struct srp_target_port *target = ch->target; srp_ib_cm_handler() local 2571 struct srp_target_port *target = ch->target; srp_rdma_cm_rej_handler() local 2622 struct srp_target_port *target = ch->target; srp_rdma_cm_handler() local 2715 struct srp_target_port *target = ch->target; srp_send_tsk_mgmt() local 2780 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_abort() local 2810 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_reset_device() local 2828 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_reset_host() local 2838 struct srp_target_port *target = host_to_target(shost); srp_target_alloc() local 2848 struct srp_target_port *target = host_to_target(shost); srp_slave_configure() local 2863 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_id_ext() local 2871 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_ioc_guid() local 2879 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_service_id() local 2890 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_pkey() local 2900 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_sgid() local 2908 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_dgid() local 2919 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_orig_dgid() local 2929 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_req_lim() local 2943 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_zero_req_lim() local 2951 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_local_ib_port() local 2959 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_local_ib_device() local 2968 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_ch_count() local 2976 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_comp_vector() local 2984 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_tl_retry_count() local 2992 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_cmd_sg_entries() local 3000 struct srp_target_port *target = host_to_target(class_to_shost(dev)); show_allow_ext_sg() local 3085 srp_add_target(struct srp_host *host, struct srp_target_port *target) srp_add_target() argument 3155 srp_conn_unique(struct srp_host *host, struct srp_target_port *target) srp_conn_unique() argument 3293 srp_parse_options(struct net *net, const char *buf, struct srp_target_port *target) srp_parse_options() argument 3660 struct srp_target_port *target; srp_create_target() local 4057 struct srp_target_port *target; srp_remove_one() local [all...] |
| /kernel/linux/linux-6.6/drivers/infiniband/ulp/srp/ |
| H A D | ib_srp.c | 90 "Enable workarounds for Topspin/Cisco SRP target bugs if != 0"); 137 "Number of RDMA channels to use for communication with an SRP target. Using more than one channel improves performance if the HCA supports multiple completion vectors. The default value is the minimum of four times the number of online CPU sockets and the number of completion vectors supported by the HCA."); 211 static int srp_target_is_topspin(struct srp_target_port *target) in srp_target_is_topspin() argument 217 (!memcmp(&target->ioc_guid, topspin_oui, sizeof topspin_oui) || in srp_target_is_topspin() 218 !memcmp(&target->ioc_guid, cisco_oui, sizeof cisco_oui)); in srp_target_is_topspin() 270 static int srp_init_ib_qp(struct srp_target_port *target, in srp_init_ib_qp() argument 280 ret = ib_find_cached_pkey(target->srp_host->srp_dev->dev, in srp_init_ib_qp() 281 target->srp_host->port, in srp_init_ib_qp() 282 be16_to_cpu(target->ib_cm.pkey), in srp_init_ib_qp() 290 attr->port_num = target in srp_init_ib_qp() 305 struct srp_target_port *target = ch->target; srp_new_ib_cm_id() local 331 struct srp_target_port *target = ch->target; srp_new_rdma_cm_id() local 375 struct srp_target_port *target = ch->target; srp_new_cm_id() local 497 srp_alloc_fr_pool(struct srp_target_port *target) srp_alloc_fr_pool() argument 525 struct srp_target_port *target = ch->target; srp_create_ch_ib() local 636 srp_free_ch_ib(struct srp_target_port *target, struct srp_rdma_ch *ch) srp_free_ch_ib() argument 700 struct srp_target_port *target = ch->target; srp_path_rec_completion() local 713 struct srp_target_port *target = ch->target; srp_ib_lookup_path() local 752 struct srp_target_port *target = ch->target; srp_rdma_lookup_path() local 772 struct srp_target_port *target = ch->target; srp_lookup_path() local 798 struct srp_target_port *target = ch->target; srp_send_req() local 920 srp_queue_remove_work(struct srp_target_port *target) srp_queue_remove_work() argument 937 srp_disconnect_target(struct srp_target_port *target) srp_disconnect_target() argument 965 struct srp_target_port *target = host_to_target(shost); srp_exit_cmd_priv() local 983 struct srp_target_port *target = host_to_target(shost); srp_init_cmd_priv() local 1037 srp_remove_target(struct srp_target_port *target) srp_remove_target() argument 1069 struct srp_target_port *target = srp_remove_work() local 1079 struct srp_target_port *target = rport->lld_data; srp_rport_delete() local 1088 srp_connected_ch(struct srp_target_port *target) srp_connected_ch() argument 1101 struct srp_target_port *target = ch->target; srp_connect_ch() local 1180 struct srp_target_port *target = ch->target; srp_unmap_data() local 1283 struct srp_target_port *target = context->srp_target; srp_terminate_cmd() local 1295 struct srp_target_port *target = rport->lld_data; srp_terminate_io() local 1333 struct srp_target_port *target = rport->lld_data; srp_rport_reconnect() local 1425 struct srp_target_port *target = ch->target; srp_map_finish_fr() local 1531 struct srp_target_port *target = ch->target; srp_map_sg_dma() local 1554 struct srp_target_port *target = ch->target; srp_map_idb() local 1623 struct srp_target_port *target = ch->target; srp_map_data() local 1837 struct srp_target_port *target = ch->target; __srp_get_tx_iu() local 1891 struct srp_target_port *target = ch->target; srp_post_send() local 1915 struct srp_target_port *target = ch->target; srp_post_recv() local 1935 struct srp_target_port *target = ch->target; srp_process_rsp() local 1995 struct srp_target_port *target = ch->target; srp_response_common() local 2044 struct srp_target_port *target = ch->target; srp_process_aer_req() local 2063 struct srp_target_port *target = ch->target; srp_recv_done() local 2128 struct srp_target_port *target; srp_tl_err_work() local 2139 struct srp_target_port *target = ch->target; srp_handle_qp_err() local 2154 struct srp_target_port *target = host_to_target(shost); srp_queuecommand() local 2255 struct srp_target_port *target = ch->target; srp_alloc_iu_bufs() local 2334 struct srp_target_port *target = ch->target; srp_cm_rep_handler() local 2426 struct srp_target_port *target = ch->target; srp_ib_cm_rej_handler() local 2512 struct srp_target_port *target = ch->target; srp_ib_cm_handler() local 2573 struct srp_target_port *target = ch->target; srp_rdma_cm_rej_handler() local 2624 struct srp_target_port *target = ch->target; srp_rdma_cm_handler() local 2717 struct srp_target_port *target = ch->target; srp_send_tsk_mgmt() local 2782 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_abort() local 2812 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_reset_device() local 2830 struct srp_target_port *target = host_to_target(scmnd->device->host); srp_reset_host() local 2840 struct srp_target_port *target = host_to_target(shost); srp_target_alloc() local 2850 struct srp_target_port *target = host_to_target(shost); srp_slave_configure() local 2865 struct srp_target_port *target = host_to_target(class_to_shost(dev)); id_ext_show() local 2875 struct srp_target_port *target = host_to_target(class_to_shost(dev)); ioc_guid_show() local 2885 struct srp_target_port *target = host_to_target(class_to_shost(dev)); service_id_show() local 2898 struct srp_target_port *target = host_to_target(class_to_shost(dev)); pkey_show() local 2911 struct srp_target_port *target = host_to_target(class_to_shost(dev)); sgid_show() local 2921 struct srp_target_port *target = host_to_target(class_to_shost(dev)); dgid_show() local 2935 struct srp_target_port *target = host_to_target(class_to_shost(dev)); orig_dgid_show() local 2948 struct srp_target_port *target = host_to_target(class_to_shost(dev)); req_lim_show() local 2965 struct srp_target_port *target = host_to_target(class_to_shost(dev)); zero_req_lim_show() local 2975 struct srp_target_port *target = host_to_target(class_to_shost(dev)); local_ib_port_show() local 2985 struct srp_target_port *target = host_to_target(class_to_shost(dev)); local_ib_device_show() local 2996 struct srp_target_port *target = host_to_target(class_to_shost(dev)); ch_count_show() local 3006 struct srp_target_port *target = host_to_target(class_to_shost(dev)); comp_vector_show() local 3016 struct srp_target_port *target = host_to_target(class_to_shost(dev)); tl_retry_count_show() local 3026 struct srp_target_port *target = host_to_target(class_to_shost(dev)); cmd_sg_entries_show() local 3036 struct srp_target_port *target = host_to_target(class_to_shost(dev)); allow_ext_sg_show() local 3108 srp_add_target(struct srp_host *host, struct srp_target_port *target) srp_add_target() argument 3183 srp_conn_unique(struct srp_host *host, struct srp_target_port *target) srp_conn_unique() argument 3321 srp_parse_options(struct net *net, const char *buf, struct srp_target_port *target) srp_parse_options() argument 3688 struct srp_target_port *target; add_target_store() local 4083 struct srp_target_port *target; srp_remove_one() local [all...] |
| /kernel/linux/linux-6.6/arch/parisc/net/ |
| H A D | bpf_jit.h | 99 #define hppa_ldo(im14, reg, target) \ 100 hppa_t1_insn(0x0d, reg, target, im14) /* ldo val14(reg),target */ 103 #define hppa_or(reg1, reg2, target) \ 104 hppa_t6_insn(0x02, reg2, reg1, 0, 0, 0x09, target) /* or reg1,reg2,target */ 105 #define hppa_or_cond(reg1, reg2, cond, f, target) \ 106 hppa_t6_insn(0x02, reg2, reg1, cond, f, 0x09, target) 107 #define hppa_and(reg1, reg2, target) \ 108 hppa_t6_insn(0x02, reg2, reg1, 0, 0, 0x08, target) /* an [all...] |
| /foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/observer/ |
| H A D | subject.js | 25 * @param {any} target the target object to be observed 27 export function Subject(target) { 30 defineProp(target, SYMBOL_OBSERVABLE, subject); 32 if (Array.isArray(target)) { 33 hijackArray(target); 36 Object.keys(target).forEach(key => hijack(target, key, target[key])); 39 Subject.of = function(target) { [all...] |
| /third_party/rust/crates/rustix/src/fs/ |
| H A D | mount.rs | 8 /// `mount(source, target, filesystemtype, mountflags, data)` 17 target: Target, in mount() 23 target.into_with_c_str(|target| { in mount() 28 target, in mount() 39 /// `mount(null, target, null, MS_REMOUNT | mountflags, data)` 47 target: Target, in remount() 51 target.into_with_c_str(|target| { in remount() 55 target, in remount() [all...] |
| /third_party/skia/third_party/externals/freetype/src/base/ |
| H A D | ftbitmap.c | 65 FT_Bitmap *target) in FT_EXPORT_DEF() 79 if ( !source || !target ) in FT_EXPORT_DEF() 82 if ( source == target ) in FT_EXPORT_DEF() 86 target_pitch_sign = target->pitch < 0 ? -1 : 1; in FT_EXPORT_DEF() 90 *target = *source; in FT_EXPORT_DEF() 92 target->pitch = -target->pitch; in FT_EXPORT_DEF() 104 if ( target->buffer ) in FT_EXPORT_DEF() 106 FT_Int target_pitch = target->pitch; in FT_EXPORT_DEF() 112 target_size = (FT_ULong)target_pitch * target in FT_EXPORT_DEF() [all...] |
| /third_party/ltp/tools/sparse/sparse-src/ |
| H A D | target.c | 5 #include "target.h" 79 static const struct target *targets[] = { 106 const struct target *arch_target = &target_default; 201 const struct target *target = targets[mach]; in target_config() local 203 arch_target = target; in target_config() 204 arch_m64 = target->bitness; in target_config() 205 arch_big_endian = target->big_endian; in target_config() 207 funsigned_char = target->unsigned_char; in target_config() 213 const struct target *targe in target_init() local [all...] |