Searched refs:path_length (Results 1 – 3 of 3) sorted by relevance
285 size_t path_length = strlen(path_and_mode); in SendRequest() local286 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() local382 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 …]
36 uint32_t path_length; // <= 1024 member
521 size_t path_length = request.path_length; in handle_sync_command() local522 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()