Searched refs:isValidBuffer (Results 1 – 2 of 2) sorted by relevance
72 bool isValidBuffer = convert(buffer, dataspace, &bitmap); in ACanvas_createCanvas() local73 return isValidBuffer ? TypeCast::toACanvas(Canvas::create_canvas(bitmap)) : nullptr; in ACanvas_createCanvas()83 bool isValidBuffer = (buffer == nullptr) ? false : convert(buffer, dataspace, &bitmap); in ACanvas_setBuffer() local85 return isValidBuffer; in ACanvas_setBuffer()
137 bool isValidBuffer = false; in checkHeader() local140 isValidBuffer = true; in checkHeader()148 return (isValidBuffer); in checkHeader()