Home
last modified time | relevance | path

Searched refs:proto_len (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/c/
Dc_api.h196 size_t proto_len);
357 const void* proto, size_t proto_len,
581 size_t proto_len, TF_Status* status);
606 size_t proto_len,
1363 const void* proto, size_t proto_len, TF_Status* status);
1373 size_t proto_len,
1551 const void* proto, size_t proto_len,
1749 size_t proto_len,
Dpython_api.cc148 size_t proto_len, TF_Status* status) { in SetHandleShapeAndType() argument
150 if (!handle_data.ParseFromArray(proto, proto_len)) { in SetHandleShapeAndType()
Dpython_api.h73 size_t proto_len, TF_Status* status);
Dc_api_function.cc695 TF_Function* TF_FunctionImportFunctionDef(const void* proto, size_t proto_len, in TF_FunctionImportFunctionDef() argument
698 if (!func->fdef.ParseFromArray(proto, proto_len)) { in TF_FunctionImportFunctionDef()
709 const void* proto, size_t proto_len, in TF_FunctionSetAttrValueProto() argument
712 if (!attr_value.ParseFromArray(proto, proto_len)) { in TF_FunctionSetAttrValueProto()
Dc_api.cc388 size_t proto_len, TF_Status* status) { in TF_SetConfig() argument
389 if (!options->options.config.ParseFromArray(proto, proto_len)) { in TF_SetConfig()
396 TF_Buffer* TF_NewBufferFromString(const void* proto, size_t proto_len) { in TF_NewBufferFromString() argument
397 void* copy = tensorflow::port::Malloc(proto_len); in TF_NewBufferFromString()
398 memcpy(copy, proto, proto_len); in TF_NewBufferFromString()
402 buf->length = proto_len; in TF_NewBufferFromString()
446 size_t proto_len, TF_Status* status) { in TF_ExtendGraph() argument
448 if (!tensorflow::ParseProtoUnlimited(&g, proto, proto_len)) { in TF_ExtendGraph()
1364 size_t proto_len, TF_Status* status) { in TF_SetAttrTensorShapeProto() argument
1367 if (proto_len > std::numeric_limits<int>::max()) { in TF_SetAttrTensorShapeProto()
[all …]
Dc_api_experimental.h267 size_t proto_len,
Dc_api_experimental.cc8954 size_t proto_len, in TFE_EnableCollectiveOps() argument
8957 if (!server_def.ParseFromArray(proto, proto_len)) { in TFE_EnableCollectiveOps()
/external/tensorflow/tensorflow/c/eager/
Dc_api.h58 TFE_ContextOptions* options, const void* proto, size_t proto_len,
130 size_t proto_len,
Dc_api.cc314 size_t proto_len, TF_Status* status) { in TFE_ContextOptionsSetConfig() argument
315 TF_SetConfig(&options->session_options, proto, proto_len, status); in TFE_ContextOptionsSetConfig()
384 size_t proto_len, in TFE_ContextSetServerDef() argument
387 if (!server_def.ParseFromArray(proto, proto_len)) { in TFE_ContextSetServerDef()
/external/tensorflow/tensorflow/python/platform/
Dbase.i204 %typemap(in) (const void* proto, size_t proto_len) {
/external/openssh/
Dchannels.c980 u_int proto_len, data_len; in x11_open_helper() local
996 proto_len = 256 * ucp[6] + ucp[7]; in x11_open_helper()
999 proto_len = ucp[6] + 256 * ucp[7]; in x11_open_helper()
1009 12 + ((proto_len + 3) & ~3) + ((data_len + 3) & ~3)) in x11_open_helper()
1013 if (proto_len != strlen(x11_saved_proto) || in x11_open_helper()
1014 memcmp(ucp + 12, x11_saved_proto, proto_len) != 0) { in x11_open_helper()
1020 timingsafe_bcmp(ucp + 12 + ((proto_len + 3) & ~3), in x11_open_helper()
1036 memcpy(ucp + 12 + ((proto_len + 3) & ~3), in x11_open_helper()
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c1950 Py_ssize_t proto_len; in PyCSimpleType_new() local
1970 proto_str = PyUnicode_AsUTF8AndSize(proto, &proto_len); in PyCSimpleType_new()
1978 if (proto_len != 1) { in PyCSimpleType_new()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c2022 Py_ssize_t proto_len; in PyCSimpleType_new() local
2043 proto_len = PyString_GET_SIZE(proto); in PyCSimpleType_new()
2049 if (proto_len != 1) { in PyCSimpleType_new()