change file permission

Signed-off-by: huangyicong <huangyicong4@huawei.com>
This commit is contained in:
huangyicong
2022-03-25 15:56:32 +08:00
parent e3327a153a
commit 38a71fef8f
42 changed files with 5 additions and 5 deletions
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
+1 -1
View File
@@ -30,7 +30,7 @@ enum OHOSLiteErrorCode {
EC_ADDRESS = -4, /* Memory or bus address error */
EC_IOERROR = -5, /* I/O error */
EC_BUSBUSY = -6, /* xxx bus busy */
EC_NORESPONCE = -7, /* Function is no responce */
EC_NORESPONCE = -7, /* Function is no response */
EC_NODEVICE = -8, /* No such device */
EC_INVALID = -9, /* Invalid argument */
EC_BUSY = -10, /* Device or resource busy */
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
View File
View File
View File
View File
View File
+1 -1
View File
@@ -32,7 +32,7 @@ JSIValue ExecuteAsyncWork(const JSIValue thisVal, const JSIValue* args,
if (!NativeapiCommon::IsValidJSIValue(args, argsNum)) {
return undefValue;
}
FuncParams* params = new FuncParams();
FuncParams* params = new(std::nothrow) FuncParams();
if (params == nullptr) {
return undefValue;
}
Executable → Regular
View File
View File
View File
+1 -1
View File
@@ -73,7 +73,7 @@ JSIValue ExecuteAsyncWork(const JSIValue thisVal, const JSIValue* args,
if (!NativeapiCommon::IsValidJSIValue(args, argsNum)) {
return undefValue;
}
FuncParams* params = new FuncParams();
FuncParams* params = new(std::nothrow) FuncParams();
if (params == nullptr) {
return undefValue;
}
View File
Executable → Regular
View File
View File
View File
+2 -2
View File
@@ -103,7 +103,7 @@ JSIValue ExecuteAsyncWork(const JSIValue thisVal, const JSIValue* args,
if (!NativeapiCommon::IsValidJSIValue(args, argsNum)) {
return undefValue;
}
FuncParams* params = new FuncParams();
FuncParams* params = new(std::nothrow) FuncParams();
if (params == nullptr) {
return undefValue;
}
@@ -277,7 +277,7 @@ JSIValue NativeapiKv::Delete(const JSIValue thisVal, const JSIValue* args, uint8
JSIValue NativeapiKv::Clear(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum)
{
JSIValue undefValue = JSI::CreateUndefined();
FuncParams* params = new FuncParams();
FuncParams* params = new(std::nothrow) FuncParams();
if (params == nullptr) {
return undefValue;
}
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
View File
View File