/external/tensorflow/tensorflow/c/ |
D | c_api.h | 118 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,
|
D | c_api_function.cc | 287 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()
|
D | python_api.h | 73 size_t proto_len, TF_Status* status);
|
D | python_api.cc | 147 size_t proto_len, TF_Status* status) { in SetHandleShapeAndType() argument 149 if (!handle_data.ParseFromArray(proto, proto_len)) { in SetHandleShapeAndType()
|
D | c_api.cc | 124 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 …]
|
D | c_api_experimental.h | 297 size_t proto_len,
|
D | c_api_experimental.cc | 801 size_t proto_len, in TFE_EnableCollectiveOps() argument 804 if (!server_def.ParseFromArray(proto, proto_len)) { in TFE_EnableCollectiveOps()
|
/external/tensorflow/tensorflow/c/eager/ |
D | c_api.h | 58 TFE_ContextOptions* options, const void* proto, size_t proto_len, 130 size_t proto_len,
|
D | c_api.cc | 682 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()
|
D | c_api_experimental.h | 428 size_t proto_len,
|
/external/tensorflow/tensorflow/python/platform/ |
D | base.i | 193 %typemap(in) (const void* proto, size_t proto_len) {
|
/external/openssh/ |
D | channels.c | 980 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.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()
|