Lines Matching refs:array
72 * Computes the number of elements in a fixed-size array using
75 * @param array the array to count elements in.
588 * Duplicates a string array. Result may be freed with
590 * If the array to be duplicated is #NULL, returns #NULL.
592 * @param array array to duplicate.
596 _dbus_dup_string_array (const char **array)
602 if (array == NULL)
605 for (len = 0; array[len] != NULL; ++len)
615 copy[i] = _dbus_strdup (array[i]);
629 * Checks whether a string array contains the given string.
631 * @param array array to search.
633 * @returns #TRUE if array contains string
636 _dbus_string_array_contains (const char **array,
642 while (array[i] != NULL)
644 if (strcmp (array[i], str) == 0)