Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/c/
Dc_api.h119 size_t proto_len);
157 const void* proto, size_t proto_len,
381 size_t proto_len, TF_Status* status);
406 size_t proto_len,
1159 const void* proto, size_t proto_len, TF_Status* status);
1169 size_t proto_len,
1347 const void* proto, size_t proto_len,
1549 size_t proto_len,
Dc_api_function.cc293 TF_Function* TF_FunctionImportFunctionDef(const void* proto, size_t proto_len, in TF_FunctionImportFunctionDef() argument
296 if (!func->fdef.ParseFromArray(proto, proto_len)) { in TF_FunctionImportFunctionDef()
307 const void* proto, size_t proto_len, in TF_FunctionSetAttrValueProto() argument
310 if (!attr_value.ParseFromArray(proto, proto_len)) { in TF_FunctionSetAttrValueProto()
Dpython_api.cc112 size_t proto_len, TF_Status* status) { in SetHandleShapeAndType() argument
114 if (!handle_data.ParseFromArray(proto, proto_len)) { in SetHandleShapeAndType()
Dpython_api.h73 size_t proto_len, TF_Status* status);
Dc_api.cc125 size_t proto_len, TF_Status* status) { in TF_SetConfig() argument
126 if (!options->options.config.ParseFromArray(proto, proto_len)) { in TF_SetConfig()
133 TF_Buffer* TF_NewBufferFromString(const void* proto, size_t proto_len) { in TF_NewBufferFromString() argument
134 void* copy = tensorflow::port::Malloc(proto_len); in TF_NewBufferFromString()
135 memcpy(copy, proto, proto_len); in TF_NewBufferFromString()
139 buf->length = proto_len; in TF_NewBufferFromString()
183 size_t proto_len, TF_Status* status) { in TF_ExtendGraph() argument
185 if (!tensorflow::ParseProtoUnlimited(&g, proto, proto_len)) { in TF_ExtendGraph()
942 size_t proto_len, TF_Status* status) { in TF_SetAttrTensorShapeProto() argument
945 if (proto_len > std::numeric_limits<int>::max()) { in TF_SetAttrTensorShapeProto()
[all …]
Dc_api_experimental.h230 size_t proto_len,
Dc_api_experimental.cc502 size_t proto_len, in TFE_EnableCollectiveOps() argument
505 if (!server_def.ParseFromArray(proto, proto_len)) { in TFE_EnableCollectiveOps()
/external/tensorflow/tensorflow/c/eager/
Dc_api.cc99 size_t proto_len, TF_Status* status) { in TFE_ContextOptionsSetConfig() argument
100 TF_SetConfig(&options->session_options, proto, proto_len, status); in TFE_ContextOptionsSetConfig()
181 size_t proto_len, in TFE_ContextSetServerDef() argument
188 if (!server_def.ParseFromArray(proto, proto_len)) { in TFE_ContextSetServerDef()
202 size_t proto_len, in TFE_ContextUpdateServerDef() argument
211 if (!server_def.ParseFromArray(proto, proto_len)) { in TFE_ContextUpdateServerDef()
859 const void* proto, size_t proto_len, in TFE_OpSetAttrValueProto() argument
862 if (!attr_value.ParseFromArray(proto, proto_len)) { in TFE_OpSetAttrValueProto()
Dc_api.h58 TFE_ContextOptions* options, const void* proto, size_t proto_len,
130 size_t proto_len,
Dc_api_experimental.h357 size_t proto_len,
431 size_t proto_len,
/external/openssh/
Dchannels.c1131 u_int proto_len, data_len; in x11_open_helper() local
1148 proto_len = 256 * ucp[6] + ucp[7]; in x11_open_helper()
1151 proto_len = ucp[6] + 256 * ucp[7]; in x11_open_helper()
1161 12 + ((proto_len + 3) & ~3) + ((data_len + 3) & ~3)) in x11_open_helper()
1165 if (proto_len != strlen(sc->x11_saved_proto) || in x11_open_helper()
1166 memcmp(ucp + 12, sc->x11_saved_proto, proto_len) != 0) { in x11_open_helper()
1172 timingsafe_bcmp(ucp + 12 + ((proto_len + 3) & ~3), in x11_open_helper()
1188 memcpy(ucp + 12 + ((proto_len + 3) & ~3), in x11_open_helper()
/external/boringssl/src/ssl/
Dssl_lib.cc2288 size_t proto_len, const uint8_t *settings, in SSL_add_application_settings() argument
2294 if (!config.protocol.CopyFrom(MakeConstSpan(proto, proto_len)) || in SSL_add_application_settings()
/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()
/external/boringssl/src/include/openssl/
Dssl.h2805 size_t proto_len,