Searched refs:opStr (Results 1 – 4 of 4) sorted by relevance
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_ad.cpp | 51 char opStr[4] = ""; in adWrite() local 52 snprintf(opStr, sizeof(opStr), "%d", value); in adWrite() 53 ssize_t ret = write(adFd, opStr, strlen(opStr)); in adWrite() 78 char opStr[4]; in adRead() local 79 ssize_t bytesRead = read(adFd, opStr, sizeof(opStr) - 1); in adRead() 81 opStr[bytesRead] = '\0'; in adRead() 83 ret = atoi(opStr); in adRead()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_ad.cpp | 52 char opStr[4] = ""; in adWrite() local 53 snprintf(opStr, sizeof(opStr), "%d", value); in adWrite() 54 ssize_t ret = write(adFd, opStr, strlen(opStr)); in adWrite() 79 char opStr[4] = {'\0'}; in adRead() local 80 if(read(adFd, opStr, strlen(opStr)) >= 0) { in adRead() 82 ret = atoi(opStr); in adRead()
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_ad.cpp | 83 char opStr[4] = ""; in adWrite() local 84 snprintf(opStr, sizeof(opStr), "%d", value); in adWrite() 85 ssize_t ret = write(adFd, opStr, strlen(opStr)); in adWrite() 110 char opStr[4] = {'\0'}; in adRead() local 111 if(read(adFd, opStr, strlen(opStr)) >= 0) { in adRead() 113 ret = atoi(opStr); in adRead()
|
/hardware/qcom/display/msm8994/libhdmi/ |
D | hdmi.cpp | 695 char opStr[4]; in getConnectedState() local 696 ssize_t bytesRead = read(connectedNode, opStr, sizeof(opStr) - 1); in getConnectedState() 698 opStr[bytesRead] = '\0'; in getConnectedState() 699 ret = atoi(opStr); in getConnectedState()
|