Home
last modified time | relevance | path

Searched refs:path_length (Results 1 – 3 of 3) sorted by relevance

/system/core/adb/client/
Dfile_sync_client.cpp285 size_t path_length = strlen(path_and_mode); in SendRequest() local
286 if (path_length > 1024) { in SendRequest()
287 Error("SendRequest failed: path too long: %zu", path_length); in SendRequest()
294 std::vector<char> buf(sizeof(SyncRequest) + path_length); in SendRequest()
297 req->path_length = path_length; in SendRequest()
299 memcpy(data, path_and_mode, path_length); in SendRequest()
381 size_t path_length = strlen(path_and_mode); in SendSmallFile() local
382 if (path_length > 1024) { in SendSmallFile()
383 Error("SendSmallFile failed: path too long: %zu", path_length); in SendSmallFile()
388 std::vector<char> buf(sizeof(SyncRequest) + path_length + in SendSmallFile()
[all …]
/system/core/adb/
Dfile_sync_protocol.h36 uint32_t path_length; // <= 1024 member
/system/core/adb/daemon/
Dfile_sync_service.cpp521 size_t path_length = request.path_length; in handle_sync_command() local
522 if (path_length > 1024) { in handle_sync_command()
527 if (!ReadFdExactly(fd, name, path_length)) { in handle_sync_command()
531 name[path_length] = 0; in handle_sync_command()