Lines Matching refs:prop
47 // Get the EDID data from the |output| and stores to |prop|. |nitem| will store
48 // the number of characters |prop| will have. It doesn't take the ownership of
49 // |prop|, so caller must release it by XFree().
51 // false and does not touch |prop| and |nitems|.
52 bool GetEDIDProperty(XID output, unsigned long* nitems, unsigned char** prop) {
90 prop);
104 unsigned char *prop = NULL;
105 if (!GetEDIDProperty(output, &nitems, &prop))
109 prop, nitems, manufacturer_id, human_readable_name);
110 XFree(prop);
134 unsigned char* prop = NULL;
135 if (!GetEDIDProperty(output_id, &nitems, &prop))
139 GetDisplayIdFromEDID(prop, nitems, output_index, display_id_out);
140 XFree(prop);
144 bool GetDisplayIdFromEDID(const unsigned char* prop,
152 ParseOutputDeviceData(prop, nitems, &manufacturer_id, &product_name);
168 bool ParseOutputDeviceData(const unsigned char* prop,
192 *reinterpret_cast<const uint16*>(prop + kManufacturerOffset);
207 prop + kDescriptorOffset + i * kDescriptorLength;
241 unsigned char *prop = NULL;
242 if (!GetEDIDProperty(output, &nitems, &prop))
245 bool found = ParseOutputOverscanFlag(prop, nitems, flag);
246 XFree(prop);
250 bool ParseOutputOverscanFlag(const unsigned char* prop,
274 unsigned char num_extensions = prop[kNumExtensionsOffset];
281 const unsigned char* extension = prop + kExtensionBase + i * kExtensionSize;
298 if (static_cast<unsigned long>(data_block + payload_length - prop) >