Lines Matching +defs:buffer +defs:name

43  * 2) No right is granted to use any trade name, trademark, or logo of
45 * Corporation" name nor any trademark or logo of Digital Equipment
82 of_devhandle_lookup_device_call(devhandle_t handle, const char *name,
89 if (strcmp((*desc)->name, name) == 0) {
332 * This routine places the last component of an OFW node's name
333 * into a user-provided buffer.
339 * phandle OFW phandle of device whose name name is
341 * buf Buffer to contain device name, provided by
344 * bufsize Length of buffer referenced by 'buf', in
348 * -1 if the device path name could not be obtained or would
349 * not fit in the allocated temporary buffer, or zero otherwise
350 * (meaning that the leaf node name was successfully extracted).
353 * If the leaf node name was successfully extracted, 'buf' is
355 * name. If the leaf node was not successfully extracted, a
356 * somewhat meaningful string is placed in the buffer. In
369 /* check that we could get the name, and that it's not too long. */
393 * Find the first child of a given node that matches name. Does not recurse.
396 of_find_firstchild_byname(int node, const char *name)
403 if (OF_getprop(nn, "name", namex, sizeof(namex)) == -1)
405 if (strcmp(name, namex) == 0)
432 * Find a give node by name. Recurses, and seems to walk upwards too.
439 char name[64];
445 memset(name, 0, sizeof name);
446 OF_getprop(node, "name", name, sizeof name - 1);
447 if (strcmp(name, target) == 0)
500 * in screen:r1024x768x60 attached. If found copy it into *buffer, otherwise
505 of_get_mode_string(char *buffer, int len)
525 strncpy(buffer, pos + 2, len);
526 return buffer;