/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_navigation_stack.cpp | 48 void JSRouteInfo::SetName(const std::string& name) in SetName() argument 50 name_ = name; in SetName() 102 void JSNavigationStack::Push(const std::string& name, const RefPtr<NG::RouteInfo>& routeInfo) in Push() argument 115 params[0] = JSRef<JSVal>::Make(ToJSValue(name)); in Push() 127 params[0] = JSRef<JSVal>::Make(ToJSValue(name)); in Push() 133 void JSNavigationStack::PushName(const std::string& name, const JSRef<JSVal>& param) in PushName() argument 141 params[0] = JSRef<JSVal>::Make(ToJSValue(name)); in PushName() 147 void JSNavigationStack::Push(const std::string& name, int32_t index) in Push() argument 162 params[0] = JSRef<JSVal>::Make(ToJSValue(name)); in Push() 167 void JSNavigationStack::RemoveName(const std::string& name) in RemoveName() argument 309 auto name = pathInfo->GetPropertyValue<std::string>("name", ""); CreateNodeByIndex() local 348 auto name = jsRouteInfo->GetName(); CreateNodeByRouteInfo() local 577 JSRef<JSVal> name = propertyNames->GetValueAt(i); ParseJsObject() local 722 const auto& name = navPathList_[i].first; DumpStackInfo() local 787 CheckAndGetInterceptionFunc(const std::string& name, JSRef<JSFunc>& func) CheckAndGetInterceptionFunc() argument 806 LoadDestinationByBuilder(const std::string& name, const JSRef<JSVal>& param, RefPtr<NG::UINode>& node, RefPtr<NG::NavDestinationGroupNode>& desNode) LoadDestinationByBuilder() argument 828 LoadDestination(const std::string& name, const JSRef<JSVal>& param, const WeakPtr<NG::UINode>& customNode, RefPtr<NG::UINode>& node, RefPtr<NG::NavDestinationGroupNode>& desNode) LoadDestination() argument 935 auto name = GetNameByIndex(index); UpdatePathInfoIfNeeded() local [all...] |
/third_party/glslang/glslang/MachineIndependent/preprocessor/ |
H A D | Pp.cpp | 19 // Neither the name of 3Dlabs Inc. Ltd. nor the names of its 54 Neither the name, trademarks, service marks nor logos of NVIDIA 100 // get the macro name in CPPdefine() 103 parseContext.ppError(ppToken->loc, "must be followed by macro name", "#define", ""); in CPPdefine() 107 // We are in user code; check for reserved name use: in CPPdefine() 108 parseContext.reservedPpErrorCheck(ppToken->loc, ppToken->name, "#define"); in CPPdefine() 111 // save the macro name in CPPdefine() 112 const int defAtom = atomStrings.getAddAtom(ppToken->name); in CPPdefine() 128 const int argAtom = atomStrings.getAddAtom(ppToken->name); in CPPdefine() 130 // check for duplication of parameter name in CPPdefine() [all...] |
/third_party/glslang/glslang/HLSL/ |
H A D | hlslParseables.cpp | 18 // Neither the name of 3Dlabs Inc. Ltd. nor the names of its 78 bool IsIllegalSample(const glslang::TString& name, const char* argOrder, int dim0) in IsIllegalSample() argument 85 if (dim0 == 3 && (isArrayed || name == "SampleCmp" || name == "SampleCmpLevelZero")) in IsIllegalSample() 92 if ((name == "Sample" && numArgs >= 4) || in IsIllegalSample() 93 (name == "SampleBias" && numArgs >= 5) || in IsIllegalSample() 94 (name == "SampleCmp" && numArgs >= 5) || in IsIllegalSample() 95 (name == "SampleCmpLevelZero" && numArgs >= 5) || in IsIllegalSample() 96 (name == "SampleGrad" && numArgs >= 6) || in IsIllegalSample() 97 (name in IsIllegalSample() 143 CoordinateArgPos(const glslang::TString& name, bool isTexture) CoordinateArgPos() argument 154 HasMipInCoord(const glslang::TString& name, bool isMS, bool isBuffer, bool isImage) HasMipInCoord() argument 160 NoArrayCoord(const glslang::TString& name) NoArrayCoord() argument 499 const char* name; // intrinsic name initialize() member [all...] |
/third_party/googletest/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 14 // * Neither the name of Google Inc. nor the names of its 1083 // This relatively ugly name is intentional. It prevents clashes with 1109 // This relatively ugly name is intentional. It prevents clashes with 1417 // We cannot name this class MutexLock because the ctor declaration would 1709 // We cannot name this class MutexLock because the ctor declaration would 1874 // We cannot name this class MutexLock because the ctor declaration would 1976 // standard functions as macros, the wrapper cannot have the same name 2026 // Other functions with a different name on Windows. 2124 inline const char* GetEnv(const char* name) { in GetEnv() argument 2129 static_cast<void>(name); // T in GetEnv() [all...] |
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/ |
H A D | command.js | 19 * @param {string} [name] 22 constructor(name) { 38 this._name = name || ''; 44 this._executableFile = null; // custom name for executable 129 * .command('stop [service]', 'stop named service, or all if no name supplied'); 131 * @param {string} nameAndArgs - command name and arguments, args are `<required>` or `[optional]` and last may also be `variadic...` 145 const [, name, args] = nameAndArgs.match(/([^ ]+) *(.*)/); 147 const cmd = this.createCommand(name); 153 cmd._hidden = !!(opts.noHelp || opts.hidden); // noHelp is deprecated old name for hidden 154 cmd._executableFile = opts.executableFile || null; // Custom name fo [all...] |
/third_party/node/deps/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 14 // * Neither the name of Google Inc. nor the names of its 1154 // This relatively ugly name is intentional. It prevents clashes with 1443 // We cannot name this class MutexLock because the ctor declaration would 1735 // We cannot name this class MutexLock because the ctor declaration would 1900 // We cannot name this class MutexLock because the ctor declaration would 2002 // standard functions as macros, the wrapper cannot have the same name 2052 // Other functions with a different name on Windows. 2140 inline const char* GetEnv(const char* name) { in GetEnv() argument 2145 static_cast<void>(name); // To prevent 'unused argument' warning. in GetEnv() 2150 const char* const env = getenv(name); in GetEnv() [all...] |
/third_party/libfuse/example/ |
H A D | passthrough_hp.cc | 314 static int do_lookup(fuse_ino_t parent, const char *name, in do_lookup() argument 317 cerr << "DEBUG: lookup(): name=" << name in do_lookup() 323 auto newfd = openat(get_fs_fd(parent), name, O_PATH | O_NOFOLLOW); in do_lookup() 406 static void sfs_lookup(fuse_req_t req, fuse_ino_t parent, const char *name) { in sfs_lookup() argument 408 auto err = do_lookup(parent, name, &e); in sfs_lookup() 425 const char *name, mode_t mode, dev_t rdev, in mknod_symlink() 432 res = mkdirat(inode_p.fd, name, mode); in mknod_symlink() 434 res = symlinkat(link, inode_p.fd, name); in mknod_symlink() 436 res = mknodat(inode_p.fd, name, mod in mknod_symlink() 424 mknod_symlink(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode, dev_t rdev, const char *link) mknod_symlink() argument 456 sfs_mknod(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode, dev_t rdev) sfs_mknod() argument 462 sfs_mkdir(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode) sfs_mkdir() argument 468 sfs_symlink(fuse_req_t req, const char *link, fuse_ino_t parent, const char *name) sfs_symlink() argument 474 sfs_link(fuse_req_t req, fuse_ino_t ino, fuse_ino_t parent, const char *name) sfs_link() argument 511 sfs_rmdir(fuse_req_t req, fuse_ino_t parent, const char *name) sfs_rmdir() argument 519 sfs_rename(fuse_req_t req, fuse_ino_t parent, const char *name, fuse_ino_t newparent, const char *newname, unsigned int flags) sfs_rename() argument 534 sfs_unlink(fuse_req_t req, fuse_ino_t parent, const char *name) sfs_unlink() argument 688 is_dot_or_dotdot(const char *name) is_dot_or_dotdot() argument 811 sfs_create(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode, fuse_file_info *fi) sfs_create() argument 1000 sfs_getxattr(fuse_req_t req, fuse_ino_t ino, const char *name, size_t size) sfs_getxattr() argument 1086 sfs_setxattr(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value, size_t size, int flags) sfs_setxattr() argument 1102 sfs_removexattr(fuse_req_t req, fuse_ino_t ino, const char *name) sfs_removexattr() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_bufmgr.c | 390 const char *name, in bo_alloc_internal() 425 bo->name = name; in bo_alloc_internal() 447 bo->name, (unsigned long long) size); in bo_alloc_internal() 458 const char *name, in crocus_bo_alloc() 461 return bo_alloc_internal(bufmgr, name, size, 1, in crocus_bo_alloc() 466 crocus_bo_alloc_tiled(struct crocus_bufmgr *bufmgr, const char *name, in crocus_bo_alloc_tiled() argument 470 return bo_alloc_internal(bufmgr, name, size, alignment, in crocus_bo_alloc_tiled() 475 crocus_bo_create_userptr(struct crocus_bufmgr *bufmgr, const char *name, in crocus_bo_create_userptr() argument 500 bo->name in crocus_bo_create_userptr() 389 bo_alloc_internal(struct crocus_bufmgr *bufmgr, const char *name, uint64_t size, uint32_t alignment, unsigned flags, uint32_t tiling_mode, uint32_t stride) bo_alloc_internal() argument 457 crocus_bo_alloc(struct crocus_bufmgr *bufmgr, const char *name, uint64_t size) crocus_bo_alloc() argument 529 crocus_bo_gem_create_from_name(struct crocus_bufmgr *bufmgr, const char *name, unsigned int handle) crocus_bo_gem_create_from_name() argument 1388 crocus_bo_flink(struct crocus_bo *bo, uint32_t *name) crocus_bo_flink() argument 1618 gem_param(int fd, int name) gem_param() argument [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fUniformLocationTests.cpp | 99 const char* name, 113 static float getExpectedValue (glu::DataType type, int id, const char* name); 148 const char* name, in UniformLocationCase() 151 : TestCase (context, name, desc) in UniformLocationCase() 193 float UniformLocationCase::getExpectedValue (glu::DataType type, int id, const char* name) in getExpectedValue() argument 195 const deUint32 hash = deStringHash(name) + deInt32Hash(id); in getExpectedValue() 393 const string name = getUniformName(uniformNdx, uniformInfo.type, subTypeIter.getPath()); 394 const int gotLoc = gl.getUniformLocation(programID, name.c_str()); 404 log << TestLog::Message << "ERROR: found uniform " << name << " in location " << gotLoc << " when it should have been in " << expectLoc << TestLog::EndMessage; 411 log << TestLog::Message << "ERROR: expected uniform " << name << " i 146 UniformLocationCase(tcu::TestContext& context, glu::RenderContext& renderContext, const char* name, const char* desc, const vector<UniformInfo>& uniformInfo) UniformLocationCase() argument [all...] |
/foundation/multimedia/media_foundation/src/buffer/avsharedmemory/ |
H A D | avsharedmemorybase.cpp | 33 AVSharedMemoryBaseImpl(int32_t fd, int32_t size, uint32_t flags, const std::string &name) in AVSharedMemoryBaseImpl() 34 : AVSharedMemoryBase(fd, size, flags, name) {} in AVSharedMemoryBaseImpl() 38 int32_t size, uint32_t flags, const std::string &name) in CreateFromLocal() 40 std::shared_ptr<AVSharedMemoryBase> memory = std::make_shared<AVSharedMemoryBase>(size, flags, name); in CreateFromLocal() 51 int32_t fd, int32_t size, uint32_t flags, const std::string &name) in CreateFromRemote() 53 std::shared_ptr<AVSharedMemoryBase> memory = std::make_shared<AVSharedMemoryBaseImpl>(fd, size, flags, name); in CreateFromRemote() 63 AVSharedMemoryBase::AVSharedMemoryBase(int32_t size, uint32_t flags, const std::string &name) in AVSharedMemoryBase() argument 64 : base_(nullptr), capacity_(size), flags_(flags), name_(name), fd_(-1), size_(0) in AVSharedMemoryBase() 66 MEDIA_LOG_DD(LOGD_FREQUENCY, "enter ctor, instance: 0x%{public}06" PRIXPTR ", name = %{public}s", in AVSharedMemoryBase() 70 AVSharedMemoryBase::AVSharedMemoryBase(int32_t fd, int32_t size, uint32_t flags, const std::string &name) in AVSharedMemoryBase() argument 37 CreateFromLocal( int32_t size, uint32_t flags, const std::string &name) CreateFromLocal() argument 50 CreateFromRemote( int32_t fd, int32_t size, uint32_t flags, const std::string &name) CreateFromRemote() argument [all...] |
/foundation/multimodalinput/input/service/crown_transform_processor/test/src/ |
H A D | crown_transform_processor_test.cpp | 69 MMI_HILOGD("Device node name: %{public}s", vCrown_.GetDevPath().c_str()); in SetupCrown() 108 * @tc.name: CrownTransformProcessorTest_GetPointerEvent_001 121 * @tc.name: CrownTransformProcessorTest_IsCrownEvent_002 135 std::string name = libinput_device_get_name(dev); in HWTEST_F() local 136 MMI_HILOGD("Pointer device: %{public}s", name.c_str()); in HWTEST_F() 142 * @tc.name: CrownTransformProcessorTest_NormalizeRotateEvent_003 156 std::string name = libinput_device_get_name(dev); in HWTEST_F() local 157 MMI_HILOGD("Pointer device: %{public}s", name.c_str()); in HWTEST_F() 163 * @tc.name: CrownTransformProcessorTest_HandleCrownRotateBegin_004 177 std::string name in HWTEST_F() local 200 std::string name = libinput_device_get_name(dev); HWTEST_F() local 235 std::string name = libinput_device_get_name(dev); HWTEST_F() local [all...] |
/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_split_test.cpp | 51 .name = "", in SetUp() 61 .name = "", in SetUp() 83 * @tc.name: SplitWindow01 89 fullInfo_.name = "fullscreen.1"; in HWTEST_F() 91 splitInfo_.name = "primary.1"; in HWTEST_F() 126 * @tc.name: SplitWindow02 132 fullInfo_.name = "fullscreen.2"; in HWTEST_F() 134 splitInfo_.name = "secondary.2"; in HWTEST_F() 167 * @tc.name: SplitScreen03 173 fullInfo_.name in HWTEST_F() [all...] |
/test/testfwk/arkxtest/jsunit/src/module/mock/ |
H A D | MockKit.js | 149 let name = null; 153 name = va1; 157 return name; 180 return this.name || this.toString().match(/function\s*([^(]*)\(/)[1]; 182 let name = originalMethod.getName(); 183 let arglistString = name + '(' + Array.from(args).toString() + ')'; 213 var name = this.findName(originalObject, originalMethod); 214 originalObject[name] = f; 215 this.recordMockedMethod.set(name, originalMethod); 216 f.propName = name; [all...] |
/third_party/elfutils/libebl/ |
H A D | libebl.h | 62 /* Similar but with emulation name given. */ 84 /* Return backend name. */ 87 /* Return relocation type name. */ 107 /* Return segment type name. */ 111 /* Return section type name. */ 115 /* Return section name. */ 130 /* Check whether the section with the given index, header, and name 134 const GElf_Shdr *shdr, const char *name); 136 /* Return symbol type name. */ 140 /* Return symbol binding name 298 const char *name; /* Printable identifier. */ global() member [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | pcmdec.c | 135 .name = #name_, \ 147 #define PCMDEF_2(name, long_name, ext, codec, enabled, ...) \ 148 PCMDEF_ ## enabled(name, long_name, ext, codec, __VA_ARGS__) 149 #define PCMDEF_3(name, long_name, ext, codec, config, ...) \ 150 PCMDEF_2(name, long_name, ext, codec, config, __VA_ARGS__) 151 #define PCMDEF_EXT(name, long_name, ext, uppercase, ...) \ 152 PCMDEF_3(name, long_name, ext, AV_CODEC_ID_PCM_ ## uppercase, \ 154 #define PCMDEF(name, long_name, ext, uppercase) \ 155 PCMDEF_EXT(name, long_name, ext, uppercase, ) 200 .name [all...] |
/third_party/fsverity-utils/programs/ |
H A D | utils.c | 117 file->name = xstrdup(filename); in open_file() 126 error_msg_errno("can't stat file '%s'", file->name); in get_file_size() 147 size, file->name); in preallocate_file() 159 error_msg_errno("reading from '%s'", file->name); in full_read() 163 error_msg("unexpected end-of-file on '%s'", file->name); in full_read() 178 error_msg_errno("writing to '%s'", file->name); in full_write() 212 error_msg_errno("writing to '%s'", file->name); in full_pwrite() 230 error_msg_errno("closing '%s'", file->name); in filedes_close() 232 free(file->name); in filedes_close() 233 file->name in filedes_close() [all...] |
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
H A D | TestUtil.java | 30 * Return an input stream on the data file at path 'name' rooted at the data path 32 public static final InputStream getDataStream(String name) throws IOException { in getDataStream() argument 33 String path = DATA_PATH + name; in getDataStream() 50 * Return a buffered reader on the data file at path 'name' rooted at the data path. 52 public static final BufferedReader getDataReader(String name, String charset) throws IOException { in getDataReader() argument 53 InputStream is = getDataStream(name); in getDataReader() 62 * Return a buffered reader on the data file at path 'name' rooted at the data path, 65 public static final BufferedReader getDataReader(String name) in getDataReader() argument 67 return getDataReader(name, null); in getDataReader() 250 JavaRuntimeName name in getJavaRuntimeName() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/ |
H A D | TestUtil.java | 31 * Return an input stream on the data file at path 'name' rooted at the data path 33 public static final InputStream getDataStream(String name) throws IOException { in getDataStream() argument 34 String path = DATA_PATH + name; in getDataStream() 51 * Return a buffered reader on the data file at path 'name' rooted at the data path. 53 public static final BufferedReader getDataReader(String name, String charset) throws IOException { in getDataReader() argument 54 InputStream is = ResourceHelper.getResourceStream("ohos/global/icu/dev/data/" + name); in getDataReader() 63 * Return a buffered reader on the data file at path 'name' rooted at the data path, 66 public static final BufferedReader getDataReader(String name) in getDataReader() argument 68 return getDataReader(name, null); in getDataReader() 251 JavaRuntimeName name in getJavaRuntimeName() [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | link_functions.cpp | 34 find_matching_signature(const char *name, const exec_list *actual_parameters, 74 const char *const name = callee->function_name(); in visit_enter() local 84 find_matching_signature(name, &callee->parameters, linked->symbols); in visit_enter() 94 sig = find_matching_signature(name, &ir->actual_parameters, in visit_enter() 104 name); in visit_enter() 112 ir_function *f = linked->symbols->get_function(name); in visit_enter() 114 f = new(linked) ir_function(name); in visit_enter() 226 ir_variable *var = linked->symbols->get_variable(ir->var->name); in visit() 314 find_matching_signature(const char *name, const exec_list *actual_parameters, in find_matching_signature() argument 317 ir_function *const f = symbols->get_function(name); in find_matching_signature() [all...] |
/third_party/node/lib/internal/source_map/ |
H A D | prepare_stack_trace.js | 48 errorString = `${error.name} [${error.code}]: ${error.message}`; 83 const name = getOriginalSymbolName(sm, trace, i); 84 // Construct call site name based on: v8.dev/docs/stack-trace-api: 89 // The original call site may have a different symbol name 91 const prefix = (name && name !== originalName) ? 92 `${name}` : 94 const hasName = !!(name || originalName); 112 // Transpilers may have removed the original symbol name used in the stack 115 // First check for a symbol name associate [all...] |
/third_party/node/test/fixtures/wpt/wasm/jsapi/ |
H A D | assertions.js | 1 function assert_function_name(fn, name, description) { 2 const propdesc = Object.getOwnPropertyDescriptor(fn, "name"); 3 assert_equals(typeof propdesc, "object", `${description} should have name property`); 4 assert_false(propdesc.writable, "writable", `${description} name should not be writable`); 5 assert_false(propdesc.enumerable, "enumerable", `${description} name should not be enumerable`); 6 assert_true(propdesc.configurable, "configurable", `${description} name should be configurable`); 7 assert_equals(propdesc.value, name, `${description} name should be ${name}`); 19 function assert_exported_function(fn, { name, lengt [all...] |
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | MSVSUtil.py | 48 def _SuffixName(name, suffix): 52 name: name of the target (foo#target) 55 Target name with suffix added (foo_suffix#target) 57 parts = name.rsplit("#", 1) 62 def _ShardName(name, number): 66 name: name of the target (foo#target) 69 Target name with shard added (foo_1#target) 71 return _SuffixName(name, st [all...] |
/third_party/node/test/fixtures/wpt/resources/ |
H A D | sriharness.js | 11 var SRIScriptTest = function(pass, name, src, integrityValue, crossoriginValue, nonce, integrityValueAfterPrepare) { 13 this.name = "Script: " + name; 22 var test = async_test(this.name); 96 const SRIPreloadTest = (preload_sri_success, subresource_sri_success, name, 99 const test = async_test(name); 165 var SRIStyleTest = function(queue, pass, name, attrs, customCallback, altPassValue) { 167 this.name = "Style: " + name; 172 this.test = async_test(this.name); [all...] |
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/ |
H A D | role.js | 85 const { name, terminating, paths, pathHashPrefixes } = opts; 86 this.name = name; 99 this.name === other.name && 118 name: this.name, 130 const { keyids, threshold, name, terminating, paths, path_hash_prefixes, ...rest } = data; 137 if (typeof name !== 'string') { 138 throw new TypeError('name mus [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | MSVSUtil.py | 48 def _SuffixName(name, suffix): 52 name: name of the target (foo#target) 55 Target name with suffix added (foo_suffix#target) 57 parts = name.rsplit("#", 1) 62 def _ShardName(name, number): 66 name: name of the target (foo#target) 69 Target name with shard added (foo_1#target) 71 return _SuffixName(name, st [all...] |