Home
last modified time | relevance | path

Searched refs:openResult (Results 1 - 15 of 15) sorted by relevance

/foundation/communication/netstack/interfaces/kits/c/net_websocket/src/
H A Dnet_websocket_adapter.cpp88 int32_t Conv2OpenResult(struct OpenResult openResult, struct WebSocket_OpenResult *webSocketOpenResult) in Conv2OpenResult() argument
90 webSocketOpenResult->code = openResult.status; in Conv2OpenResult()
91 webSocketOpenResult->reason = openResult.message; in Conv2OpenResult()
H A Dnet_websocket.cpp62 void OH_NetStack_OnOpenCallback(WebSocketClient *ptrInner, OpenResult openResult) in OH_NetStack_OnOpenCallback() argument
66 Conv2OpenResult(openResult, &OH_OpenResult); in OH_NetStack_OnOpenCallback()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dcopy_file.cpp140 auto openResult = OpenCore(srcFile, UV_FS_O_RDONLY, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); in OpenFile() local
141 if (openResult) { in OpenFile()
142 return openResult; in OpenFile()
151 auto openResult = OpenCore(destFile, UV_FS_O_RDWR | UV_FS_O_CREAT | in OpenFile() local
153 if (openResult) { in OpenFile()
154 return openResult; in OpenFile()
/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dcopy_file.cpp167 auto openResult = OpenCore(srcFile, UV_FS_O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); in OpenFile() local
168 if (openResult) { in OpenFile()
169 return openResult; in OpenFile()
178 auto openResult = OpenCore(destFile, UV_FS_O_RDWR | UV_FS_O_CREAT | in OpenFile() local
180 if (openResult) { in OpenFile()
181 return openResult; in OpenFile()
/foundation/communication/netstack/interfaces/kits/c/net_websocket/include/
H A Dnet_websocket_adapter.h35 int32_t Conv2OpenResult(struct OpenResult openResult, struct WebSocket_OpenResult *webSocketOpenResult);
H A Dnet_websocket_type.h99 * @param openResult Content of the <b>open</b> message received by the WebSocket client.
103 typedef void (*WebSocket_OnOpenCallback)(struct WebSocket *client, WebSocket_OpenResult openResult);
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dzip_reader.cpp192 const int openResult = unzOpenCurrentFile(zipFile_); in ExtractCurrentEntry() local
193 if (openResult != UNZ_OK) { in ExtractCurrentEntry()
/foundation/communication/netstack/interfaces/innerkits/websocket_client/include/
H A Dwebsocket_client_innerapi.h68 typedef void (*OnOpenCallback)(WebSocketClient *client, OpenResult openResult);
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Dfile_metadata_stream.cpp309 bool openResult = false; in Open() local
312 openResult = OpenFromFD(modeStr); in Open()
316 openResult = OpenFromPath(modeStr); in Open()
319 if (!openResult) { in Open()
/foundation/communication/netstack/frameworks/native/websocket_client/
H A Dwebsocket_client.cpp246 OpenResult openResult; in LwsCallbackClientEstablished() local
247 openResult.status = client->GetClientContext()->openStatus; in LwsCallbackClientEstablished()
248 openResult.message = client->GetClientContext()->openMessage.c_str(); in LwsCallbackClientEstablished()
249 client->onOpenCallback_(client, openResult); in LwsCallbackClientEstablished()
/foundation/communication/netstack/test/unittest/websocket_inner_unittest/
H A Dwebsocket_inner_unittest.cpp51 static void OnOpen(WebSocketClient *client, OpenResult openResult) {} in OnOpen() argument
/foundation/communication/netstack/test/unittest/websocket_test/
H A Dwebsocket_inner_unittest.cpp51 static void OnOpen(WebSocketClient *client, OpenResult openResult) {} in OnOpen() argument
H A Dwebsocket_capi_unittest.cpp40 static void OnOpen(struct WebSocket *client, WebSocket_OpenResult openResult) {} in OnOpen() argument
/foundation/communication/netstack/test/unittest/websocket_capi_unittest/
H A Dwebsocket_capi_unittest.cpp41 static void OnOpen(struct WebSocket *client, WebSocket_OpenResult openResult) {} in OnOpen() argument
/foundation/communication/netstack/test/fuzztest/websocketinnerapi_fuzzer/
H A Dwebsocket_inner_fuzzer.cpp79 static void OnOpen(WebSocketClient *client, OpenResult openResult) {} in OnOpen() argument

Completed in 7 milliseconds