/external/tensorflow/tensorflow/c/ |
D | c_api.h | 119 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,
|
D | c_api_function.cc | 293 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()
|
D | python_api.cc | 112 size_t proto_len, TF_Status* status) { in SetHandleShapeAndType() argument 114 if (!handle_data.ParseFromArray(proto, proto_len)) { in SetHandleShapeAndType()
|
D | python_api.h | 73 size_t proto_len, TF_Status* status);
|
D | c_api.cc | 125 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 …]
|
D | c_api_experimental.h | 230 size_t proto_len,
|
D | c_api_experimental.cc | 502 size_t proto_len, in TFE_EnableCollectiveOps() argument 505 if (!server_def.ParseFromArray(proto, proto_len)) { in TFE_EnableCollectiveOps()
|
/external/tensorflow/tensorflow/c/eager/ |
D | c_api.cc | 99 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()
|
D | c_api.h | 58 TFE_ContextOptions* options, const void* proto, size_t proto_len, 130 size_t proto_len,
|
D | c_api_experimental.h | 357 size_t proto_len, 431 size_t proto_len,
|
/external/openssh/ |
D | channels.c | 1131 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/ |
D | ssl_lib.cc | 2288 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.c | 2076 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.c | 2022 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/ |
D | ssl.h | 2805 size_t proto_len,
|