/third_party/node/src/ |
H A D | node_process_methods.cc | 567 static void Initialize(Local<Object> target, in Initialize() argument 574 realm->AddBindingData<BindingData>(context, target); in Initialize() 580 SetMethod(context, target, "_debugProcess", DebugProcess); in Initialize() 581 SetMethod(context, target, "abort", Abort); in Initialize() 582 SetMethod(context, target, "causeSegfault", CauseSegfault); in Initialize() 583 SetMethod(context, target, "chdir", Chdir); in Initialize() 586 SetMethod(context, target, "umask", Umask); in Initialize() 587 SetMethod(context, target, "memoryUsage", MemoryUsage); in Initialize() 588 SetMethod(context, target, "constrainedMemory", GetConstrainedMemory); in Initialize() 589 SetMethod(context, target, "rs in Initialize() [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/ |
H A D | node.js | 18 // the case of link nodes, it is equivalent to node.target.path. 75 // NB: path can be null if it's a link target 144 // full path to the tarball or link target. However, if the package 526 return type === 'workspace' && to && (to.target === this || to === this) 535 // or the target of the root link, but NOT if it's another link to the 537 return this === this.root || this === this.root.target 588 const { target } = this 590 if (target) { 591 target.linksIn.delete(this) 592 if (target [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | static_call.c | 11 unsigned long target = (unsigned long)(is_ret0 ? tramp + PPC_SCT_RET0 : func); in arch_static_call_transform() local 12 bool is_short = is_offset_in_branch_range((long)target - (long)tramp); in arch_static_call_transform() 20 err = patch_instruction(tramp + PPC_SCT_DATA, ppc_inst(target)); in arch_static_call_transform() 28 err = patch_branch(tramp, target, 0); in arch_static_call_transform()
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
H A D | resource_scale.sh | 42 target=$(${current_test}_get_target "$should_fail") 45 ${current_test}_test "$target" "$should_fail" 48 log_test "'$current_test' [$profile] $target" 50 log_test "'$current_test' [$profile] overflow $target"
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
H A D | resource_scale.sh | 40 target=$(${current_test}_get_target "$should_fail") 43 ${current_test}_test "$target" "$should_fail" 47 log_test "'$current_test' $target" 49 log_test "'$current_test' overflow $target"
|
/third_party/backends/include/sane/ |
H A D | sanei_jinclude.h | 61 #define MEMZERO(target,size) bzero((void *)(target), (size_t)(size)) 67 #define MEMZERO(target,size) memset((void *)(target), 0, (size_t)(size))
|
/third_party/mesa3d/src/gallium/frontends/clover/llvm/ |
H A D | codegen.hpp | 53 build_module_native(::llvm::Module &mod, const target &target, 58 print_module_native(const ::llvm::Module &mod, const target &target);
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_vdpau.h | 40 st_vdpau_map_surface(struct gl_context *ctx, GLenum target, GLenum access, 45 st_vdpau_unmap_surface(struct gl_context *ctx, GLenum target, GLenum access, 52 st_vdpau_map_surface(struct gl_context *ctx, GLenum target, GLenum access, in st_vdpau_map_surface() argument 57 st_vdpau_unmap_surface(struct gl_context *ctx, GLenum target, GLenum access, in st_vdpau_unmap_surface() argument
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | jinclude.h | 64 #define MEMZERO(target, size) \ 65 bzero((void *)(target), (size_t)(size)) 72 #define MEMZERO(target, size) \ 73 memset((void *)(target), 0, (size_t)(size))
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | osfiber_ppc64.c | 22 void marl_fiber_trampoline(void (*target)(void*), void* arg) { in marl_fiber_trampoline() argument 23 target(arg); in marl_fiber_trampoline() 30 void (*target)(void*), in marl_fiber_set_target() 55 ctx->r3 = (uintptr_t)target; in marl_fiber_set_target() 27 marl_fiber_set_target(struct marl_fiber_context* ctx, void* stack, uint32_t stack_size, void (*target)(void*), void* arg) marl_fiber_set_target() argument
|
/third_party/typescript/tests/baselines/reference/ |
H A D | decoratorMetadataWithImportDeclarationNameCollision4.js | 11 function someDecorator(target) { 12 return target; 43 function someDecorator(target) {
44 return target;
|
/third_party/skia/experimental/graphite/src/ |
H A D | RenderPassTask.cpp | 41 auto target = fRenderPassDesc.fColorAttachment.fTextureProxy; in addCommands() local 42 if (!target->instantiate(resourceProvider)) { in addCommands() 44 SkDebugf("Dimensions are (%d, %d).\n", target->dimensions().width(), in addCommands() 45 target->dimensions().height()); in addCommands()
|
/third_party/skia/third_party/externals/swiftshader/include/GL/ |
H A D | glcorearb.h | 265 typedef void (APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); 270 typedef void (APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param); 271 typedef void (APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); 272 typedef void (APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); 273 typedef void (APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); 274 typedef void (APIENTRYP PFNGLTEXIMAGE1DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); 275 typedef void (APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 303 typedef void (APIENTRYP PFNGLGETTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, void *pixels); 304 typedef void (APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 305 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenu [all...] |
/third_party/skia/third_party/externals/opengl-registry/api/GL/ |
H A D | glcorearb.h | 265 typedef void (APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); 270 typedef void (APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param); 271 typedef void (APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); 272 typedef void (APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); 273 typedef void (APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); 274 typedef void (APIENTRYP PFNGLTEXIMAGE1DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); 275 typedef void (APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 303 typedef void (APIENTRYP PFNGLGETTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, void *pixels); 304 typedef void (APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 305 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenu [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_blitter.c | 895 src->target != PIPE_TEXTURE_RECT && in get_texcoords() 914 switch (src->target) { in get_texcoords() 973 enum pipe_texture_target target, in blitter_get_fs_texfetch_col() 981 util_pipe_tex_to_tgsi_tex(target, src_nr_samples); in blitter_get_fs_texfetch_col() 986 assert(target < PIPE_MAX_TEXTURE_TYPES); in blitter_get_fs_texfetch_col() 1029 shader = &ctx->fs_resolve[target][index][filter]; in blitter_get_fs_texfetch_col() 1049 shader = &ctx->fs_texfetch_col_msaa[type][target]; in blitter_get_fs_texfetch_col() 1064 shader = &ctx->fs_texfetch_col[type][target][1]; in blitter_get_fs_texfetch_col() 1066 shader = &ctx->fs_texfetch_col[type][target][0]; in blitter_get_fs_texfetch_col() 1083 enum pipe_texture_target target, in blitter_get_fs_pack_color_zs() 970 blitter_get_fs_texfetch_col(struct blitter_context_priv *ctx, enum pipe_format src_format, enum pipe_format dst_format, enum pipe_texture_target target, unsigned src_nr_samples, unsigned dst_nr_samples, unsigned filter, bool use_txf) blitter_get_fs_texfetch_col() argument 1082 blitter_get_fs_pack_color_zs(struct blitter_context_priv *ctx, enum pipe_texture_target target, unsigned nr_samples, enum pipe_format zs_format, bool dst_is_color) blitter_get_fs_pack_color_zs() argument 1120 blitter_get_fs_texfetch_depth(struct blitter_context_priv *ctx, enum pipe_texture_target target, unsigned src_samples, unsigned dst_samples, bool use_txf) blitter_get_fs_texfetch_depth() argument 1165 blitter_get_fs_texfetch_depthstencil(struct blitter_context_priv *ctx, enum pipe_texture_target target, unsigned src_samples, unsigned dst_samples, bool use_txf) blitter_get_fs_texfetch_depthstencil() argument 1211 blitter_get_fs_texfetch_stencil(struct blitter_context_priv *ctx, enum pipe_texture_target target, unsigned src_samples, unsigned dst_samples, bool use_txf) blitter_get_fs_texfetch_stencil() argument 1268 unsigned samples, j, f, target, max_samples, use_txf; util_blitter_cache_all_shaders() local 2287 unsigned target = tex->target; util_blitter_generate_mipmap() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cBufferStorageTests.cpp | 109 void InitData(glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, const glw::GLvoid* data); 111 void InitStorage(glw::GLenum target, glw::GLenum flags, glw::GLsizeiptr size, const glw::GLvoid* data); 130 static void Bind(const glw::Functions& gl, glw::GLuint id, glw::GLenum target); 132 static void BindBase(const glw::Functions& gl, glw::GLuint id, glw::GLenum target, glw::GLuint index); 134 static void BindRange(const glw::Functions& gl, glw::GLuint id, glw::GLenum target, glw::GLuint index, 137 static void Data(const glw::Functions& gl, glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, 144 static void GetParameter(const glw::Functions& gl, glw::GLenum target, glw::GLenum value, glw::GLint* data); 146 static void GetSubData(const glw::Functions& gl, glw::GLenum target, glw::GLintptr offset, glw::GLsizeiptr size, 149 static void* Map(const glw::Functions& gl, glw::GLenum target, glw::GLenum access); 151 static void* MapRange(const glw::Functions& gl, glw::GLenum target, gl 501 InitData(glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, const glw::GLvoid* data) InitData() argument 522 InitStorage(glw::GLenum target, glw::GLenum flags, glw::GLsizeiptr size, const glw::GLvoid* data) InitStorage() argument 640 Bind(const glw::Functions& gl, glw::GLuint id, glw::GLenum target) Bind() argument 653 BindBase(const glw::Functions& gl, glw::GLuint id, glw::GLenum target, glw::GLuint index) BindBase() argument 668 BindRange(const glw::Functions& gl, glw::GLuint id, glw::GLenum target, glw::GLuint index, glw::GLintptr offset, glw::GLsizeiptr size) BindRange() argument 683 Data(const glw::Functions& gl, glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, const glw::GLvoid* data) Data() argument 730 GetParameter(const glw::Functions& gl, glw::GLenum target, glw::GLenum value, glw::GLint* data) GetParameter() argument 744 GetSubData(const glw::Functions& gl, glw::GLenum target, glw::GLintptr offset, glw::GLsizeiptr size, glw::GLvoid* data) GetSubData() argument 759 Map(const glw::Functions& gl, glw::GLenum target, glw::GLenum access) Map() argument 775 MapRange(const glw::Functions& gl, glw::GLenum target, glw::GLintptr offset, glw::GLsizeiptr length, glw::GLenum access) MapRange() argument 792 Storage(const glw::Functions& gl, glw::GLenum target, glw::GLenum flags, glw::GLsizeiptr size, const glw::GLvoid* data) Storage() argument 807 SubData(const glw::Functions& gl, glw::GLenum target, glw::GLintptr offset, glw::GLsizeiptr size, glw::GLvoid* data) SubData() argument 819 UnMap(const glw::Functions& gl, glw::GLenum target) UnMap() argument 908 AttachTexture(const glw::Functions& gl, glw::GLenum target, glw::GLenum attachment, glw::GLuint texture_id, glw::GLuint width, glw::GLuint height) AttachTexture() argument 924 Bind(const glw::Functions& gl, glw::GLenum target, glw::GLuint id) Bind() argument 1317 Bind(const glw::Functions& gl, glw::GLuint id, glw::GLenum target) Bind() argument 1335 CompressedImage(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLsizei image_size, const glw::GLvoid* data) CompressedImage() argument 1404 GetData(const glw::Functions& gl, glw::GLenum target, glw::GLenum format, glw::GLenum type, glw::GLvoid* out_data) GetData() argument 1419 GetLevelParameter(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLenum pname, glw::GLint* param) GetLevelParameter() argument 1439 Image(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLenum format, glw::GLenum type, const glw::GLvoid* data) Image() argument 1490 Storage(const glw::Functions& gl, glw::GLenum target, glw::GLsizei levels, glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth) Storage() argument 1531 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 1668 const GLenum target = Buffer::m_targets[i]; iterate() local [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/compat/ |
H A D | drv_klad.c | 36 hi_s32 hal_cipher_klad_config(hi_u32 chn_id, hi_u32 opt_id, hi_cipher_klad_target target, hi_bool is_decrypt) in hal_cipher_klad_config() argument 50 ctrl.bits.type = target; in hal_cipher_klad_config() 196 hi_cipher_ca_type root_key, hi_cipher_klad_target target, const hi_u8 *data_in, hi_u32 key_len) in drv_cipher_klad_load_key() 203 hi_log_chk_param_return(target >= HI_CIPHER_KLAD_TARGET_BUTT); in drv_cipher_klad_load_key() 209 ret = hal_cipher_klad_config(chn_id, otp_id, target, HI_TRUE); in drv_cipher_klad_load_key() 235 hi_cipher_klad_target target, hi_u8 *clean_key, hi_u8 *encrypt_key, hi_u32 key_len) in drv_cipher_klad_encrypt_key() 241 hi_log_chk_param_return(target >= HI_CIPHER_KLAD_TARGET_BUTT); in drv_cipher_klad_encrypt_key() 253 if (target == HI_CIPHER_KLAD_TARGET_RSA) { in drv_cipher_klad_encrypt_key() 195 drv_cipher_klad_load_key(hi_u32 chn_id, hi_cipher_ca_type root_key, hi_cipher_klad_target target, const hi_u8 *data_in, hi_u32 key_len) drv_cipher_klad_load_key() argument 234 drv_cipher_klad_encrypt_key(hi_cipher_ca_type root_key, hi_cipher_klad_target target, hi_u8 *clean_key, hi_u8 *encrypt_key, hi_u32 key_len) drv_cipher_klad_encrypt_key() argument
|
/kernel/linux/linux-5.10/arch/x86/events/amd/ |
H A D | power.c | 221 int target; in power_cpu_exit() local 231 target = cpumask_any_but(topology_sibling_cpumask(cpu), cpu); in power_cpu_exit() 232 if (target < nr_cpumask_bits) { in power_cpu_exit() 233 cpumask_set_cpu(target, &cpu_mask); in power_cpu_exit() 234 perf_pmu_migrate_context(&pmu_class, cpu, target); in power_cpu_exit() 241 int target; in power_cpu_init() local 252 target = cpumask_any_but(topology_sibling_cpumask(cpu), cpu); in power_cpu_init() 253 if (target >= nr_cpumask_bits) in power_cpu_init()
|
/kernel/linux/linux-5.10/drivers/leds/trigger/ |
H A D | ledtrig-activity.c | 37 unsigned int target; in led_activity_function() local 111 * - a target CPU usage of min(50%, 100%/#CPU) for a 10% duty cycle in led_activity_function() 113 * - below target : in led_activity_function() 115 * OFF_ms = 90 + (1 - usage/target) * 900 in led_activity_function() 116 * - above target : in led_activity_function() 117 * ON_ms = 10 + (usage-target)/(100%-target) * 80 in led_activity_function() 118 * OFF_ms = 90 - (usage-target)/(100%-target) * 80 in led_activity_function() 134 target in led_activity_function() [all...] |
/kernel/linux/linux-5.10/drivers/misc/lkdtm/ |
H A D | bugs.c | 269 void *target[2] = { }; in lkdtm_CORRUPT_LIST_ADD() local 270 void *redirection = ⌖ in lkdtm_CORRUPT_LIST_ADD() 292 if (target[0] == NULL && target[1] == NULL) in lkdtm_CORRUPT_LIST_ADD() 302 void *target[2] = { }; in lkdtm_CORRUPT_LIST_DEL() local 303 void *redirection = ⌖ in lkdtm_CORRUPT_LIST_DEL() 317 if (target[0] == NULL && target[1] == NULL) in lkdtm_CORRUPT_LIST_DEL()
|
/kernel/linux/linux-6.6/drivers/platform/x86/intel/uncore-frequency/ |
H A D | uncore-frequency.c | 30 /* Stores the CPU mask of the target CPUs to use during uncore read/write */ 123 int target; in uncore_event_cpu_online() local 126 target = cpumask_any_and(&uncore_cpu_mask, topology_die_cpumask(cpu)); in uncore_event_cpu_online() 127 if (target < nr_cpu_ids) in uncore_event_cpu_online() 147 int target; in uncore_event_cpu_offline() local 158 target = cpumask_any_but(topology_die_cpumask(cpu), cpu); in uncore_event_cpu_offline() 160 if (target < nr_cpu_ids) { in uncore_event_cpu_offline() 161 cpumask_set_cpu(target, &uncore_cpu_mask); in uncore_event_cpu_offline() 162 uncore_freq_add_entry(data, target); in uncore_event_cpu_offline()
|
/kernel/linux/linux-6.6/arch/x86/events/amd/ |
H A D | power.c | 221 int target; in power_cpu_exit() local 231 target = cpumask_any_but(topology_sibling_cpumask(cpu), cpu); in power_cpu_exit() 232 if (target < nr_cpumask_bits) { in power_cpu_exit() 233 cpumask_set_cpu(target, &cpu_mask); in power_cpu_exit() 234 perf_pmu_migrate_context(&pmu_class, cpu, target); in power_cpu_exit() 241 int target; in power_cpu_init() local 252 target = cpumask_any_but(topology_sibling_cpumask(cpu), cpu); in power_cpu_init() 253 if (target >= nr_cpumask_bits) in power_cpu_init()
|
/kernel/linux/linux-6.6/drivers/leds/trigger/ |
H A D | ledtrig-activity.c | 38 unsigned int target; in led_activity_function() local 112 * - a target CPU usage of min(50%, 100%/#CPU) for a 10% duty cycle in led_activity_function() 114 * - below target : in led_activity_function() 116 * OFF_ms = 90 + (1 - usage/target) * 900 in led_activity_function() 117 * - above target : in led_activity_function() 118 * ON_ms = 10 + (usage-target)/(100%-target) * 80 in led_activity_function() 119 * OFF_ms = 90 - (usage-target)/(100%-target) * 80 in led_activity_function() 135 target in led_activity_function() [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | jump-table-assembler.h | 46 // it. The code at the new target might also have been emitted concurrently, so 142 Address target = in GenerateFarJumpTable() local 144 jtasm.EmitFarJumpSlot(target); in GenerateFarJumpTable() 152 Address far_jump_table_slot, Address target) { 155 if (!jtasm.EmitJumpSlot(target)) { 159 JumpTableAssembler::PatchFarJumpSlot(far_jump_table_slot, target); 175 // that the instruction containing the call target does not cross cache-line 254 bool EmitJumpSlot(Address target); 257 void EmitFarJumpSlot(Address target); 261 static void PatchFarJumpSlot(Address slot, Address target); [all...] |
/third_party/node/tools/ |
H A D | js2c.py | 143 def JS2C(source_files, target): 160 write_if_chaged(out, target) 185 def write_if_chaged(content, target): 186 if os.path.exists(target): 187 with open(target, 'rt') as existing: 192 os.utime(target, None) 194 with open(target, "wt") as output: 213 parser.add_argument('--target', help='output file') 245 JS2C(source_files, options.target)
|