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.c409 if (_dbus_string_get_byte (service_name, 0) == ':') in bus_registry_acquire_service()
627 if (_dbus_string_get_byte (service_name, 0) == ':') in bus_registry_release_service()
/external/dbus/dbus/
Ddbus-string-util.c544 _dbus_assert (_dbus_string_get_byte (&str, 0) == 'H'); in _dbus_string_test()
545 _dbus_assert (_dbus_string_get_byte (&str, 1) == 'e'); in _dbus_string_test()
546 _dbus_assert (_dbus_string_get_byte (&str, 2) == 'l'); in _dbus_string_test()
547 _dbus_assert (_dbus_string_get_byte (&str, 3) == 'l'); in _dbus_string_test()
548 _dbus_assert (_dbus_string_get_byte (&str, 4) == 'o'); in _dbus_string_test()
551 _dbus_assert (_dbus_string_get_byte (&str, 1) == 'q'); in _dbus_string_test()
562 _dbus_assert (_dbus_string_get_byte (&str, 0) == 255); in _dbus_string_test()
563 _dbus_assert (_dbus_string_get_byte (&str, 1) == 'H'); in _dbus_string_test()
564 _dbus_assert (_dbus_string_get_byte (&str, 2) == 'Z'); in _dbus_string_test()
565 _dbus_assert (_dbus_string_get_byte (&str, 3) == 'Z'); in _dbus_string_test()
[all …]
Ddbus-sysdeps-util-win.c690 return _dbus_string_get_byte (filename, 1) == ':' in _dbus_path_is_absolute()
691 || _dbus_string_get_byte (filename, 0) == '\\' in _dbus_path_is_absolute()
692 || _dbus_string_get_byte (filename, 0) == '/'; in _dbus_path_is_absolute()
726 (_dbus_string_get_byte (filename, sep - 1) == '/' || in _dbus_string_get_dirname()
727 _dbus_string_get_byte (filename, sep - 1) == '\\')) in _dbus_string_get_dirname()
734 _dbus_string_get_byte (filename, 1) == ':' && in _dbus_string_get_dirname()
735 isalpha (_dbus_string_get_byte (filename, 0)))) in _dbus_string_get_dirname()
750 (_dbus_string_get_byte (filename, sep - 1) == '/' || in _dbus_string_get_dirname()
751 _dbus_string_get_byte (filename, sep - 1) == '\\')) in _dbus_string_get_dirname()
758 _dbus_string_get_byte (filename, 1) == ':' && in _dbus_string_get_dirname()
[all …]
Ddbus-string.h66 #define _dbus_string_get_byte(s, i) (((const unsigned char*)(((DBusString*)(s))->dummy1))[(i)]) macro
102 #ifndef _dbus_string_get_byte
103 unsigned char _dbus_string_get_byte (const DBusString *str,
Ddbus-sysdeps-util-unix.c514 return _dbus_string_get_byte (filename, 0) == '/'; in _dbus_path_is_absolute()
995 while (sep > 0 && _dbus_string_get_byte (filename, sep - 1) == '/') in _dbus_string_get_dirname()
1009 while (sep > 0 && _dbus_string_get_byte (filename, sep - 1) == '/') in _dbus_string_get_dirname()
1015 _dbus_string_get_byte (filename, 0) == '/') in _dbus_string_get_dirname()
Ddbus-message-factory.c867 byte_order = _dbus_string_get_byte (data, BYTE_ORDER_OFFSET); in generate_wrong_length()
930 v_BYTE = _dbus_string_get_byte (data, byte_seq); in generate_byte_changed()
981 if (_dbus_type_is_valid (_dbus_string_get_byte (data, byte_seq))) in find_next_typecode()
1170 byte_order = _dbus_string_get_byte (data, BYTE_ORDER_OFFSET); in generate_uint32_changed()
Ddbus-marshal-basic.c352 old_len = _dbus_string_get_byte (str, pos); in set_signature()
527 *vp = (unsigned char) _dbus_string_get_byte (str, pos); in _dbus_marshal_read_basic()
591 len = _dbus_string_get_byte (str, pos); in _dbus_marshal_read_basic()
1146 len = _dbus_string_get_byte (str, *pos); in _dbus_marshal_skip_basic()
1481 return map_type_char_to_type (_dbus_string_get_byte (str, pos)); in _dbus_first_type_in_signature()
Ddbus-marshal-recursive.c167 _dbus_assert (_dbus_string_get_byte (sub->type_str, in struct_or_dict_entry_types_only_reader_recurse()
169 _dbus_string_get_byte (sub->type_str, in struct_or_dict_entry_types_only_reader_recurse()
274 sig_len = _dbus_string_get_byte (sub->value_str, sub->value_pos); in variant_reader_recurse()
502 t = _dbus_string_get_byte (reader->type_str, reader->type_pos); in struct_reader_next()
523 t = _dbus_string_get_byte (reader->type_str, reader->type_pos); in dict_entry_reader_next()
1713 expected = _dbus_string_get_byte (writer->type_str, writer->type_pos); in write_or_verify_typecode()
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.c434 _dbus_string_get_byte (data, i)); in dbus_internal_do_not_use_try_message_data()
474 _dbus_string_get_byte (data, i)); in dbus_internal_do_not_use_try_message_data()
477 _dbus_string_get_byte (data, i+1)); in dbus_internal_do_not_use_try_message_data()
Ddbus-marshal-header.c374 type = _dbus_string_get_byte (&header->data, TYPE_OFFSET); in _dbus_header_get_message_type()
679 *byte_order = _dbus_string_get_byte (str, start + BYTE_ORDER_OFFSET); in _dbus_header_have_message_untrusted()
Ddbus-sysdeps-win.c1745 ('/' == _dbus_string_get_byte (dir, _dbus_string_get_length (dir) - 1) || in _dbus_concat_dir_and_file()
1746 '\\' == _dbus_string_get_byte (dir, _dbus_string_get_length (dir) - 1)); in _dbus_concat_dir_and_file()
1749 ('/' == _dbus_string_get_byte (next_component, 0) || in _dbus_concat_dir_and_file()
1750 '\\' == _dbus_string_get_byte (next_component, 0)); in _dbus_concat_dir_and_file()
Ddbus-string.c550 #ifndef _dbus_string_get_byte
561 _dbus_string_get_byte (const DBusString *str, in _dbus_string_get_byte() function
2700 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.c881 letters[_dbus_string_get_byte (str, i) % in _dbus_generate_random_ascii()
Ddbus-sysdeps-unix.c2588 dir_ends_in_slash = '/' == _dbus_string_get_byte (dir, in _dbus_concat_dir_and_file()
2591 file_starts_with_slash = '/' == _dbus_string_get_byte (next_component, 0); in _dbus_concat_dir_and_file()
Ddbus-message.c2329 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