Lines Matching refs:buf
1196 char buf[256];
1209 strncpy (buf, pc->cdata_buf, sizeof (buf));
1213 hal_device_property_get_as_string (pc->device, pc->cdata_buf, buf, sizeof (buf));
1224 strncat (buf2, buf, sizeof (buf2) - strlen(buf2));
1226 strncpy (buf2, buf, sizeof (buf2));
1234 char buf[256];
1247 strncpy (buf, pc->cdata_buf, sizeof (buf));
1251 hal_device_property_get_as_string (pc->device, pc->cdata_buf, buf, sizeof (buf));
1261 strncpy (buf2, buf, sizeof (buf2));
1264 strncpy (buf2, buf, sizeof (buf2));
1368 char buf[512];
1384 snprintf (buf, sizeof (buf), "%s/%s", dir, filename);
1386 /*HAL_INFO(("analyzing file %s", buf));*/
1389 file = fopen (buf, "r");
1391 HAL_ERROR (("Could not open file %s", buf));
1400 HAL_ERROR (("Could not allocate %d bytes for file %s", filesize, buf));
1426 parsing_context->file = buf;
1445 buf,