/hardware/libhardware/ |
hardware.c | 159 char prop_name[PATH_MAX] = {0}; local 175 snprintf(prop_name, sizeof(prop_name), "ro.hardware.%s", name); 176 if (property_get(prop_name, prop, NULL) > 0) {
|
/bionic/tests/ |
system_properties_test.cpp | 180 char prop_name[PROP_NAME_MAX]; local 187 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", count); 188 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); 191 prop_name[PROP_NAME_MAX - 1] = 0; 194 ret = __system_property_add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1); 205 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", i); 206 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); 209 prop_name[PROP_NAME_MAX - 1] = 0; 213 ASSERT_EQ(PROP_VALUE_MAX - 1, __system_property_get(prop_name, prop_value_ret)); 266 char prop_name[PROP_NAME_MAX] local [all...] |
/external/v8/test/cctest/heap/ |
test-mark-compact.cc | 173 Handle<String> prop_name = factory->InternalizeUtf8String("theSlot"); local 175 JSReceiver::SetProperty(obj, prop_name, twenty_three, SLOPPY).Check(); 186 Handle<String> prop_name = factory->InternalizeUtf8String("theSlot"); local 187 CHECK_EQ(*Object::GetProperty(object, prop_name).ToHandleChecked(),
|
test-heap.cc | 449 Handle<String> prop_name = factory->InternalizeUtf8String("theSlot"); local 462 JSReceiver::SetProperty(obj, prop_name, twenty_three, SLOPPY).Check(); 466 *Object::GetProperty(obj, prop_name).ToHandleChecked()); 486 JSReceiver::SetProperty(obj, prop_name, twenty_three, SLOPPY).Check(); 497 *Object::GetProperty(obj, prop_name).ToHandleChecked()); 916 Handle<String> prop_name = factory->InternalizeUtf8String("theSlot"); local 918 JSReceiver::SetProperty(obj, prop_name, twenty_three, SLOPPY).Check(); 920 *Object::GetProperty(obj, prop_name).ToHandleChecked()); 922 JSReceiver::SetProperty(function, prop_name, twenty_four, SLOPPY).Check(); 924 *Object::GetProperty(function, prop_name).ToHandleChecked()) 1007 Handle<String> prop_name = factory->InternalizeUtf8String("theSlot"); local 3348 Handle<String> prop_name = factory->InternalizeUtf8String(property_name); local [all...] |
/hardware/intel/img/psb_video/src/x11/ |
psb_xrandr.c | 103 char* prop_name; local 126 prop_name = XGetAtomName(psb_xrandr_info->dpy, props[i]); 129 if (!strcmp(prop_name, "ExtVideoMode")) { 132 } else if (!strcmp(prop_name, "ExtVideoMode_Xres")) { 135 } else if (!strcmp(prop_name, "ExtVideoMode_Yres")) { 138 } else if (!strcmp(prop_name, "ExtVideoMode_X_Offset")) { 141 } else if (!strcmp(prop_name, "ExtVideoMode_Y_Offset")) { 144 } else if (!strcmp(prop_name, "ExtVideoMode_Center")) { 147 } else if (!strcmp(prop_name, "ExtVideoMode_SubTitle")) { 150 } else if (!strcmp(prop_name, "ExtDesktopMode")) [all...] |
/system/core/init/ |
util.cpp | 535 std::string prop_name; local 545 prop_name = std::string(c, end); 547 size_t def = prop_name.find(":-"); 548 if (def < prop_name.size()) { 549 def_val = prop_name.substr(def + 2); 550 prop_name = prop_name.substr(0, def); 553 prop_name = c; 556 c += prop_name.size(); 559 if (prop_name.empty()) [all...] |
service.cpp | 85 std::string prop_name = StringPrintf("init.svc.%s", name_.c_str()); local 86 if (prop_name.length() >= PROP_NAME_MAX) { 93 property_set(prop_name.c_str(), new_state.c_str());
|
/system/bt/btif/src/ |
btif_hh.c | 915 bt_property_t prop_name; local [all...] |
btif_dm.c | 415 bt_property_t prop_name; local 419 BTIF_STORAGE_FILL_PROPERTY(&prop_name, BT_PROPERTY_BDNAME, 422 &remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) 437 bt_property_t prop_name; local 440 BTIF_STORAGE_FILL_PROPERTY(&prop_name, BT_PROPERTY_CLASS_OF_DEVICE, 442 if (btif_storage_get_remote_device_property((bt_bdaddr_t *)remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) 464 bt_property_t prop_name; local 467 BTIF_STORAGE_FILL_PROPERTY(&prop_name,BT_PROPERTY_TYPE_OF_DEVICE, 470 &prop_name) == BT_STATUS_SUCCESS) 499 bt_property_t prop_name; local 644 bt_property_t prop_name; local [all...] |
/external/v8/test/cctest/ |
test-api.cc | 3741 v8::Local<v8::String> prop_name = v8_str("prop_name"); local [all...] |