Home
last modified time | relevance | path

Searched refs:_dbus_string_get_byte (Results 1 – 20 of 20) sorted by relevance

/external/dbus/bus/
Ddesktop-file.c206 if (_dbus_string_get_byte (str, pos) == 0) in unescape_string()
215 if (_dbus_string_get_byte (str, pos) == '\\') in unescape_string()
228 switch (_dbus_string_get_byte (str, pos)) in unescape_string()
256 *q++ =_dbus_string_get_byte (str, pos); in unescape_string()
348 c = _dbus_string_get_byte (&parser->data, p); in is_blank_line()
356 c = _dbus_string_get_byte (&parser->data, p); in is_blank_line()
407 _dbus_string_get_byte (&parser->data, line_end - 1) != ']') in parse_section_start()
471 (valid[_dbus_string_get_byte (&parser->data, p)] & VALID_KEY_CHAR)) in parse_key_value()
483 if (p < line_end && _dbus_string_get_byte (&parser->data, p) == '[') in parse_key_value()
496 while (p < line_end && _dbus_string_get_byte (&parser->data, p) == ' ') in parse_key_value()
[all …]
Dservices.c408 if (_dbus_string_get_byte (service_name, 0) == ':') in bus_registry_acquire_service()
623 if (_dbus_string_get_byte (service_name, 0) == ':') in bus_registry_release_service()
/external/dbus/dbus/
Ddbus-string-util.c555 _dbus_assert (_dbus_string_get_byte (&str, 0) == 'H'); in _dbus_string_test()
556 _dbus_assert (_dbus_string_get_byte (&str, 1) == 'e'); in _dbus_string_test()
557 _dbus_assert (_dbus_string_get_byte (&str, 2) == 'l'); in _dbus_string_test()
558 _dbus_assert (_dbus_string_get_byte (&str, 3) == 'l'); in _dbus_string_test()
559 _dbus_assert (_dbus_string_get_byte (&str, 4) == 'o'); in _dbus_string_test()
562 _dbus_assert (_dbus_string_get_byte (&str, 1) == 'q'); in _dbus_string_test()
573 _dbus_assert (_dbus_string_get_byte (&str, 0) == 255); in _dbus_string_test()
574 _dbus_assert (_dbus_string_get_byte (&str, 1) == 'H'); in _dbus_string_test()
575 _dbus_assert (_dbus_string_get_byte (&str, 2) == 'Z'); in _dbus_string_test()
576 _dbus_assert (_dbus_string_get_byte (&str, 3) == 'Z'); in _dbus_string_test()
[all …]
Ddbus-sysdeps-util-win.c714 (_dbus_string_get_byte (filename, sep - 1) == '/' || in _dbus_string_get_dirname()
715 _dbus_string_get_byte (filename, sep - 1) == '\\')) in _dbus_string_get_dirname()
722 _dbus_string_get_byte (filename, 1) == ':' && in _dbus_string_get_dirname()
723 isalpha (_dbus_string_get_byte (filename, 0)))) in _dbus_string_get_dirname()
738 (_dbus_string_get_byte (filename, sep - 1) == '/' || in _dbus_string_get_dirname()
739 _dbus_string_get_byte (filename, sep - 1) == '\\')) in _dbus_string_get_dirname()
746 _dbus_string_get_byte (filename, 1) == ':' && in _dbus_string_get_dirname()
747 isalpha (_dbus_string_get_byte (filename, 0)))) in _dbus_string_get_dirname()
749 (_dbus_string_get_byte (filename, sep) == '/' || in _dbus_string_get_dirname()
750 _dbus_string_get_byte (filename, sep) == '\\')) in _dbus_string_get_dirname()
Ddbus-string.h65 #define _dbus_string_get_byte(s, i) (((const unsigned char*)(((DBusString*)(s))->dummy1))[(i)]) macro
101 #ifndef _dbus_string_get_byte
102 unsigned char _dbus_string_get_byte (const DBusString *str,
Ddbus-sysdeps-util-unix.c586 return _dbus_string_get_byte (filename, 0) == '/'; in _dbus_path_is_absolute()
1040 while (sep > 0 && _dbus_string_get_byte (filename, sep - 1) == '/') in _dbus_string_get_dirname()
1054 while (sep > 0 && _dbus_string_get_byte (filename, sep - 1) == '/') in _dbus_string_get_dirname()
1060 _dbus_string_get_byte (filename, 0) == '/') in _dbus_string_get_dirname()
Ddbus-message-factory.c874 byte_order = _dbus_string_get_byte (data, BYTE_ORDER_OFFSET); in generate_wrong_length()
937 v_BYTE = _dbus_string_get_byte (data, byte_seq); in generate_byte_changed()
991 if (dbus_type_is_valid (_dbus_string_get_byte (data, byte_seq)))
1181 byte_order = _dbus_string_get_byte (data, BYTE_ORDER_OFFSET); in generate_uint32_changed()
Ddbus-marshal-basic.c395 old_len = _dbus_string_get_byte (str, pos); in set_signature()
570 *vp = (unsigned char) _dbus_string_get_byte (str, pos); in _dbus_marshal_read_basic()
634 len = _dbus_string_get_byte (str, pos); in _dbus_marshal_read_basic()
1187 len = _dbus_string_get_byte (str, *pos); in _dbus_marshal_skip_basic()
1484 return map_type_char_to_type (_dbus_string_get_byte (str, pos)); in _dbus_first_type_in_signature()
Ddbus-marshal-recursive.c179 _dbus_assert (_dbus_string_get_byte (sub->type_str, in struct_or_dict_entry_types_only_reader_recurse()
181 _dbus_string_get_byte (sub->type_str, in struct_or_dict_entry_types_only_reader_recurse()
286 sig_len = _dbus_string_get_byte (sub->value_str, sub->value_pos); in variant_reader_recurse()
514 t = _dbus_string_get_byte (reader->type_str, reader->type_pos); in struct_reader_next()
535 t = _dbus_string_get_byte (reader->type_str, reader->type_pos); in dict_entry_reader_next()
1725 expected = _dbus_string_get_byte (writer->type_str, writer->type_pos); in write_or_verify_typecode()
Ddbus-sysdeps-win.c1743 ('/' == _dbus_string_get_byte (dir, _dbus_string_get_length (dir) - 1) || in _dbus_concat_dir_and_file()
1744 '\\' == _dbus_string_get_byte (dir, _dbus_string_get_length (dir) - 1)); in _dbus_concat_dir_and_file()
1747 ('/' == _dbus_string_get_byte (next_component, 0) || in _dbus_concat_dir_and_file()
1748 '\\' == _dbus_string_get_byte (next_component, 0)); in _dbus_concat_dir_and_file()
3628 return _dbus_string_get_byte (filename, 1) == ':' in _dbus_path_is_absolute()
3629 || _dbus_string_get_byte (filename, 0) == '\\' in _dbus_path_is_absolute()
3630 || _dbus_string_get_byte (filename, 0) == '/'; in _dbus_path_is_absolute()
Ddbus-marshal-header.c178 return (char) _dbus_string_get_byte (&header->data, BYTE_ORDER_OFFSET); in _dbus_header_get_byte_order()
388 type = _dbus_string_get_byte (&header->data, TYPE_OFFSET); in _dbus_header_get_message_type()
692 *byte_order = _dbus_string_get_byte (str, start + BYTE_ORDER_OFFSET); in _dbus_header_have_message_untrusted()
Ddbus-sha.c604 if (_dbus_string_get_byte (line, offset) == '^') in decode_compact_string()
627 old_byte = _dbus_string_get_byte (decoded, byte_containing_next_bit); in decode_compact_string()
696 switch (_dbus_string_get_byte (result, i)) in get_next_expected_result()
Ddbus-message-util.c495 _dbus_string_get_byte (data, i)); in dbus_internal_do_not_use_try_message_data()
535 _dbus_string_get_byte (data, i)); in dbus_internal_do_not_use_try_message_data()
538 _dbus_string_get_byte (data, i+1)); in dbus_internal_do_not_use_try_message_data()
Ddbus-sysdeps.c589 letters[_dbus_string_get_byte (str, i) % in _dbus_generate_random_ascii()
Ddbus-string.c529 #ifndef _dbus_string_get_byte
540 _dbus_string_get_byte (const DBusString *str, in _dbus_string_get_byte() function
2415 b = _dbus_string_get_byte (&result, len - 1); in _dbus_string_hex_decode()
Ddbus-auth-script.c61 b = _dbus_string_get_byte (quoted, i); in append_quoted_string()
Ddbus-sysdeps-unix.c2729 dir_ends_in_slash = '/' == _dbus_string_get_byte (dir, in _dbus_concat_dir_and_file()
2732 file_starts_with_slash = '/' == _dbus_string_get_byte (next_component, 0); in _dbus_concat_dir_and_file()
Ddbus-message.c2401 current_len = _dbus_string_get_byte (current_sig, current_sig_pos); in _dbus_message_iter_open_signature()
/external/dbus/test/
Dbreak-loader.c448 b = _dbus_string_get_byte (mutated, i); in randomly_change_one_type()
/external/dbus/
DChangeLog.pre-1-07108 * dbus/dbus-string.h (_dbus_string_get_byte): inline when asserts
9016 * dbus/dbus-string.c (_dbus_string_get_byte): allow getting nul