Lines Matching refs:strcmp
1187 if (!strcmp(str, "r") || !strcmp(str, "ro")) { in setaccess()
1189 } else if (!strcmp(str, "rw") || !strcmp(str, "w") || !strcmp(str,"")) { in setaccess()
1198 if (!strcmp(str,"")) DSET(dpc,format,FORMAT,str,RAW); in setformat()
1199 else if (!strcmp(str,"raw")) DSET(dpc,format,FORMAT,str,RAW); in setformat()
1200 else if (!strcmp(str,"qcow")) DSET(dpc,format,FORMAT,str,QCOW); in setformat()
1201 else if (!strcmp(str,"qcow2")) DSET(dpc,format,FORMAT,str,QCOW2); in setformat()
1202 else if (!strcmp(str,"vhd")) DSET(dpc,format,FORMAT,str,VHD); in setformat()
1203 else if (!strcmp(str,"empty")) DSET(dpc,format,FORMAT,str,EMPTY); in setformat()
1204 else if (!strcmp(str,"qed")) DSET(dpc,format,FORMAT,str,QED); in setformat()
1210 if ( !strcmp(str,"phy")) DSET(dpc,backend,BACKEND,str,PHY); in setbackendtype()
1211 else if (!strcmp(str,"tap")) DSET(dpc,backend,BACKEND,str,TAP); in setbackendtype()
1212 else if (!strcmp(str,"qdisk")) DSET(dpc,backend,BACKEND,str,QDISK); in setbackendtype()
1213 else if (!strcmp(str,"standalone")) DSET(dpc,backend,BACKEND,str,STANDALONE); in setbackendtype()
1219 if (!strcmp(str,"xen")) DSET(dpc,specification,SPECIFICATION,str,XEN); in setspecification()
1220 else if (!strcmp(str,"virtio")) DSET(dpc,specification,SPECIFICATION,str,VIRTIO); in setspecification()
1247 if (!strcmp(colon,"cdrom")) { in vdev_and_devtype()
1249 } else if (!strcmp(colon,"disk")) { in vdev_and_devtype()