/external/tensorflow/tensorflow/c/ |
D | c_api.h | 196 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,
|
D | python_api.cc | 148 size_t proto_len, TF_Status* status) { in SetHandleShapeAndType() argument 150 if (!handle_data.ParseFromArray(proto, proto_len)) { in SetHandleShapeAndType()
|
D | python_api.h | 73 size_t proto_len, TF_Status* status);
|
D | c_api_function.cc | 695 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()
|
D | c_api.cc | 388 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 …]
|
D | c_api_experimental.h | 267 size_t proto_len,
|
D | c_api_experimental.cc | 8954 size_t proto_len, in TFE_EnableCollectiveOps() argument 8957 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 | 314 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/ |
D | base.i | 204 %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 | 1950 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.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()
|