Searched defs:section (Results 1 - 25 of 186) sorted by path

12345678

/external/bluetooth/bluedroid/btif/src/
H A Dbtif_config.c99 static cfg_node* find_node(const char* section, const char* key, const char* name);
100 static int remove_node(const char* section, const char* key, const char* name);
101 static int remove_filter_node(const char* section, const char* filter[], int filter_count, int max_allowed);
103 static int set_node(const char* section, const char* key, const char* name,
154 int btif_config_get_int(const char* section, const char* key, const char* name, int* value) argument
158 return btif_config_get(section, key, name, (char*)value, &size, &type);
160 int btif_config_set_int(const char* section, const char* key, const char* name, int value) argument
162 return btif_config_set(section, key, name, (char*)&value, sizeof(value), BTIF_CFG_TYPE_INT);
164 int btif_config_get_str(const char* section, const char* key, const char* name, char* value, int* size) argument
169 return btif_config_get(section, ke
171 btif_config_set_str(const char* section, const char* key, const char* name, const char* value) argument
176 btif_config_exist(const char* section, const char* key, const char* name) argument
187 btif_config_get(const char* section, const char* key, const char* name, char* value, int* bytes, int* type) argument
222 btif_config_set(const char* section, const char* key, const char* name, const char* value, int bytes, int type) argument
237 btif_config_remove(const char* section, const char* key, const char* name) argument
253 btif_config_filter_remove(const char* section, const char* filter[], int filter_count, int max_allowed) argument
275 btif_config_next_key(short pos, const char* section, char * name, int* bytes) argument
288 btif_config_next_value(short pos, const char* section, const char* key, char* name, int* bytes) argument
494 set_node(const char* section, const char* key, const char* name, const char* value, short bytes, short type) argument
531 find_node(const char* section, const char* key, const char* name) argument
608 remove_node(const char* section, const char* key, const char* name) argument
695 remove_filter_node(const char* section, const char* filter[], int filter_count, int max_allowed) argument
913 const char* section = "Remote"; local
953 const char* section; local
[all...]
H A Dbtif_config_util.cpp97 const char* sn; //current section name
112 static int parse_sections(const char* section_name, const XMLElement* section);
113 static void enum_config(void* user_data, const char* section, const char* key, const char* name,
210 const XMLElement* section; local
211 for(section = root->FirstChildElement(); section; section = section->NextSiblingElement())
213 //debug("section tag:%s", section
226 parse_sections(const char* section_name, const XMLElement* section) argument
[all...]
/external/bluetooth/bluedroid/osi/src/
H A Dconfig.c31 static section_t *section_find(const config_t *config, const char *section);
35 static entry_t *entry_find(const config_t *config, const char *section, const char *key);
69 bool config_has_section(const config_t *config, const char *section) { argument
71 assert(section != NULL);
73 return (section_find(config, section) != NULL);
76 bool config_has_key(const config_t *config, const char *section, const char *key) { argument
78 assert(section != NULL);
81 return (entry_find(config, section, key) != NULL);
84 int config_get_int(const config_t *config, const char *section, const char *key, int def_value) { argument
86 assert(section !
98 config_get_bool(const config_t *config, const char *section, const char *key, bool def_value) argument
115 config_get_string(const config_t *config, const char *section, const char *key, const char *def_value) argument
127 config_set_int(config_t *config, const char *section, const char *key, int value) argument
137 config_set_bool(config_t *config, const char *section, const char *key, bool value) argument
145 config_set_string(config_t *config, const char *section, const char *key, const char *value) argument
186 char section[1024]; local
219 section_t *section = calloc(1, sizeof(section_t)); local
237 section_find(const config_t *config, const char *section) argument
266 entry_find(const config_t *config, const char *section, const char *key) argument
[all...]
/external/chromium_org/base/win/
H A Dpe_image.cc87 PIMAGE_SECTION_HEADER PEImage::GetSectionHeader(UINT section) const {
91 if (section < nt_headers->FileHeader.NumberOfSections)
92 return first_section + section;
116 PIMAGE_SECTION_HEADER section; local
118 for (UINT i = 0; NULL != (section = GetSectionHeader(i)); i++) {
121 PEImage::RVAToAddr(section->VirtualAddress));
123 DWORD size = section->Misc.VirtualSize;
126 return section;
141 PIMAGE_SECTION_HEADER section = GetSectionHeader(i); local
142 if (0 == _strnicmp(reinterpret_cast<LPCSTR>(section
243 PIMAGE_SECTION_HEADER section = GetSectionHeader(0); local
[all...]
H A Dstartup_information_unittest.cc21 HANDLE section = ::OpenFileMappingW(PAGE_READWRITE, false, kSectionName); local
22 HANDLE* events = reinterpret_cast<HANDLE*>(::MapViewOfFile(section,
43 HANDLE section = ::CreateFileMappingW(INVALID_HANDLE_VALUE, NULL, local
46 ASSERT_TRUE(section);
48 HANDLE* events = reinterpret_cast<HANDLE*>(::MapViewOfFile(section,
/external/chromium_org/chrome/app/
H A Dimage_pre_reader_win.cc94 // |section|.
97 // the section and the virtual size of the section.
101 // is padded to the PE page size if the entire section is initialized (i.e.,
104 // Any data after the initialized portion of the section will be soft-faulted
107 size_t GetPercentageOfSectionLength(const IMAGE_SECTION_HEADER* section, argument
109 DCHECK(section != NULL);
113 size_t initialized_length = std::min(section->SizeOfRawData,
114 section->Misc.VirtualSize);
124 // Helper function to read through a |percentage| of the given |section|
128 ReadThroughSection(HANDLE file_handle, const IMAGE_SECTION_HEADER* section, size_t percentage, void* temp_buffer, size_t temp_buffer_size) argument
262 const IMAGE_SECTION_HEADER* section = NULL; local
303 const IMAGE_SECTION_HEADER* section = NULL; local
[all...]
/external/chromium_org/chrome/browser/chromeos/
H A Dpreferences.cc602 void Preferences::SetLanguageConfigStringListAsCSV(const char* section, argument
615 if (section == std::string(language_prefs::kGeneralSectionName) &&
/external/chromium_org/chrome/browser/sync/
H A Dabout_sync_util.cc27 // Creates a 'section' for display on about:sync, consisting of a title and a
28 // list of fields. Returns a pointer to the new section. Note that
29 // |parent_list|, not the caller, owns the newly added section.
32 base::DictionaryValue* section = new base::DictionaryValue(); local
34 section->SetString("title", title);
35 section->Set("data", section_contents);
36 section->SetBoolean("is_sensitive", false);
37 parent_list->Append(section);
45 base::DictionaryValue* section = new base::DictionaryValue(); local
47 section
72 StringSyncStat(base::ListValue* section, const std::string& key) argument
101 BoolSyncStat(base::ListValue* section, const std::string& key) argument
124 IntSyncStat(base::ListValue* section, const std::string& key) argument
[all...]
/external/chromium_org/chrome/browser/ui/android/autofill/
H A Dautofill_dialog_controller_android.cc58 // Constructs |inputs| for the SECTION_CC_BILLING section.
78 // Constructs |inputs| for the SECTION_SHIPPING section.
99 DialogSection section,
105 if ((section == SECTION_CC_BILLING && !full_wallet->billing_address()) ||
106 (section == SECTION_SHIPPING && !full_wallet->shipping_address())) {
120 section == SECTION_CC_BILLING
127 DialogSection section,
131 DCHECK(section == SECTION_CC_BILLING || section == SECTION_SHIPPING);
133 if (section
98 FillOutputForSectionWithComparator( DialogSection section, const DetailInputs& inputs, const FormStructure::InputFieldComparator& compare, FormStructure& form_structure, FullWallet* full_wallet, const base::string16& email_address) argument
126 FillOutputForSection( DialogSection section, FormStructure& form_structure, FullWallet* full_wallet, const base::string16& email_address) argument
154 IsSectionInputUsedInFormStructure(DialogSection section, ServerFieldType input_type, const FormStructure& form_structure) argument
166 IsSectionInputsUsedInFormStructure(DialogSection section, const ServerFieldType* input_types, const size_t input_types_size, const FormStructure& form_structure) argument
[all...]
/external/chromium_org/chrome/browser/ui/autofill/
H A Dautofill_dialog_common.cc53 bool ServerTypeMatchesField(DialogSection section, argument
58 // The credit card name is filled from the billing section's data.
60 (section == SECTION_BILLING || section == SECTION_CC_BILLING)) {
81 DialogSection section) {
82 switch (section) {
101 DialogSection section) {
102 switch (section) {
80 DialogSectionToUiItemAddedEvent( DialogSection section) argument
100 DialogSectionToUiSelectionChangedEvent( DialogSection section) argument
H A Dautofill_dialog_controller_browsertest.cc154 DialogSection section,
160 section, type, value);
164 DialogSection section,
168 return AutofillDialogControllerImpl::InputsAreValid(section, inputs);
324 bool SectionHasField(DialogSection section, ServerFieldType type) { argument
326 controller()->RequestedFieldsForSection(section);
705 // Inputs from the other section (billing) should be left alone.
1336 // Add the card and check that there's a menu for that section.
1349 // Select "New X..." from the suggestion menu to clear the section's inputs.
H A Dautofill_dialog_controller_impl.cc167 // Extract |type| from |inputs| using |section| to determine whether the info
170 DialogSection section,
173 if (section != SECTION_SHIPPING)
268 std::string SectionToPrefString(DialogSection section) { argument
269 switch (section) {
277 // The SECTION_CC_BILLING section isn't active when using Autofill.
511 ServerFieldType CountryTypeForSection(DialogSection section) { argument
512 return section == SECTION_SHIPPING ? ADDRESS_HOME_COUNTRY :
822 DialogSection section = static_cast<DialogSection>(i); local
825 CountryComboboxModel* model = CountryComboboxModelForSection(section);
169 GetInfoFromInputs(const FieldValueMap& inputs, DialogSection section, const AutofillType& type) argument
1230 DialogSection section = SectionFromLocation(it->location()); local
1325 ResetSectionInput(DialogSection section) argument
1349 ShowEditUiIfBadSuggestion( DialogSection section) argument
1396 DialogSection section = static_cast<DialogSection>(i); local
1422 DialogSection section = static_cast<DialogSection>(i); local
1439 UpdateSection(DialogSection section) argument
1565 MenuModelForSection( DialogSection section) argument
1631 SuggestionStateForSection( DialogSection section) argument
1645 SuggestionTextForSection( DialogSection section, base::string16* vertically_compact, base::string16* horizontally_compact) argument
1754 CreateWrapper( DialogSection section) argument
1804 SuggestionIconForSection( DialogSection section) argument
1813 ExtraSuggestionIconForSection( DialogSection section) argument
1862 InputIsEditable( const DetailInput& input, DialogSection section) argument
1898 InputValidityMessage( DialogSection section, ServerFieldType type, const base::string16& value) argument
1985 InputsAreValid( DialogSection section, const FieldValueMap& inputs) argument
2099 UserEditedOrActivatedInput( DialogSection section, ServerFieldType type, gfx::NativeView parent_view, const gfx::Rect& content_bounds, const base::string16& field_contents, bool was_edit) argument
2537 DialogSection section = SectionForSuggestionsMenuModel(*model); local
3156 DialogSection section = static_cast<DialogSection>(i); local
3191 DialogSection section = static_cast<DialogSection>(i); local
3202 FillOutputForSectionWithComparator( DialogSection section, const FormStructure::InputFieldComparator& compare) argument
3281 FillOutputForSection(DialogSection section) argument
3306 GetValueFromSection( DialogSection section, ServerFieldType type) argument
3320 CanAcceptCountry( DialogSection section, const std::string& country_code) argument
3338 ShouldSuggestProfile( DialogSection section, const AutofillProfile& profile) argument
3347 SuggestionsMenuModelForSection(DialogSection section) argument
3385 CountryComboboxModelForSection(DialogSection section) argument
3395 GetI18nValidatorSuggestions( DialogSection section, ServerFieldType type, std::vector<base::string16>* popup_values, std::vector<base::string16>* popup_labels, std::vector<base::string16>* popup_icons) argument
3445 MutableRequestedFieldsForSection( DialogSection section) argument
3450 MutableAddressLanguageCodeForSection( DialogSection section) argument
3465 AddressLanguageCodeForSection( DialogSection section) argument
3476 CountryCodeForSection( DialogSection section) argument
3493 RebuildInputsForCountry( DialogSection section, const base::string16& country_name, bool should_clobber) argument
3533 SetEditingExistingData( DialogSection section, bool editing) argument
3601 SectionIsValid( DialogSection section) argument
3611 RulesAreLoaded(DialogSection section) argument
3883 DialogSection section = static_cast<DialogSection>(i); local
3927 DialogSection section = static_cast<DialogSection>(i); local
3968 PersistAutofillChoice( DialogSection section, const std::string& guid) argument
3981 GetDefaultAutofillChoice( DialogSection section, std::string* guid) argument
4000 GetAutofillChoice(DialogSection section, std::string* guid) argument
4061 DialogSection section = SectionForSuggestionsMenuModel(model); local
[all...]
H A Dautofill_dialog_controller_unittest.cc191 virtual void UpdateSection(DialogSection section) OVERRIDE {
192 section_updates_[section]++;
200 virtual void FillSection(DialogSection section,
202 virtual void GetUserInput(DialogSection section, FieldValueMap* output)
204 *output = outputs_[section];
224 void SetUserInput(DialogSection section, const FieldValueMap& map) { argument
225 outputs_[section] = map;
508 // Activates the 'Add new foo' option from the |section|'s suggestions
509 // dropdown and fills the |section|'s inputs with the data from the
510 // |data_model|. If |section| i
511 FillInputs(DialogSection section, const AutofillDataModel& data_model) argument
562 ValidateCCNumber(DialogSection section, const std::string& cc_number, bool should_pass) argument
585 SectionContainsField(DialogSection section, ServerFieldType type) argument
596 GetMenuModelForSection(DialogSection section) argument
733 DialogSection section = static_cast<DialogSection>(i); local
753 DialogSection section = i == 0 ? SECTION_SHIPPING : SECTION_BILLING; local
[all...]
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
H A Dautofill_section_container.h40 // View delegate for a section of the payment details. Contains a label
41 // describing the section as well as associated inputs and controls. Built
55 // controller for such an icon. There is at most one such icon per section.
77 @property(readonly, nonatomic) autofill::DialogSection section; variable
81 // fields for |section|.
83 forSection:(autofill::DialogSection)section;
91 // Called when the contents of a section have changed.
94 // Fills the section with Autofill data that was triggered by a user
98 // Validate this section. Validation rules depend on |validationType|.
116 // not part of this section
[all...]
/external/chromium_org/chrome/browser/ui/views/autofill/
H A Dautofill_dialog_view_tester_views.cc73 DialogSection section,
75 view_->GroupForSection(section)->suggested_info->textfield()->SetText(text);
95 bool AutofillDialogViewTesterViews::IsShowingSection(DialogSection section)
97 return view_->GroupForSection(section)->container->visible();
72 SetTextContentsOfSuggestionInput( DialogSection section, const base::string16& text) argument
H A Dautofill_dialog_views.cc73 // The width for the section container.
89 // Vertical padding above and below each detail section (in pixels).
1349 void AutofillDialogViews::UpdateSection(DialogSection section) { argument
1350 UpdateSectionImpl(section, true);
1358 void AutofillDialogViews::FillSection(DialogSection section, argument
1360 DetailsGroup* group = GroupForSection(section);
1370 if (section == GetCreditCardSection() &&
1379 UpdateSectionImpl(section, false);
1382 void AutofillDialogViews::GetUserInput(DialogSection section, argument
1384 DetailsGroup* group = GroupForSection(section);
1458 ValidateSection(DialogSection section) argument
1709 DialogSection section = GroupForView(combobox)->section; local
1885 CreateDetailsSection(DialogSection section) argument
1898 CreateInputsContainer(DialogSection section) argument
1922 InitInputsView(DialogSection section) argument
2017 UpdateSectionImpl( DialogSection section, bool clobber_inputs) argument
2162 MarkInputsInvalid( DialogSection section, const ValidityMessages& messages, bool overwrite_unsure) argument
2331 GroupForSection( DialogSection section) argument
2456 SetIconsForSection(DialogSection section) argument
2474 SetEditabilityForSection(DialogSection section) argument
2503 DetailsGroup(DialogSection section) argument
[all...]
H A Dautofill_dialog_views.h87 virtual void UpdateSection(DialogSection section) OVERRIDE;
89 virtual void FillSection(DialogSection section,
91 virtual void GetUserInput(DialogSection section,
99 virtual void ValidateSection(DialogSection section) OVERRIDE;
208 // Runs the suggestion menu (triggered by each section's |suggested_button|.
305 // Sets the visual appearance of the section to active (considered active
416 // text. This is currently only used to show a CVC field for the CC section.
443 // section. None of the member pointers are owned.
445 explicit DetailsGroup(DialogSection section);
448 // The section thi
449 const DialogSection section; member in struct:autofill::AutofillDialogViews::DetailsGroup
[all...]
/external/chromium_org/chrome/common/
H A Dini_parser.cc31 // It is a section header.
52 void DictionaryValueINIParser::HandleTriplet(const std::string& section, argument
56 // Checks whether the section and key contain a '.' character.
59 if (section.find('.') == std::string::npos &&
61 root_.SetString(section + "." + key, value);
H A Dini_parser_unittest.cc14 TestTriplet(const std::string& section, argument
17 : section(section),
22 std::string section; member in struct:__anon5678::TestTriplet
41 virtual void HandleTriplet(const std::string& section, const std::string& key,
43 EXPECT_EQ(expected_triplets_[pair_i_].section, section);
/external/chromium_org/chrome_elf/blacklist/
H A Dblacklist_interceptions.cc88 bool IsModuleValidImageSection(HANDLE section, argument
94 if (!section || !base || !view_size || offset)
99 NTSTATUS ret = g_nt_query_section_func(section, SectionBasicInformation,
174 HANDLE section,
184 NTSTATUS ret = orig_MapViewOfSection(section, process, base, zero_bits,
189 !IsModuleValidImageSection(section, base, offset, view_size)) {
203 // full path of the mapped section.
243 HANDLE section,
256 ret = BlNtMapViewOfSectionImpl(orig_MapViewOfSection, section, process,
268 HANDLE section, HANDL
172 BlNtMapViewOfSectionImpl( NtMapViewOfSectionFunction orig_MapViewOfSection, HANDLE section, HANDLE process, PVOID *base, ULONG_PTR zero_bits, SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, SECTION_INHERIT inherit, ULONG allocation_type, ULONG protect) argument
241 BlNtMapViewOfSection( NtMapViewOfSectionFunction orig_MapViewOfSection, HANDLE section, HANDLE process, PVOID *base, ULONG_PTR zero_bits, SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, SECTION_INHERIT inherit, ULONG allocation_type, ULONG protect) argument
267 BlNtMapViewOfSection64( HANDLE section, HANDLE process, PVOID *base, ULONG_PTR zero_bits, SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, SECTION_INHERIT inherit, ULONG allocation_type, ULONG protect) argument
[all...]
/external/chromium_org/components/autofill/core/browser/
H A Dautofill_field.h33 const std::string& section() const { return section_; } function in class:autofill::AutofillField
41 // Setters for the detected type and section for this field.
42 void set_section(const std::string& section) { section_ = section; } argument
96 // The unique identifier for the section (e.g. billing vs. shipping address)
H A Dautofill_manager.cc103 // logical form. Returns true if any field in the given |section| within |form|
107 const std::string& section) {
110 if (form_structure.field(i)->section() == section &&
506 autofill_field->section());
508 // If the relevant section is auto-filled and the renderer is querying
579 // If the relevant section is auto-filled, we should fill |field| but not the
581 if (SectionIsAutofilled(*form_structure, form, autofill_field->section())) {
616 if (form_structure->field(i)->section() != autofill_field->section())
105 SectionIsAutofilled(const FormStructure& form_structure, const FormData& form, const std::string& section) argument
[all...]
H A Dform_structure.cc152 // specified in the implementation section of http://is.gd/whatwg_autocomplete
160 // given |field_type|, as specified in the implementation section of
1006 // To prevent potential section name collisions, add a default suffix for
1008 // "section--shipping street-address" and "shipping street-address" would be
1009 // parsed identically, given the section handling code below. We do this
1011 // in the default section. These default section names will be overridden
1013 // section names.
1066 // section name suffixes.
1067 DCHECK_EQ(kDefaultSection, field->section());
1068 std::string section = field->section(); local
[all...]
/external/chromium_org/courgette/
H A Ddisassembler_win32_x64.cc171 const Section* section = &sections_[i]; local
173 // TODO(sra): consider using the 'characteristics' field of the section
174 // header to see if the section contains instructions.
175 if (memcmp(section->name, ".text", 6) == 0)
179 section->file_offset_of_raw_data + section->size_of_raw_data;
286 const Section* section = &sections_[i]; local
287 uint32 offset = rva - section->virtual_address;
288 if (offset < section->virtual_size) {
289 return section;
296 const Section* section = RVAToSection(rva); local
325 SectionName(const Section* section) argument
338 const Section* section = FindNextSection(file_offset); local
388 const Section* section = FindNextSection(file_offset); local
423 ParseRel32RelocsFromSection(const Section* section) argument
531 ParseFileRegion( const Section* section, uint32 start_file_offset, uint32 end_file_offset, AssemblyProgram* program) argument
665 const Section* section = RVAToSection(rva); local
680 const Section* section = &sections_[i]; local
695 const Section* section = &sections_[i]; local
[all...]
H A Ddisassembler_win32_x86.cc171 const Section* section = &sections_[i]; local
173 // TODO(sra): consider using the 'characteristics' field of the section
174 // header to see if the section contains instructions.
175 if (memcmp(section->name, ".text", 6) == 0)
179 section->file_offset_of_raw_data + section->size_of_raw_data;
286 const Section* section = &sections_[i]; local
287 uint32 offset = rva - section->virtual_address;
288 if (offset < section->virtual_size) {
289 return section;
296 const Section* section = RVAToSection(rva); local
325 SectionName(const Section* section) argument
338 const Section* section = FindNextSection(file_offset); local
388 const Section* section = FindNextSection(file_offset); local
423 ParseRel32RelocsFromSection(const Section* section) argument
531 ParseFileRegion( const Section* section, uint32 start_file_offset, uint32 end_file_offset, AssemblyProgram* program) argument
665 const Section* section = RVAToSection(rva); local
680 const Section* section = &sections_[i]; local
695 const Section* section = &sections_[i]; local
[all...]

Completed in 834 milliseconds

12345678