Home
last modified time | relevance | path

Searched refs:infoLen (Results 1 - 25 of 53) sorted by relevance

123

/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/
H A Dlnn_net_ledger.c242 static int32_t LnnGetNodeKeyInfoLocal(const char *networkId, int key, uint8_t *info, uint32_t infoLen) in LnnGetNodeKeyInfoLocal() argument
250 return LnnGetLocalStrInfo(STRING_KEY_DEV_UDID, (char *)info, infoLen); in LnnGetNodeKeyInfoLocal()
252 return LnnGetLocalStrInfo(STRING_KEY_UUID, (char *)info, infoLen); in LnnGetNodeKeyInfoLocal()
254 return LnnGetLocalStrInfo(STRING_KEY_MASTER_NODE_UDID, (char *)info, infoLen); in LnnGetNodeKeyInfoLocal()
256 return LnnGetLocalStrInfo(STRING_KEY_BT_MAC, (char *)info, infoLen); in LnnGetNodeKeyInfoLocal()
258 return LnnGetLocalStrInfo(STRING_KEY_WLAN_IP, (char *)info, infoLen); in LnnGetNodeKeyInfoLocal()
260 return LnnGetLocalStrInfo(STRING_KEY_DEV_NAME, (char *)info, infoLen); in LnnGetNodeKeyInfoLocal()
262 return LnnGetLocalStrInfo(STRING_KEY_OFFLINE_CODE, (char *)info, infoLen); in LnnGetNodeKeyInfoLocal()
270 return LnnGetLocalStrInfo(STRING_KEY_NODE_ADDR, (char *)info, infoLen); in LnnGetNodeKeyInfoLocal()
272 return LnnGetLocalStrInfo(STRING_KEY_P2P_IP, (char *)info, infoLen); in LnnGetNodeKeyInfoLocal()
281 LnnGetNodeKeyInfoRemote(const char *networkId, int key, uint8_t *info, uint32_t infoLen) LnnGetNodeKeyInfoRemote() argument
320 LnnGetNodeKeyInfo(const char *networkId, int key, uint8_t *info, uint32_t infoLen) LnnGetNodeKeyInfo() argument
342 LnnGetPrivateNodeKeyInfoLocal(const char *networkId, InfoKey key, uint8_t *info, uint32_t infoLen) LnnGetPrivateNodeKeyInfoLocal() argument
363 LnnGetPrivateNodeKeyInfoRemote(const char *networkId, InfoKey key, uint8_t *info, uint32_t infoLen) LnnGetPrivateNodeKeyInfoRemote() argument
384 LnnGetPrivateNodeKeyInfo(const char *networkId, InfoKey key, uint8_t *info, uint32_t infoLen) LnnGetPrivateNodeKeyInfo() argument
[all...]
/base/security/certificate_manager/test/unittest/module_test/src/
H A Dcm_log_test.cpp347 struct CertInfoLen infoLen = { false, 0, false, 0, false, 0, false, 0, false, 0 }; in HWTEST_F() local
348 if (ConstructBuf(&infoLen, &outData) != CM_SUCCESS) { in HWTEST_F()
370 struct CertInfoLen infoLen = { true, certificateList.certsCount + 1, false, 0, false, 0, false, 0, false, 0 }; in HWTEST_F() local
371 if (ConstructBuf(&infoLen, &outData) != CM_SUCCESS) { in HWTEST_F()
393 struct CertInfoLen infoLen = { true, certificateList.certsCount, false, 0, false, 0, false, 0, false, 0 }; in HWTEST_F() local
394 if (ConstructBuf(&infoLen, &outData) != CM_SUCCESS) { in HWTEST_F()
416 struct CertInfoLen infoLen = { in HWTEST_F() local
419 if (ConstructBuf(&infoLen, &outData) != CM_SUCCESS) { in HWTEST_F()
441 struct CertInfoLen infoLen = { in HWTEST_F() local
444 if (ConstructBuf(&infoLen, in HWTEST_F()
466 struct CertInfoLen infoLen = { HWTEST_F() local
492 struct CertInfoLen infoLen = { HWTEST_F() local
517 struct CertInfoLen infoLen = { HWTEST_F() local
542 struct CertInfoLen infoLen = { HWTEST_F() local
697 struct CertInfoLen infoLen = { false, 0, false, 0, false, 0, false, 0, false, 0 }; /* get status failed */ HWTEST_F() local
726 struct CertInfoLen infoLen = { false, 0, false, 0, true, 0, false, 0, false, 0 }; /* get certAliasLen failed */ HWTEST_F() local
757 struct CertInfoLen infoLen = { false, 0, false, 0, true, 0, false, 0, true, MAX_LEN_CERT_ALIAS + 1 }; HWTEST_F() local
786 struct CertInfoLen infoLen = { false, 0, false, 0, true, 0, false, 0, true, MAX_LEN_CERT_ALIAS }; HWTEST_F() local
[all...]
/applications/standard/app_samples/code/BasicFeature/Native/NdkOpenGL/entry/src/main/cpp/
H A Dtetrahedron.cpp125 GLint infoLen = 0; in LoadShader() local
126 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in LoadShader()
128 if (infoLen > 1) { in LoadShader()
129 std::string infoLog(infoLen, '\0'); in LoadShader()
130 glGetShaderInfoLog(shader, infoLen, nullptr, (GLchar *)&infoLog); in LoadShader()
176 GLint infoLen = 0; in CreateProgram() local
177 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLen); in CreateProgram()
178 if (infoLen > 1) { in CreateProgram()
179 std::string infoLog(infoLen, '\0'); in CreateProgram()
180 glGetProgramInfoLog(program, infoLen, nullpt in CreateProgram()
[all...]
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/
H A Degl_core.cpp237 GLint infoLen = 0; in LoadShader() local
238 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in LoadShader()
240 if (infoLen > 1) { in LoadShader()
241 char *infoLog = (char*)malloc(sizeof(char) * infoLen); in LoadShader()
242 glGetShaderInfoLog(shader, infoLen, nullptr, infoLog); in LoadShader()
287 GLint infoLen = 0; in CreateProgram() local
288 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLen); in CreateProgram()
289 if (infoLen > 1) { in CreateProgram()
290 char *infoLog = (char *)malloc(sizeof(char) * infoLen); in CreateProgram()
291 glGetProgramInfoLog(program, infoLen, nullpt in CreateProgram()
[all...]
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_eglCreateWindowSurface/entry/src/main/cpp/render/
H A Degl_core.cpp136 GLint infoLen = 0; in CreateProgram() local
137 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLen); in CreateProgram()
138 if (infoLen > 1) { in CreateProgram()
139 char *infoLog = static_cast<char*>(malloc(sizeof(char) * (infoLen + 1))); in CreateProgram()
140 std::fill(infoLog, infoLog + infoLen, 0); in CreateProgram()
141 glGetProgramInfoLog(program, infoLen, nullptr, infoLog); in CreateProgram()
175 GLint infoLen = 0; in LoadShader() local
176 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in LoadShader()
177 if (infoLen <= 1) { in LoadShader()
182 char *infoLog = static_cast<char*>(malloc(sizeof(char) * (infoLen in LoadShader()
[all...]
/third_party/skia/src/gpu/gl/builders/
H A DGrGLShaderStringBuilder.cpp85 GrGLint infoLen = GR_GL_INIT_ZERO; in GrGLCompileAndAttachShader() local
86 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_INFO_LOG_LENGTH, &infoLen)); in GrGLCompileAndAttachShader()
87 SkAutoMalloc log(sizeof(char)*(infoLen+1)); // outside if for debugger in GrGLCompileAndAttachShader()
88 if (infoLen > 0) { in GrGLCompileAndAttachShader()
92 GR_GL_CALL(gli, GetShaderInfoLog(shaderId, infoLen+1, &length, (char*)log.get())); in GrGLCompileAndAttachShader()
94 errorHandler->compileError(glsl.c_str(), infoLen > 0 ? (const char*)log.get() : ""); in GrGLCompileAndAttachShader()
H A DGrGLProgramBuilder.cpp514 GrGLint infoLen = GR_GL_INIT_ZERO; in checkLinkStatus() local
515 GL_CALL(GetProgramiv(programID, GR_GL_INFO_LOG_LENGTH, &infoLen)); in checkLinkStatus()
516 SkAutoMalloc log(infoLen+1); in checkLinkStatus()
517 if (infoLen > 0) { in checkLinkStatus()
521 GL_CALL(GetProgramInfoLog(programID, infoLen+1, &length, (char*)log.get())); in checkLinkStatus()
523 const char* errorMsg = (infoLen > 0) ? (const char*)log.get() in checkLinkStatus()
/applications/standard/app_samples/code/BasicFeature/Native/ArkTSXComponent/entry/src/main/cpp/render/
H A Degl_core.cpp507 GLint infoLen = 0; in LoadShader() local
508 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in LoadShader()
509 if (infoLen <= 1) { in LoadShader()
514 char* infoLog = (char*)malloc(sizeof(char) * (infoLen + 1)); in LoadShader()
516 memset(infoLog, 0, infoLen + 1); in LoadShader()
517 glGetShaderInfoLog(shader, infoLen, nullptr, infoLog); in LoadShader()
568 GLint infoLen = 0; in CreateProgram() local
569 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLen); in CreateProgram()
570 if (infoLen > 1) { in CreateProgram()
571 char* infoLog = (char*)malloc(sizeof(char) * (infoLen in CreateProgram()
[all...]
/applications/standard/app_samples/code/BasicFeature/Native/NdkXComponent/entry/src/main/cpp/render/
H A Degl_core.cpp511 GLint infoLen = 0; in LoadShader() local
512 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in LoadShader()
513 if (infoLen <= 1) { in LoadShader()
518 char* infoLog = (char*)malloc(sizeof(char) * (infoLen + 1)); in LoadShader()
520 memset(infoLog, 0, infoLen + 1); in LoadShader()
521 glGetShaderInfoLog(shader, infoLen, nullptr, infoLog); in LoadShader()
572 GLint infoLen = 0; in CreateProgram() local
573 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLen); in CreateProgram()
574 if (infoLen > 1) { in CreateProgram()
575 char* infoLog = (char*)malloc(sizeof(char) * (infoLen in CreateProgram()
[all...]
/applications/standard/app_samples/code/BasicFeature/Native/XComponent/entry/src/main/cpp/render/
H A Degl_core.cpp513 GLint infoLen = 0; in LoadShader() local
514 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in LoadShader()
515 if (infoLen <= 1) { in LoadShader()
520 char* infoLog = (char*)malloc(sizeof(char) * (infoLen + 1)); in LoadShader()
522 memset(infoLog, 0, infoLen + 1); in LoadShader()
523 glGetShaderInfoLog(shader, infoLen, nullptr, infoLog); in LoadShader()
574 GLint infoLen = 0; in CreateProgram() local
575 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLen); in CreateProgram()
576 if (infoLen > 1) { in CreateProgram()
577 char* infoLog = (char*)malloc(sizeof(char) * (infoLen in CreateProgram()
[all...]
/foundation/distributedhardware/device_manager/test/unittest/mock/
H A Dsoftbus_bus_center.cpp19 int32_t infoLen) in GetNodeKeyInfo()
25 (void)infoLen; in GetNodeKeyInfo()
18 GetNodeKeyInfo(const char *pkgName, const char *networkId, NodeDeviceInfoKey key, uint8_t *info, int32_t infoLen) GetNodeKeyInfo() argument
/foundation/distributedhardware/distributed_input/common/test/mock/
H A Dsoftbus_bus_center_mock.cpp31 NodeDeviceInfoKey key, uint8_t *info, int32_t infoLen) in GetNodeKeyInfo()
37 (void)infoLen; in GetNodeKeyInfo()
30 GetNodeKeyInfo(const char *pkgName, const char *networkId, NodeDeviceInfoKey key, uint8_t *info, int32_t infoLen) GetNodeKeyInfo() argument
/foundation/filemanagement/dfs_service/test/mock/
H A Dsoftbus_bus_center_mock.cpp36 NodeDeviceInfoKey key, uint8_t *info, int32_t infoLen) in GetNodeKeyInfo()
43 (void)infoLen; in GetNodeKeyInfo()
35 GetNodeKeyInfo(const char *pkgName, const char *networkId, NodeDeviceInfoKey key, uint8_t *info, int32_t infoLen) GetNodeKeyInfo() argument
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
H A Dwrite_controller.cpp42 size_t infoLen = info.size(); in GenerateHash() local
44 size_t hashLen = (infoLen < infoLenLimit) ? infoLen : infoLenLimit; in GenerateHash()
/foundation/multimedia/drm_framework/interfaces/kits/c/drm_capi/include/
H A Dnative_mediakeysession.h55 * @param infoLen Event info len.
62 int32_t infoLen, char *extra);
95 * @param infoLen Event info len.
102 uint8_t *info, int32_t infoLen, char *extra);
H A Dnative_mediakeysystem.h56 * @param infoLen Event info len.
63 int32_t infoLen, char *extra);
70 * @param infoLen Event info len.
77 uint8_t *info, int32_t infoLen, char *extra);
/foundation/communication/dsoftbus/core/frame/small/init/src/
H A Dbus_center_server_stub.c209 static int32_t ServerRecoverGetNodeKeyInfo(void *buf, IpcIo *reply, int32_t infoLen) in ServerRecoverGetNodeKeyInfo() argument
211 if (!(WriteInt32(reply, infoLen))) { in ServerRecoverGetNodeKeyInfo()
215 WriteBuffer(reply, buf, infoLen); in ServerRecoverGetNodeKeyInfo()
240 int32_t infoLen = LnnIpcGetNodeKeyInfoLen(key); in ServerGetNodeKeyInfo() local
241 if (infoLen == SOFTBUS_ERR) { in ServerGetNodeKeyInfo()
242 LNN_LOGE(LNN_STATE, "get infoLen failed"); in ServerGetNodeKeyInfo()
247 if (len < (uint32_t)infoLen) { in ServerGetNodeKeyInfo()
248 LNN_LOGE(LNN_STATE, "read len is invalid param, len=%{public}u, infoLen=%{public}d", len, in ServerGetNodeKeyInfo()
249 infoLen); in ServerGetNodeKeyInfo()
252 void *buf = SoftBusCalloc(infoLen); in ServerGetNodeKeyInfo()
[all...]
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/kdf/src/
H A Dhkdf_openssl.c36 int infoLen; member
70 HcfClearAndFree((*data)->info, (*data)->infoLen); in FreeHkdfData()
159 data->infoLen = params->info.len; in GetHkdfInfoFromSpec()
267 *p++ = OpensslOsslParamConstructOctetString("info", self->kdfData->info, self->kdfData->infoLen); in OpensslHkdf()
/foundation/communication/dsoftbus/tests/core/transmission/ipc/
H A Dtrans_client_proxy_standard_test.cpp65 uint32_t infoLen = TEST_INVALID; in HWTEST_F() local
70 ret = clientProxy->OnJoinMetaNodeResult(addr, addrTypeLen, metaInfo, infoLen, tmp); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_base_node.cpp63 auto infoLen = info.Length(); in BuildNode() local
65 if (infoLen >= INFO_LENGTH_LIMIT && (Container::GreatOrEqualAPITargetVersion(PlatformVersion::VERSION_TWELVE) in BuildNode()
88 if (newNode && (infoLen >= BUILD_PARAM_INDEX_TWO + 1)) { in BuildNode()
101 if (newNode && (infoLen >= BUILD_PARAM_INDEX_THREE + 1)) { in BuildNode()
112 if (infoLen >= BUILD_PARAM_INDEX_FOUR + 1) { in BuildNode()
/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/src/
H A Dbus_center_ipc_mock.cpp65 int32_t LnnGetNodeKeyInfo(const char *networkId, int32_t key, uint8_t *info, uint32_t infoLen) in LnnGetNodeKeyInfo() argument
67 return BusCenterIpcInterfaceInstance()->LnnGetNodeKeyInfo(networkId, key, info, infoLen); in LnnGetNodeKeyInfo()
/foundation/communication/dsoftbus/sdk/bus_center/service/src/
H A Dclient_bus_center.c268 uint8_t *info, int32_t infoLen) in GetNodeKeyInfo()
270 if (pkgName == NULL || infoLen <= 0) { in GetNodeKeyInfo()
282 if (memset_s(info, infoLen, 0, infoLen) != EOK) { in GetNodeKeyInfo()
286 return GetNodeKeyInfoInner(pkgName, networkId, key, info, infoLen); in GetNodeKeyInfo()
267 GetNodeKeyInfo(const char *pkgName, const char *networkId, NodeDeviceInfoKey key, uint8_t *info, int32_t infoLen) GetNodeKeyInfo() argument
/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/src/
H A Dbus_center_server_proxy_standard.cpp426 int32_t infoLen; in GetNodeKeyInfo() local
427 if (!reply.ReadInt32(infoLen) || infoLen <= 0 || static_cast<uint32_t>(infoLen) > len) { in GetNodeKeyInfo()
429 "read infoLen failed, len=%{public}u, infoLen=%{public}d", len, infoLen); in GetNodeKeyInfo()
432 void *retBuf = const_cast<void *>(reply.ReadRawData(infoLen)); in GetNodeKeyInfo()
437 if (memcpy_s(buf, len, retBuf, infoLen) != EOK) { in GetNodeKeyInfo()
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/mock/src/
H A Dmock_soft_bus.cpp81 int32_t infoLen) in GetNodeKeyInfo()
80 GetNodeKeyInfo(const char *pkgName, const char *networkId, NodeDeviceInfoKey key, uint8_t *info, int32_t infoLen) GetNodeKeyInfo() argument
/base/hiviewdfx/hiview/plugins/sysevent_source/
H A Dsysevent_source.cpp55 size_t infoLen = event->rawData_->GetDataLength(); in GenerateHash() local
56 size_t hashLen = (infoLen < infoLenLimit) ? infoLen : infoLenLimit; in GenerateHash()

Completed in 16 milliseconds

123