/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_shader_precision_format.cpp | 107 bool succ = false; in Export() local 109 tie(succ, clas) = in Export() 111 if (!succ) { in Export() 115 succ = NClass::SaveClass(exports_.env_, className, clas); in Export() 116 if (!succ) { in Export()
|
H A D | webgl_active_info.cpp | 106 bool succ = false; in Export() local 108 tie(succ, clas) = NClass::DefineClass(exports_.env_, className, WebGLActiveInfo::Constructor, std::move(props)); in Export() 109 if (!succ) { in Export() 113 succ = NClass::SaveClass(exports_.env_, className, clas); in Export() 114 if (!succ) { in Export()
|
/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/root_info/ |
H A D | napi_root_iterator_exporter.cpp | 32 bool succ = false; in Export() local 34 std::tie(succ, classValue) = NClass::DefineClass(exports_.env_, className, in Export() 36 if (!succ) { in Export() 41 succ = NClass::SaveClass(exports_.env_, className, classValue); in Export() 42 if (!succ) { in Export()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_readeriterator/ |
H A D | readeriterator_n_exporter.cpp | 94 bool succ = false; in Export() local 96 tie(succ, classValue) = NClass::DefineClass(exports_.env_, className, ReaderIteratorNExporter::Constructor, in Export() 98 if (!succ) { in Export() 103 succ = NClass::SaveClass(exports_.env_, className, classValue); in Export() 104 if (!succ) { in Export()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_file/ |
H A D | file_n_exporter.cpp | 88 bool succ = false; in Export() local 90 tie(succ, classValue) = NClass::DefineClass(exports_.env_, className, in Export() 92 if (!succ) { in Export() 96 succ = NClass::SaveClass(exports_.env_, className, classValue); in Export() 97 if (!succ) { in Export()
|
/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/ |
H A D | storage_statistics_n_exporter.cpp | 51 bool succ = false; in GetTotalSizeOfVolume() local 53 tie(succ, uuid, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in GetTotalSizeOfVolume() 54 if (!succ) { in GetTotalSizeOfVolume() 100 bool succ = false; in GetFreeSizeOfVolume() local 102 tie(succ, uuid, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in GetFreeSizeOfVolume() 103 if (!succ) { in GetFreeSizeOfVolume() 142 bool succ = false; in ExtractNameAndIndex() local 144 tie(succ, name, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in ExtractNameAndIndex() 145 if (!succ) { in ExtractNameAndIndex() 152 std::tie(succ, inde in ExtractNameAndIndex() 298 bool succ = false; GetUserStorageStats() local [all...] |
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/ |
H A D | node.c | 333 gpir_dep *gpir_node_add_dep(gpir_node *succ, gpir_node *pred, int type) in gpir_node_add_dep() argument 336 if (succ->block != pred->block) in gpir_node_add_dep() 340 if (succ == pred) in gpir_node_add_dep() 344 gpir_node_foreach_pred(succ, dep) { in gpir_node_add_dep() 353 gpir_dep *dep = ralloc(succ, gpir_dep); in gpir_node_add_dep() 356 dep->succ = succ; in gpir_node_add_dep() 357 list_addtail(&dep->pred_link, &succ->pred_list); in gpir_node_add_dep() 362 void gpir_node_remove_dep(gpir_node *succ, gpir_node *pred) in gpir_node_remove_dep() argument 364 gpir_node_foreach_pred(succ, de in gpir_node_remove_dep() [all...] |
H A D | lower.c | 94 gpir_node *succ = dep->succ; in gpir_lower_load() local 101 gpir_node *new = gpir_node_create(succ->block, node->op); in gpir_lower_load() 104 list_addtail(&new->list, &succ->list); in gpir_lower_load() 106 gpir_debug("lower load create %d from %d for succ %d\n", in gpir_lower_load() 107 new->index, node->index, succ->index); in gpir_lower_load() 115 gpir_node_replace_child(succ, node, new); in gpir_lower_load() 145 gpir_node *succ = dep->succ; in gpir_lower_neg() local 146 if (succ in gpir_lower_neg() [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_file/class_file/ |
H A D | file_n_exporter.cpp | 949 bool succ = false; in Mkdir() local 954 tie(succ, asyncCallbackInfo->callback[COMMON_NUM::ZERO], asyncCallbackInfo->callback[COMMON_NUM::ONE], in Mkdir() 958 tie(succ, uri, ignore) = NVal(env, funcArg[NARG_POS::FIRST]).GetProp("uri").ToUTF8StringPath(); in Mkdir() 961 tie(succ, recursive) = NVal(env, funcArg[NARG_POS::FIRST]).GetProp("recursive").ToBool(); in Mkdir() 986 bool succ = false; in Rmdir() local 991 tie(succ, asyncCallbackInfo->callback[COMMON_NUM::ZERO], asyncCallbackInfo->callback[COMMON_NUM::ONE], in Rmdir() 995 tie(succ, uri, ignore) = NVal(env, funcArg[NARG_POS::FIRST]).GetProp("uri").ToUTF8StringPath(); in Rmdir() 998 tie(succ, recursive) = NVal(env, funcArg[NARG_POS::FIRST]).GetProp("recursive").ToBool(); in Rmdir() 1028 bool succ = false; in Get() local 1029 tie(succ, asyncCallbackInf in Get() 1065 bool succ = false; List() local 1096 bool succ = false; Copy() local 1132 bool succ = false; Move() local 1169 bool succ = false; Delete() local 1203 bool succ = false; Access() local 1240 bool succ = false; WriteText() local 1285 bool succ = false; WriteArrayBuffer() local 1343 bool succ = false; ReadText() local 1389 bool succ = false; ReadArrayBuffer() local [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_dir/ |
H A D | dir_n_exporter.cpp | 287 auto [succ, listNum] = NVal(env, listNumFromJs).ToInt32(); in ParseJsListNum() 288 return {succ, listNum}; in ParseJsListNum() 332 auto [succ, num] = ParseJsListNum(env, funcArg[NARG_POS::FIRST]); in ListFile() 333 if (!succ) { in ListFile() 385 auto [succ, listNum] = ParseJsListNum(env, funcArg[NARG_POS::FIRST]); in ListFileSync() 386 if (!succ) { in ListFileSync() 444 bool succ = false; in Export() local 446 tie(succ, classValue) = NClass::DefineClass(exports_.env_, className, DirNExporter::Constructor, std::move(props)); in Export() 447 if (!succ) { in Export() 452 succ in Export() [all...] |
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
H A D | lower.c | 39 ppir_node *succ = ppir_node_first_succ(node); in ppir_lower_const() local 42 switch (succ->type) { in ppir_lower_const() 50 /* single succ can still have multiple references to this node */ in ppir_lower_const() 51 for (int i = 0; i < ppir_node_get_src_num(succ); i++) { in ppir_lower_const() 52 ppir_src *src = ppir_node_get_src(succ, i); in ppir_lower_const() 111 ppir_node *succ = ppir_node_first_succ(node); in ppir_lower_load() local 112 switch (succ->type) { in ppir_lower_load() 115 /* single succ can still have multiple references to this node */ in ppir_lower_load() 116 for (int i = 0; i < ppir_node_get_src_num(succ); i++) { in ppir_lower_load() 117 ppir_src *src = ppir_node_get_src(succ, in ppir_lower_load() 166 ppir_node *succ = ppir_node_first_succ(node); ppir_lower_texture() local [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_dirent/ |
H A D | dirent_n_exporter.cpp | 138 bool succ = false; in Export() local 140 tie(succ, classValue) = NClass::DefineClass(exports_.env_, in Export() 144 if (!succ) { in Export() 149 succ = NClass::SaveClass(exports_.env_, className, classValue); in Export() 150 if (!succ) { in Export()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_stream/ |
H A D | stream_n_exporter.cpp | 138 auto [succ, buf, len, offset] = in ReadSync() 140 if (!succ) { in ReadSync() 202 auto [succ, bufGuard, buf, len, offset] = in WriteSync() 204 if (!succ) { in WriteSync() 229 auto [succ, bufGuard, buf, len, offset] = in WriteExec() 231 if (!succ) { in WriteExec() 300 auto [succ, buf, len, offset] = in ReadExec() 302 if (!succ) { in ReadExec() 506 bool succ = false; in Export() local 508 tie(succ, cl in Export() [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_ra_validate.c | 348 struct ir3_block *succ = block->successors[i]; in propagate_block() local 349 if (!succ) in propagate_block() 352 merge_state(ctx, &ctx->block_reaching[succ->index], &ctx->reaching); in propagate_block() 355 struct ir3_block *succ = block->physical_successors[i]; in propagate_block() local 356 if (!succ) in propagate_block() 358 progress |= merge_state_physical(ctx, &ctx->block_reaching[succ->index], in propagate_block() 495 struct ir3_block *succ = block->successors[i]; in check_reaching_block() local 496 if (!succ) in check_reaching_block() 499 unsigned pred_idx = ir3_block_get_pred_index(succ, block); in check_reaching_block() 500 foreach_instr (instr, &succ in check_reaching_block() [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_tasksignal/ |
H A D | task_signal_n_exporter.cpp | 69 auto [succ, classValue] = NClass::DefineClass(exports_.env_, className_, Constructor, std::move(props)); in Export() 70 if (!succ) { in Export() 76 succ = NClass::SaveClass(exports_.env_, className, classValue); in Export() 77 if (!succ) { in Export()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/ |
H A D | read_text.cpp | 42 bool succ = false; in GetReadTextArg() local 43 tie(succ, position) = op.GetProp("position").ToInt64(); in GetReadTextArg() 44 if (!succ || position < 0) { in GetReadTextArg() 50 auto [succ, length] = op.GetProp("length").ToInt64(); in GetReadTextArg() 51 if (!succ || length < 0 || length > UINT_MAX) { in GetReadTextArg() 59 auto [succ, encoding, unuse] = op.GetProp("encoding").ToUTF8String("utf-8"); in GetReadTextArg() 61 if (!succ || encodingStr != "utf-8") { in GetReadTextArg()
|
H A D | stat_v9.cpp | 67 auto [succ, fileInfo] = ParseJsFile(env, funcArg[NARG_POS::FIRST]); in Sync() 68 if (!succ) { in Sync() 110 auto [succ, fileInfo] = ParseJsFile(env, funcArg[NARG_POS::FIRST]); in Async() 111 if (!succ) { in Async()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | read_text.cpp | 38 bool succ = false;
in GetReadTextArg() local 43 tie(succ, offset) = op.GetProp("offset").ToInt64();
in GetReadTextArg() 44 if (!succ || offset < 0) {
in GetReadTextArg() 51 tie(succ, len) = op.GetProp("length").ToInt64();
in GetReadTextArg() 52 if (!succ || len < 0 || len > UINT_MAX) {
in GetReadTextArg() 60 tie(succ, encoding, ignore) = op.GetProp("encoding").ToUTF8String("utf-8");
in GetReadTextArg() 62 if (!succ || encodingStr != "utf-8") {
in GetReadTextArg()
|
H A D | stat.cpp | 83 auto [succ, fileInfo] = ParseJsFile(env, funcArg[NARG_POS::FIRST]); in Sync() 84 if (!succ) { in Sync() 122 auto [succ, fileInfo] = ParseJsFile(env, funcArg[NARG_POS::FIRST]); in Async() 123 if (!succ) { in Async()
|
/third_party/mesa3d/src/panfrost/util/ |
H A D | lcra.c | 177 bool succ = false; in lcra_solve() local 182 succ = lcra_test_linear(l, l->solutions, step); in lcra_solve() 184 if (succ) break; in lcra_solve() 187 if (succ) break; in lcra_solve() 191 if (!succ) { in lcra_solve()
|
/third_party/vk-gl-cts/framework/platform/lnx/X11/ |
H A D | tcuLnxX11.cpp | 126 bool succ = false; in getVisualInfo() local 133 succ = true; in getVisualInfo() 138 return succ; in getVisualInfo() 181 bool succ = display.getVisualInfo(XVisualIDFromVisual(visual), info); in XlibWindow() local 183 TCU_CHECK_INTERNAL(succ); in XlibWindow()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | bi_opt_dce.c | 40 bi_foreach_successor(block, succ) { in bi_opt_dead_code_eliminate() 42 live[i] |= succ->live_in[i]; in bi_opt_dead_code_eliminate() 105 bi_foreach_successor(blk, succ) in bi_postra_liveness_block() 106 blk->reg_live_out |= succ->reg_live_in; in bi_postra_liveness_block()
|
/third_party/mesa3d/src/broadcom/compiler/ |
H A D | vir_live_variables.c | 214 vir_for_each_successor(succ, block) { in vir_live_variables_dataflow() 216 BITSET_WORD new_live_out = (succ->live_in[i] & in vir_live_variables_dataflow() 253 vir_for_each_successor(succ, block) { in vir_live_variables_defin_defout_dataflow() 256 ~succ->defin[i]); in vir_live_variables_defin_defout_dataflow() 257 succ->defin[i] |= new_def; in vir_live_variables_defin_defout_dataflow() 258 succ->defout[i] |= new_def; in vir_live_variables_defin_defout_dataflow()
|
/third_party/mesa3d/src/panfrost/bifrost/valhall/ |
H A D | va_insert_flow.c | 306 bi_foreach_successor(blk, succ) in va_assign_scoreboard() 307 bi_worklist_push_tail(&worklist, succ); in va_assign_scoreboard() 323 bi_block *succ = block->successors[i]; in va_should_end() local 325 if (succ) in va_should_end() 372 bi_foreach_successor(pred, succ) { in va_discard_before_block() 373 if (succ->pass_flags) in va_discard_before_block()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | dominator_tree.cpp | 189 BasicBlock* succ = GetSuccessorBasicBlock(successor_id); in CreateSuccessorMap() 192 this->successors_[succ].push_back(&bb); in CreateSuccessorMap() 193 pred_list.push_back(succ); in CreateSuccessorMap() 210 BasicBlock* succ = GetSuccessorBasicBlock(successor_id); in CreateSuccessorMap() 211 succ_list.push_back(succ); in CreateSuccessorMap() 212 predecessors_[succ].push_back(&bb); in CreateSuccessorMap()
|