Lines Matching defs:buf
357 char buf[40];
362 snprintf (buf, sizeof (buf) - 1, "/dev/usb%d", controller);
363 ctrl_fd = open (buf, O_RDWR);
379 snprintf (buf, sizeof (buf), "/dev/%s", devInfo.udi_devnames[0]);
380 if (strncmp (buf, name, sizeof (buf)) == 0)
938 char buf[buf_size];
940 snprintf(buf, buf_size, "0x%x", attr_value);
942 snprintf(buf, buf_size, "0x%06x", attr_value);
944 snprintf(buf, buf_size, "0x%04x", attr_value);
946 snprintf(buf, buf_size, "0x%02x", attr_value);
948 xmlNewProp(node, (const xmlChar*)attr_name, (const xmlChar*)buf);
955 char buf[buf_size];
956 snprintf(buf, buf_size, "%d", attr_value);
957 xmlNewProp(node, (const xmlChar*)attr_name, (const xmlChar*)buf);
3775 char buf[buf_size];
3776 snprintf(buf, buf_size, "(unknown read of allowed size %ld)", size);
3777 xmlNode* e_content = xmlNewText((const xmlChar*)buf);
4482 char buf[buf_size];
4483 snprintf(buf, buf_size, "(unknown read of size %d)", len);
4484 xmlNode* e_content = xmlNewText((const xmlChar*)buf);
4797 char buf[buf_size];
4798 snprintf(buf, buf_size, "(unknown read of wanted size %ld)", read_size);
4799 xmlNode* e_content = xmlNewText((const xmlChar*)buf);