Support osl::Piece
Unify local variable name for pointer

p ->
ptr