| /third_party/skia/third_party/externals/dawn/src/include/dawn/ |
| H A D | EnumClassBitmasks.h | 36 static constexpr bool enable = false; member 41 static constexpr bool enable = false; member 46 static constexpr bool enable = true; member 71 static constexpr bool enable = true; member [all...] |
| /third_party/skia/third_party/externals/dawn/src/dawn_native/ |
| H A D | Subresource.h | 107 static constexpr bool enable = true; member
|
| /third_party/protobuf/src/google/protobuf/ |
| H A D | dynamic_message.h | 104 void SetDelegateToGeneratedFactory(bool enable) { in SetDelegateToGeneratedFactory() argument
|
| /third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/ |
| H A D | QrTemplate.java | 225 private void darkenFunctionModule(int x, int y, int enable) { in darkenFunctionModule() argument
|
| /arkcompiler/toolchain/test/autotest/aw/api/ |
| H A D | debugger_api.py | 81 async def enable(self, message_id, connection, params):
member in DebuggerImpl
|
| /arkcompiler/toolchain/test/autotest/aw/cdp/ |
| H A D | debugger.py | 90 def enable(): function
|
| /base/hiviewdfx/hiview/framework/native/unified_collection/decorator/ |
| H A D | perf_decorator.cpp | 35 void PerfDecorator::SetTargetSystemWide(bool enable)
in SetTargetSystemWide() argument 75 void PerfDecorator::SetReport(bool enable)
in SetReport() argument
|
| /base/account/os_account/frameworks/common/perf_stat/src/ |
| H A D | perf_stat.cpp | 147 void PerfStat::SetPerfStatEnabled(bool enable) in SetPerfStatEnabled() argument
|
| /base/powermgr/power_manager/power_dialog/hvigor/ |
| H A D | hvigor-wrapper.js | 15 "use strict";var e=require("path"),t=require("os"),n=require("fs"),r=require("child_process"),u=require("process"),o=require("tty"),i=require("util"),s=require("url"),c=require("constants"),a=require("stream"),l=require("assert"),f=require("zlib"),d=require("net"),D=require("crypto"),p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},h={},E={},m=p&&p.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(E,"__esModule",{value:!0}),E.maxPathLength=E.isMac=E.isLinux=E.isWindows=void 0;const y=m(t),C="Windows_NT",F="Darwin";function g(){return y.default.type()===C}function A(){return y.default.type()===F}E.isWindows=g,E.isLinux=function(){return"Linux"===y.default.type()},E.isMac=A,E.maxPathLength=function(){return A()?1016:g()?259:4095},Object.defineProperty(h,"__esModule",{value:!0}),h.LOG_LEVEL=h.ANALYZE=h.PARALLEL=h.INCREMENTAL=h.DAEMON=h.DOT=h.PROPERTIES=h.HVIGOR_ARK_COMPILE_MAX_SIZE=h.HVIGOR_POOL_CACHE_TTL=h.HVIGOR_POOL_CACHE_CAPACITY=h.HVIGOR_POOL_MAX_CORE_SIZE=h.HVIGOR_POOL_MAX_SIZE=h.ENABLE_SIGN_TASK_KEY=h.HVIGOR_CACHE_DIR_KEY=h.WORK_SPACE=h.PROJECT_CACHES=h.HVIGOR_USER_HOME_DIR_NAME=h.DEFAULT_PACKAGE_JSON=h.DEFAULT_HVIGOR_CONFIG_JSON_FILE_NAME=h.PNPM=h.HVIGOR=h.NPM_TOOL=h.PNPM_TOOL=h.HVIGOR_ENGINE_PACKAGE_NAME=void 0;const v=E;h.HVIGOR_ENGINE_PACKAGE_NAME="@ohos/hvigor",h.PNPM_TOOL=(0,v.isWindows)()?"pnpm.cmd":"pnpm",h.NPM_TOOL=(0,v.isWindows)()?"npm.cmd":"npm",h.HVIGOR="hvigor",h.PNPM="pnpm",h.DEFAULT_HVIGOR_CONFIG_JSON_FILE_NAME="hvigor-config.json5",h.DEFAULT_PACKAGE_JSON="package.json",h.HVIGOR_USER_HOME_DIR_NAME=".hvigor",h.PROJECT_CACHES="project_caches";var S=h.WORK_SPACE="workspace";h.HVIGOR_CACHE_DIR_KEY="hvigor.cacheDir",h.ENABLE_SIGN_TASK_KEY="enableSignTask",h.HVIGOR_POOL_MAX_SIZE="hvigor.pool.maxSize",h.HVIGOR_POOL_MAX_CORE_SIZE="hvigor.pool.maxCoreSize",h.HVIGOR_POOL_CACHE_CAPACITY="hvigor.pool.cache.capacity",h.HVIGOR_POOL_CACHE_TTL="hvigor.pool.cache.ttl",h.HVIGOR_ARK_COMPILE_MAX_SIZE="hvigor.arkCompile.maxSize",h.PROPERTIES="properties",h.DOT=".",h.DAEMON="daemon",h.INCREMENTAL="incremental",h.PARALLEL="typeCheck",h.ANALYZE="analyze",h.LOG_LEVEL="logLevel";var w={},O={};Object.defineProperty(O,"__esModule",{value:!0}),O.logError=O.logInfo=O.logErrorAndExit=void 0,O.logErrorAndExit=function(e){e instanceof Error?console.error(e.message):console.error(e),process.exit(-1)},O.logInfo=function(e){console.log(e)},O.logError=function(e){console.error(e)};var _=p&&p.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var u=Object.getOwnPropertyDescriptor(t,n);u&&!("get"in u?!t.__esModule:u.writable||u.configurable)||(u={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,u)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),b=p&&p.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),B=p&&p.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&_(t,e,n);return b(t,e),t};Object.defineProperty(w,"__esModule",{value:!0});var P=w.executeBuild=void 0;const k=B(n),I=B(e),x=O,N=r;P=w.executeBuild=function(e){const t=I.resolve(e,"node_modules","@ohos","hvigor","bin","hvigor.js");try{const e=k.realpathSync(t),n=process.argv.slice(2),r=(0,N.spawn)("node",[e,...n],{env:process.env});r.stdout.on("data",(e=>{(0,x.logInfo)(`${e.toString().trim()}`)})),r.stderr.on("data",(e=>{(0,x.logError)(`${e.toString().trim()}`)})),r.on("exit",((e,t)=>{process.exit(null!=e?e:-1)}))}catch(n){(0,x.logErrorAndExit)(`Error: ENOENT: no such file ${t},delete ${e} and retry.`)}};var R,T,M,L,j,$={},H={},G={exports:{}},V={exports:{}};function U(){if(T)return R;T=1;var e=1e3,t=60*e,n=60*t,r=24*n,u=7*r,o=365.25*r;function i(e,t,n,r){var u=t>=1.5*n;return Math.round(e/n)+" "+r+(u?"s":"")}return R=function(s,c){c=c||{};var a=typeof s;if("string"===a&&s.length>0)return function(i){if((i=String(i)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(!s)return;var c=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"weeks":case"week":case"w":return c*u;case"days":case"day":case"d":return c*r;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(s);if("number"===a&&isFinite(s))return c.long?function(u){var o=Math.abs(u);if(o>=r)return i(u,o,r,"day");if(o>=n)return i(u,o,n,"hour");if(o>=t)return i(u,o,t,"minute");if(o>=e)return i(u,o,e,"second");return u+" ms"}(s):function(u){var o=Math.abs(u);if(o>=r)return Math.round(u/r)+"d";if(o>=n)return Math.round(u/n)+"h";if(o>=t)return Math.round(u/t)+"m";if(o>=e)return Math.round(u/e)+"s";return u+"ms"}(s);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(s))}}function J(){if(L)return M;return L=1,M=function(e){function t(e){let r,u,o,i=null;function s(...e){if(!s.enabled)return;const n=s,u=Number(new Date),o=u-(r||u);n.diff=o,n.prev=r,n.curr=u,r=u,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,u)=>{if("%%"===r)return"%";i++;const o=t.formatters[u];if("function"==typeof o){const t=e[i];r=o.call(n,t),e.splice(i,1),i--}return r})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(u!==t.namespaces&&(u=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),u=r.length;for(n=0;n<u;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=U(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t},M}var W,z,K,q,Y,Z,X={exports:{}};function Q(){return z||(z=1,W=(e,t)=>{t=t||process.a (…) function
|
| /base/powermgr/power_manager/services/native/src/wakeup/ |
| H A D | wakeup_source_parser.cpp | 122 bool enable = true; in ParseSourcesProc() local 168 SetSettingsToDatabase(WakeupDeviceType type, bool enable) SetSettingsToDatabase() argument [all...] |
| H A D | wakeup_sources.h | 34 WakeupSource(WakeupDeviceType reason, bool enable, uint32_t click) : reason_(reason), enable_(enable), click_(click) in WakeupSource() argument
|
| /base/powermgr/thermal_manager/services/native/include/ |
| H A D | thermal_service.h | 89 void SetTempReportSwitch(bool enable) in SetTempReportSwitch() argument
|
| /base/powermgr/thermal_manager/services/native/src/thermal_action/action/ |
| H A D | action_application_process.cpp | 55 void ActionApplicationProcess::SetStrict(bool enable) in SetStrict() argument 60 void ActionApplicationProcess::SetEnableEvent(bool enable) in SetEnableEvent() argument
|
| H A D | action_charger.cpp | 45 void ActionCharger::SetStrict(bool enable) in SetStrict() argument 50 void ActionCharger::SetEnableEvent(bool enable) in SetEnableEvent() argument
|
| H A D | action_shutdown.cpp | 50 void ActionShutdown::SetStrict(bool enable) in SetStrict() argument 55 void ActionShutdown::SetEnableEvent(bool enable) in SetEnableEvent() argument
|
| H A D | action_thermal_level.cpp | 53 void ActionThermalLevel::SetStrict(bool enable) in SetStrict() argument 58 void ActionThermalLevel::SetEnableEvent(bool enable) in SetEnableEvent() argument
|
| H A D | action_volume.cpp | 49 void ActionVolume::SetStrict(bool enable) in SetStrict() argument 54 void ActionVolume::SetEnableEvent(bool enable) in SetEnableEvent() argument
|
| /base/msdp/device_status/intention/adapters/input_adapter/src/ |
| H A D | input_adapter.cpp | 118 int32_t InputAdapter::EnableInputDevice(bool enable) in EnableInputDevice() argument
|
| /base/notification/distributed_notification_service/services/ans/src/ |
| H A D | notification_extension_wrapper.cpp | 96 std::string enable = ""; in CheckIfSetlocalSwitch() local 101 void ExtensionWrapper::SetlocalSwitch(std::string &enable) in SetlocalSwitch() argument
|
| /base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/ |
| H A D | notification_preferences_database_branch_test.cpp | 136 bool enable = true;
in HWTEST_F() local
|
| /base/msdp/device_status/intention/stationary/server/src/ |
| H A D | stationary_server.cpp | 204 void StationaryServer::ReportSensorSysEvent(CallingContext &context, int32_t type, bool enable) in ReportSensorSysEvent() argument
|
| /base/notification/distributed_notification_service/services/distributed/src/ |
| H A D | distributed_screen_status_manager.cpp | 124 bool enable = false; in GetKvStore() local
|
| /base/notification/common_event_service/frameworks/native/src/ |
| H A D | common_event_manager.cpp | 140 int32_t CommonEventManager::SetStaticSubscriberState(bool enable) in SetStaticSubscriberState() argument 145 int32_t CommonEventManager::SetStaticSubscriberState(const std::vector<std::string> &events, bool enable) in SetStaticSubscriberState() argument
|
| /base/notification/distributed_notification_service/services/ans/include/ |
| H A D | event_report.h | 54 bool enable = false; member
|
| /base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
| H A D | notification_test.cpp | 162 bool enable = true;
in HWTEST_F() local 407 bool enable = false;
in HWTEST_F() local 424 bool enable = true;
in HWTEST_F() local 440 bool enable = true;
in HWTEST_F() local 455 bool enable in HWTEST_F() local 472 bool enable = true; HWTEST_F() local 503 bool enable = false; HWTEST_F() local 520 bool enable = true; HWTEST_F() local 541 bool enable = true; HWTEST_F() local 562 bool enable = false; HWTEST_F() local [all...] |