Lines Matching full:sendbuf
148 char sendBuf[1+PROPERTY_KEY_MAX];
166 memset(sendBuf, 0xdd, sizeof(sendBuf)); // placate valgrind
168 sendBuf[0] = (char) kSystemPropertyGet;
169 strcpy(sendBuf+1, key);
172 if (write(gPropFd, sendBuf, sizeof(sendBuf)) != sizeof(sendBuf)) {
215 char sendBuf[1+PROPERTY_KEY_MAX+PROPERTY_VALUE_MAX];
228 memset(sendBuf, 0xdd, sizeof(sendBuf)); // placate valgrind
230 sendBuf[0] = (char) kSystemPropertySet;
231 strcpy(sendBuf+1, key);
232 strcpy(sendBuf+1+PROPERTY_KEY_MAX, value);
235 if (write(gPropFd, sendBuf, sizeof(sendBuf)) != sizeof(sendBuf)) {