Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/c/
Dc_api.h118 size_t proto_len);
148 const void* proto, size_t proto_len,
372 size_t proto_len, TF_Status* status);
397 size_t proto_len,
1150 const void* proto, size_t proto_len, TF_Status* status);
1160 size_t proto_len,
1338 const void* proto, size_t proto_len,
1536 size_t proto_len,
Dc_api_function.cc287 TF_Function* TF_FunctionImportFunctionDef(const void* proto, size_t proto_len, in TF_FunctionImportFunctionDef() argument
290 if (!func->fdef.ParseFromArray(proto, proto_len)) { in TF_FunctionImportFunctionDef()
301 const void* proto, size_t proto_len, in TF_FunctionSetAttrValueProto() argument
304 if (!attr_value.ParseFromArray(proto, proto_len)) { in TF_FunctionSetAttrValueProto()
Dpython_api.h73 size_t proto_len, TF_Status* status);
Dpython_api.cc147 size_t proto_len, TF_Status* status) { in SetHandleShapeAndType() argument
149 if (!handle_data.ParseFromArray(proto, proto_len)) { in SetHandleShapeAndType()
Dc_api.cc124 size_t proto_len, TF_Status* status) { in TF_SetConfig() argument
125 if (!options->options.config.ParseFromArray(proto, proto_len)) { in TF_SetConfig()
132 TF_Buffer* TF_NewBufferFromString(const void* proto, size_t proto_len) { in TF_NewBufferFromString() argument
133 void* copy = tensorflow::port::Malloc(proto_len); in TF_NewBufferFromString()
134 memcpy(copy, proto, proto_len); in TF_NewBufferFromString()
138 buf->length = proto_len; in TF_NewBufferFromString()
182 size_t proto_len, TF_Status* status) { in TF_ExtendGraph() argument
184 if (!tensorflow::ParseProtoUnlimited(&g, proto, proto_len)) { in TF_ExtendGraph()
940 size_t proto_len, TF_Status* status) { in TF_SetAttrTensorShapeProto() argument
943 if (proto_len > std::numeric_limits<int>::max()) { in TF_SetAttrTensorShapeProto()
[all …]
Dc_api_experimental.h297 size_t proto_len,
Dc_api_experimental.cc801 size_t proto_len, in TFE_EnableCollectiveOps() argument
804 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.cc682 size_t proto_len, TF_Status* status) { in TFE_ContextOptionsSetConfig() argument
683 TF_SetConfig(&options->session_options, proto, proto_len, status); in TFE_ContextOptionsSetConfig()
760 size_t proto_len, in TFE_ContextSetServerDef() argument
767 if (!server_def.ParseFromArray(proto, proto_len)) { in TFE_ContextSetServerDef()
796 size_t proto_len, in TFE_ContextUpdateServerDef() argument
803 if (!server_def.ParseFromArray(proto, proto_len)) { in TFE_ContextUpdateServerDef()
Dc_api_experimental.h428 size_t proto_len,
/external/tensorflow/tensorflow/python/platform/
Dbase.i193 %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.c2076 Py_ssize_t proto_len; in PyCSimpleType_new() local
2098 proto_str = PyUnicode_AsUTF8AndSize(proto, &proto_len); in PyCSimpleType_new()
2106 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()