Home
last modified time | relevance | path

Searched refs:optType (Results 1 - 9 of 9) sorted by relevance

/foundation/communication/dsoftbus/sdk/transmission/session/src/
H A Dclient_trans_socket_option.c22 int32_t SetExtSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, uint32_t optValueSize) in SetExtSocketOpt() argument
26 (void)optType; in SetExtSocketOpt()
29 TRANS_LOGE(TRANS_SDK, "optType not support."); in SetExtSocketOpt()
32 int32_t GetExtSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t *optValueSize) in GetExtSocketOpt() argument
36 (void)optType; in GetExtSocketOpt()
39 TRANS_LOGE(TRANS_SDK, "optType not support."); in GetExtSocketOpt()
H A Dclient_trans_socket_service.c234 static int32_t CheckSocketOptParam(OptLevel level, OptType optType, void *optValue) in CheckSocketOptParam() argument
240 if (optType < 0) { in CheckSocketOptParam()
241 TRANS_LOGE(TRANS_SDK, "invalid optType."); in CheckSocketOptParam()
251 int32_t SetSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t optValueSize) in SetSocketOpt() argument
253 int32_t ret = CheckSocketOptParam(level, optType, optValue); in SetSocketOpt()
261 switch (optType) { in SetSocketOpt()
268 ret = SetExtSocketOpt(socket, level, optType, optValue, optValueSize); in SetSocketOpt()
274 int32_t GetSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t *optValueSize) in GetSocketOpt() argument
276 int32_t ret = CheckSocketOptParam(level, optType, optValue); in GetSocketOpt()
284 switch (optType) { in GetSocketOpt()
[all...]
/foundation/communication/dsoftbus/sdk/transmission/session/include/
H A Dclient_trans_socket_option.h26 int32_t SetExtSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, uint32_t optValueSize);
27 int32_t GetExtSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t *optValueSize);
/foundation/communication/dsoftbus/interfaces/inner_kits/transport/
H A Dinner_socket.h107 * @param optType Indicates the type of option.
116 int32_t SetSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t optValueSize);
123 * @param optType Indicates the type of option.
132 int32_t GetSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t *optValueSize);
/foundation/multimedia/media_library/frameworks/utils/include/
H A Dpost_event_utils.h25 const std::string KEY_OPT_TYPE = "optType";
97 COMPILE_HIDDEN std::string GetOptType(const uint32_t &optType);
/foundation/multimedia/media_library/frameworks/utils/src/
H A Dpost_event_utils.cpp32 string PostEventUtils::GetOptType(const uint32_t &optType) in GetOptType() argument
35 switch (optType) { in GetOptType()
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/interface/
H A Dnstackx_dfile.h423 DFileOptType optType; member
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/
H A Dl2cap_core.c1150 static int L2capCheckConfigurationOptionLength(uint8_t optType, uint8_t optLength) in L2capCheckConfigurationOptionLength() argument
1152 switch (optType) { in L2capCheckConfigurationOptionLength()
1208 uint8_t optType = data[offset + 0]; in L2capParseConfiguration() local
1215 if (L2capCheckConfigurationOptionLength(optType, optLength) != BT_SUCCESS) { in L2capParseConfiguration()
1219 switch (optType) { in L2capParseConfiguration()
1242 if ((optType & L2CAP_OPTION_HINT) || (unknown == NULL)) { in L2capParseConfiguration()
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/common/src/
H A Dclient_trans_udp_manager.c740 .optType = OPT_TYPE_SOCK_PRIO, in TransLimitChange()

Completed in 13 milliseconds