Home
last modified time | relevance | path

Searched refs:name (Results 7176 - 7200 of 26217) sorted by relevance

1...<<281282283284285286287288289290>>...1049

/foundation/distributeddatamgr/data_share/frameworks/native/common/src/
H A Dshared_block.cpp31 SharedBlock::SharedBlock(const std::string &name, sptr<Ashmem> ashmem, size_t size, bool readOnly) in SharedBlock() argument
32 : mName(name), ashmem_(ashmem), mSize(size), mReadOnly(readOnly), mHeader(nullptr) in SharedBlock()
66 int SharedBlock::CreateSharedBlock(const std::string &name, size_t size, sptr<Ashmem> ashmem, in CreateSharedBlock() argument
69 outSharedBlock = new SharedBlock(name, ashmem, size, false); in CreateSharedBlock()
84 int SharedBlock::Create(const std::string &name, size_t size, SharedBlock *&outSharedBlock) in Create() argument
86 std::string ashmemName = "SharedBlock:" + name; in Create()
101 int result = CreateSharedBlock(name, size, ashmem, outSharedBlock); in Create()
118 std::string name = ToUtf8(parcel.ReadString16()); in ReadMessageParcel() local
130 block = new (std::nothrow) SharedBlock(name, ashmem, ashmem->GetAshmemSize(), true); in ReadMessageParcel()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_store_config.cpp26 RdbStoreConfig::RdbStoreConfig(const std::string &name, StorageMode storageMode, bool isReadOnly, in RdbStoreConfig() argument
31 pageSize_(pageSize), securityLevel_(securityLevel), storageMode_(storageMode), path_(name), in RdbStoreConfig()
34 name_ = StringUtils::ExtractFileName(name); in RdbStoreConfig()
44 * Obtains the database name.
107 void RdbStoreConfig::SetName(std::string name) in SetName() argument
109 this->name_ = std::move(name); in SetName()
387 auto name = bundleName_; in GenerateEncryptedKey() local
388 if (name.empty()) { in GenerateEncryptedKey()
389 name = std::string(path_).substr(0, path_.rfind("/") + 1); in GenerateEncryptedKey()
392 auto errCode = RdbSecurityManager::GetInstance().Init(name); in GenerateEncryptedKey()
[all...]
/foundation/distributeddatamgr/relational_store/test/js/rdb/unittest/src/
H A DRdbstoreUpdateJsunit.test.js20 "name TEXT UNIQUE, " + "age INTEGER, " + "salary REAL, " + "blobType BLOB)";
22 name: "UpdataTest.db",
50 * @tc.name resultSet Update test
59 "name": "zhangsan",
70 "name": "lisi",
86 const name = await resultSet.getString(resultSet.getColumnIndex("name"))
92 await expect("lisi").assertEqual(name);
111 * @tc.name resultSet Update test
119 "name"
[all...]
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_predicates_join_test.cpp58 "(id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT, userId INTEGER,"
161 values.PutString("name", std::string("SanGuo")); in InsertBookDates()
167 values.PutString("name", std::string("XiYouJi")); in InsertBookDates()
173 values.PutString("name", std::string("ShuiHuZhuan")); in InsertBookDates()
191 * @tc.name: RdbStore_CrossJoin_001
239 std::string name; in HWTEST_F() local
240 EXPECT_EQ(E_OK, allDataTypes->GetString(6, name)); in HWTEST_F()
241 EXPECT_EQ("SanGuo", name); in HWTEST_F()
249 * @tc.name: RdbStore_InnerJoin_002
259 predicates.InnerJoin("book")->On(clauses)->EqualTo("book.name", "SanGu in HWTEST_F()
295 std::string name; HWTEST_F() local
352 std::string name; HWTEST_F() local
[all...]
/foundation/filemanagement/app_file_service/tools/backup_tool/src/
H A Dtools_op_incremental_restore_async.cpp144 static void OnBundleStarted(shared_ptr<InrementalSessionAsync> ctx, ErrCode err, const BundleName name) in OnBundleStarted() argument
146 printf("BundleStarted errCode = %d, BundleName = %s\n", err, name.c_str()); in OnBundleStarted()
153 static void OnBundleFinished(shared_ptr<InrementalSessionAsync> ctx, ErrCode err, const BundleName name) in OnBundleFinished() argument
155 printf("BundleFinished errCode = %d, BundleName = %s\n", err, name.c_str()); in OnBundleFinished()
185 // Rename big file with real name in backup/receive directory in ReadyExtManage()
186 // To support file with different path but same name, create directories in /data/backup/receive in ReadyExtManage()
322 for (auto name : bundleNames) { in ChangeBundleInfo()
330 if (bundleInfo.name != name) { in ChangeBundleInfo()
333 bundleInfos.emplace_back(BJsonEntityCaps::BundleInfo {.name in ChangeBundleInfo()
[all...]
H A Dtools_op_restore_async.cpp138 static void OnBundleStarted(shared_ptr<SessionAsync> ctx, ErrCode err, const BundleName name) in OnBundleStarted() argument
140 printf("BundleStarted errCode = %d, BundleName = %s\n", err, name.c_str()); in OnBundleStarted()
147 static void OnBundleFinished(shared_ptr<SessionAsync> ctx, ErrCode err, const BundleName name) in OnBundleFinished() argument
149 printf("BundleFinished errCode = %d, BundleName = %s\n", err, name.c_str()); in OnBundleFinished()
189 // Rename big file with real name in backup/receive directory in ReadyExtManage()
190 // To support file with different path but same name, create directories in /data/backup/receive in ReadyExtManage()
305 for (auto name : bundleNames) { in ChangeBundleInfo()
313 if (bundleInfo.name != name) { in ChangeBundleInfo()
316 bundleInfos.emplace_back(BJsonEntityCaps::BundleInfo {.name in ChangeBundleInfo()
[all...]
/foundation/window/window_manager/window_scene/screen_session_manager_client/src/
H A Dscreen_session_manager_client.cpp81 bool ScreenSessionManagerClient::CheckIfNeedConnectScreen(ScreenId screenId, ScreenId rsId, const std::string& name) in CheckIfNeedConnectScreen() argument
92 if (name == "HiCar" || name == "SuperLauncher" || name == "CastEngine") { in CheckIfNeedConnectScreen()
104 ScreenId rsId, const std::string& name, bool isExtend) in OnScreenConnectionChanged()
106 WLOGFI("screenId: %{public}" PRIu64 " screenEvent: %{public}d rsId: %{public}" PRIu64 " name: %{public}s", in OnScreenConnectionChanged()
107 screenId, static_cast<int>(screenEvent), rsId, name.c_str()); in OnScreenConnectionChanged()
109 if (!CheckIfNeedConnectScreen(screenId, rsId, name)) { in OnScreenConnectionChanged()
116 .name = name, in OnScreenConnectionChanged()
103 OnScreenConnectionChanged(ScreenId screenId, ScreenEvent screenEvent, ScreenId rsId, const std::string& name, bool isExtend) OnScreenConnectionChanged() argument
[all...]
/test/xts/acts/account/appaccount/sceneProject/actsaccountsceneonoff/entry/src/main/js/MainAbility/pages/index/
H A Dindex.js71 if(data[0].owner === "com.example.actsaccounttest" && data[0].name === "changeonoff_extra"){
94 if(data[0].owner === "com.example.actsaccounttest" && data[0].name === "onoff_associatedata"){
117 if(data[0].owner === "com.example.actsaccountoperatetest" && data[0].name === "onoff_cunstomdata"){
140 if(data[0].owner === "com.example.actsaccounttest" && data[0].name === "onoff_credential"){
163 if(data[0].owner === "com.example.actsaccountoperatetest" && data[0].name === "onoff_setcredential"){
186 if(data[0].owner === "com.example.actsaccounttest" && data[0].name === "onoff_deleteFir"){
209 if(data[0].owner === "com.example.actsaccountoperatetest" && data[0].name === "onoff_removeFir"){
278 if(data[0].owner === "com.example.actsaccounttest" && data[0].name === "onoff_enableFir"){
301 if(data[0].owner === "com.example.actsaccountoperatetest" && data[0].name === "onoff_disableFir"){
/third_party/elfutils/libdwfl/
H A Dlinux-pid-attach.c432 char name[64]; in dwfl_linux_proc_attach() local
433 int i = snprintf (name, sizeof (name), "/proc/%ld/task", (long) pid); in dwfl_linux_proc_attach()
434 if (i <= 0 || i >= (ssize_t) sizeof (name) - 1) in dwfl_linux_proc_attach()
439 DIR *dir = opendir (name); in dwfl_linux_proc_attach()
447 i = snprintf (name, sizeof (name), "/proc/%ld/exe", (long) pid); in dwfl_linux_proc_attach()
448 assert (i > 0 && i < (ssize_t) sizeof (name) - 1); in dwfl_linux_proc_attach()
449 int elf_fd = open (name, O_RDONLY); in dwfl_linux_proc_attach()
H A Dlinux-core-attach.c132 const char *name = (nhdr.n_namesz == 0 in core_next_thread() local
140 if (! ebl_core_note (core_arg->ebl, &nhdr, name, desc, in core_next_thread()
150 if (strcmp (item->name, "pid") == 0) in core_next_thread()
187 const char *name = (nhdr.n_namesz == 0 in core_set_initial_registers() local
195 int core_note_err = ebl_core_note (core_arg->ebl, &nhdr, name, desc, in core_set_initial_registers()
203 if (strcmp (item->name, "pid") == 0) in core_set_initial_registers()
380 const char *name = (nhdr.n_namesz == 0 in dwfl_core_file_attach() local
388 if (! ebl_core_note (ebl, &nhdr, name, desc, in dwfl_core_file_attach()
398 if (strcmp (item->name, "pid") == 0) in dwfl_core_file_attach()
H A Dderelocate.c42 const char *name; member
53 const char *name; member
121 const char *name = elf_strptr (mod->main.elf, shstrndx, in cache_sections() local
123 if (unlikely (name == NULL)) in cache_sections()
137 newref->name = name; in cache_sections()
185 mod->reloc_info->refs[i].name = sortrefs[i]->name; in cache_sections()
292 return sections->refs[idx].name; in dwfl_module_relocation_info()
/third_party/ffmpeg/libavfilter/
H A Dvf_extractplanes.c378 char *name; in init() local
384 name = av_asprintf("out%d", ctx->nb_outputs); in init()
385 if (!name) in init()
388 pad.name = name; in init()
401 .name = "default",
408 .name = "extractplanes",
434 .name = "default",
441 .name = "alphaextract",
H A Dvf_frei0r.c140 param, info.name); in set_param()
174 static int load_path(AVFilterContext *ctx, void **handle_ptr, const char *prefix, const char *name) in load_path() argument
176 char *path = av_asprintf("%s%s%s", prefix, name, SLIBSUF); in load_path()
203 av_log(ctx, AV_LOG_ERROR, "No filter name provided.\n"); in frei0r_init()
288 "name:%s author:'%s' explanation:'%s' color_model:%s " in frei0r_init()
290 pi->name, pi->author, pi->explanation, in frei0r_init()
416 .name = "default",
425 .name = "default",
431 .name = "frei0r",
510 .name
[all...]
H A Dvf_flip_vulkan.c55 .name = "input_image", in init_filter()
63 .name = "output_image", in init_filter()
281 .name = "default",
295 .name = "default",
303 .name = "hflip_vulkan",
323 .name = "default",
331 .name = "vflip_vulkan",
351 .name = "default",
359 .name = "flip_vulkan",
H A Dvf_limitdiff.c254 ctx->input_pads[0].name, filtered->w, filtered->h, in config_output()
255 ctx->input_pads[1].name, source->w, source->h); in config_output()
266 ctx->input_pads[0].name, filtered->w, filtered->h, in config_output()
267 ctx->input_pads[1].name, reference->w, reference->h); in config_output()
315 .name = "filtered", in init()
324 pad.name = "source"; in init()
330 pad.name = "reference"; in init()
348 .name = "default",
357 .name = "limitdiff",
H A Dvf_maskedminmax.c233 ctx->input_pads[0].name, source->w, source->h, in config_output()
234 ctx->input_pads[1].name, f1->w, f1->h, in config_output()
235 ctx->input_pads[2].name, f2->w, f2->h); in config_output()
284 .name = "source",
289 .name = "filter1",
293 .name = "filter2",
300 .name = "default",
309 .name = "maskedmin",
324 .name = "maskedmax",
H A Dvf_pixelize.c93 #define PIXELIZE_AVG(name, type, stype) \
94 static int pixelize_avg##name(const uint8_t *ssrc, uint8_t *ddst, \
121 #define PIXELIZE_MIN(name, type, stype) \
122 static int pixelize_min##name(const uint8_t *ssrc, uint8_t *ddst, \
147 #define PIXELIZE_MAX(name, type, stype) \
148 static int pixelize_max##name(const uint8_t *ssrc, uint8_t *ddst, \
327 .name = "default",
335 .name = "default",
342 .name = "pixelize",
H A Dvf_shufflepixels.c197 #define SHUFFLE_HORIZONTAL(name, type) \
198 static int shuffle_horizontal## name(AVFilterContext *ctx, void *arg, \
230 #define SHUFFLE_VERTICAL(name, type) \
231 static int shuffle_vertical## name(AVFilterContext *ctx, void *arg, \
260 #define SHUFFLE_BLOCK(name, type) \
261 static int shuffle_block## name(AVFilterContext *ctx, void *arg, \
429 .name = "default",
437 .name = "default",
444 .name = "shufflepixels",
/third_party/alsa-lib/src/rawmidi/
H A Drawmidi_hw.c316 const char *name, int card, int device, int subdevice, in snd_rawmidi_hw_open()
435 if (name) in snd_rawmidi_hw_open()
436 rmidi->name = strdup(name); in snd_rawmidi_hw_open()
451 if (name) in snd_rawmidi_hw_open()
452 rmidi->name = strdup(name); in snd_rawmidi_hw_open()
476 char *name, snd_config_t *root ATTRIBUTE_UNUSED, in _snd_rawmidi_hw_open()
512 return snd_rawmidi_hw_open(inputp, outputp, name, card, device, subdevice, mode); in _snd_rawmidi_hw_open()
315 snd_rawmidi_hw_open(snd_rawmidi_t **inputp, snd_rawmidi_t **outputp, const char *name, int card, int device, int subdevice, int mode) snd_rawmidi_hw_open() argument
475 _snd_rawmidi_hw_open(snd_rawmidi_t **inputp, snd_rawmidi_t **outputp, char *name, snd_config_t *root ATTRIBUTE_UNUSED, snd_config_t *conf, int mode) _snd_rawmidi_hw_open() argument
/third_party/backends/backend/
H A Dhp-handle.c237 if ( !FAILED( sanei_hp_scsi_new(&scsi, this->dev->sanedev.name)) ) in hp_handle_stopScan()
373 if (sanei_hp_scsi_new(&scsi,this->dev->sanedev.name)==SANE_STATUS_GOOD && in sanei_hp_handle_destroy()
410 RETURN_IF_FAIL( sanei_hp_scsi_new(&scsi, this->dev->sanedev.name) ); in sanei_hp_handle_control()
451 if (!FAILED( sanei_hp_scsi_new(&scsi, this->dev->sanedev.name) )) { in sanei_hp_handle_getParameters()
479 RETURN_IF_FAIL( sanei_hp_scsi_new(&scsi, this->dev->sanedev.name) ); in sanei_hp_handle_startScan()
523 if ( (sanei_hp_device_support_get (this->dev->sanedev.name, in sanei_hp_handle_startScan()
526 && (sanei_hp_device_support_get (this->dev->sanedev.name, in sanei_hp_handle_startScan()
539 else if ( sanei_hp_device_support_get (this->dev->sanedev.name, in sanei_hp_handle_startScan()
711 if ( sanei_hp_scsi_new(&scsi, this->dev->sanedev.name) == SANE_STATUS_GOOD ) in sanei_hp_handle_read()
713 hpinfo = sanei_hp_device_info_get ( this->dev->sanedev.name ); in sanei_hp_handle_read()
[all...]
/third_party/cups-filters/fontembed/
H A Dembed_pdf.c39 static const char *emb_pdf_escape_name(const char *name,int len) // {{{ // - statically allocated buffer in emb_pdf_escape_name() argument
41 assert(name); in emb_pdf_escape_name()
43 len=strlen(name); in emb_pdf_escape_name()
52 if ( ((unsigned char)name[iA]<33)||((unsigned char)name[iA]>126)|| in emb_pdf_escape_name()
53 (strchr("#()<>[]{}/%",name[iA])) ) { in emb_pdf_escape_name()
55 buf[++iB]=hex[(name[iA]>>4)&0x0f]; in emb_pdf_escape_name()
56 buf[++iB]=hex[name[iA]&0xf]; in emb_pdf_escape_name()
58 buf[iB]=name[iA]; in emb_pdf_escape_name()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
H A DCalendarCalc.java185 Label label = new Label(calendars[i].name, Label.RIGHT); in buildGUI()
238 dateMenu.addItem(kRollAddFields[i].name); in buildGUI()
391 + calendars[i].name + " " + time); in millisFormat()
527 name = nameStr; in CalendarRec()
568 String name; field in CalendarCalcFrame.CalendarRec
591 RollAddField(int field, String name) { in RollAddField() argument
593 this.name = name; in RollAddField()
596 String name; field in RollAddField
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DUConverterAlias.java225 /* State whether the canonical converter name contains an option. in findConverter()
241 * the name, and convert the name to lower case.
243 * @param dst The destination buffer, which is <= the buffer of name.
244 * @param name The alias to strip
247 public static final StringBuilder stripForCompare(StringBuilder dst, String name) { in stripForCompare() argument
248 return io_stripASCIIForCompare(dst, name); in stripForCompare()
275 private static final StringBuilder io_stripASCIIForCompare(StringBuilder dst, String name) { in io_stripASCIIForCompare() argument
281 while (nameIndex < name.length()) { in io_stripASCIIForCompare()
282 c1 = name in io_stripASCIIForCompare()
[all...]
/third_party/icu/icu4c/source/test/perf/ubrkperf/
H A Dubrkperfold.cpp34 "-locale name ICU locale to use. Default is en_US\n"
129 const char *name; member
243 for (pOpt = opts; pOpt->name != 0; pOpt++) { in ProcessOptions()
244 if (strcmp(pOpt->name, pArgName) == 0) { in ProcessOptions()
252 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions()
260 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions()
266 fprintf(stderr, "integer value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions()
274 if (pOpt->name == 0) in ProcessOptions()
441 gFileLines[line].name, in UnixConvert()
453 gFileLines[line].name, in UnixConvert()
[all...]
/third_party/icu/tools/unicodetools/com/ibm/rbm/
H A DRBxliffImporter.java126 if (propertyType.equals("name")) { in importDoc()
206 main_bundle.name = bundle_name; in importDoc()
220 String name = tu_elem.getAttribute("id"); in importDoc()
221 if (name == null || name.length() < 1) in importDoc()
226 group = name; in importDoc()
276 String name = trans_unit_elem.getAttribute("id"); in parseTranslationUnit()
277 if (name == null || name.length() < 1) in parseTranslationUnit()
280 BundleItem item = new BundleItem(null, name, transValu in parseTranslationUnit()
[all...]

Completed in 25 milliseconds

1...<<281282283284285286287288289290>>...1049